<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SmartDukaan &#x2013; //trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/service/OTPResponse.java</title><description>WebSVN RSS feed &#x2013; SmartDukaan</description><lastBuildDate>Wed, 07 Oct 2026 22:56:19 +0530</lastBuildDate><generator>WebSVN 2.8.6-DEV</generator><language>en</language><link>https://svn.smartdukaan.com/log.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fdao%2Fservice%2FOTPResponse.java&amp;max=40&amp;</link><atom:link href="https://svn.smartdukaan.com/rss.php?path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fdao%2Fservice%2FOTPResponse.java&amp;repname=SmartDukaan" rel="self" type="application/rss+xml" />
<item><pubDate>Fri, 31 Jul 2026 17:39:11 +0530</pubDate><dc:creator>aman</dc:creator><title>Rev 37194 – LOI OTP: report real send outcome instead of always &apos;OTP ...</title><description>&lt;div&gt;&lt;strong&gt;aman – 6 file(s) modified&lt;/strong&gt;&lt;br/&gt;LOI OTP: report real send outcome instead of always &apos;OTP Sent Successfully!&apos;&lt;br /&gt;
&lt;br /&gt;
The Send OTP button showed success for any HTTP 200, including the daily-cap&lt;br /&gt;
failure where the controller returned &apos;Something went wrong..&apos;. Ops could not&lt;br /&gt;
tell a working send from a broken one, so genuine failures were invisible.&lt;br /&gt;
&lt;br /&gt;
- OTPResponse: add &apos;sent&apos; flag. result=true did not mean anything was&lt;br /&gt;
  dispatched - the 2-minute resend throttle returns the previous OTP without&lt;br /&gt;
  contacting the gateway.&lt;br /&gt;
- OtpProcessor: set sent=true only on branches that actually dispatch.&lt;br /&gt;
- LoiFormController.sentLoiAcceptanceOtp: return {status, sent, message} with&lt;br /&gt;
  the processor&apos;s real reason, wrap generateOtp in try/catch so a dispatch&lt;br /&gt;
  exception is logged and reported instead of surfacing as a generic 500, and&lt;br /&gt;
  log loiId/result/sent/reason.&lt;br /&gt;
- loi-form.js: check the payload; distinct green/amber/red states, re-enable&lt;br /&gt;
  the button on failure instead of leaving it stuck on &apos;Sending...&apos;.&lt;br /&gt;
- common.js: optional error callback on doAjaxRequestHandler /&lt;br /&gt;
  doPostAjaxRequestHandler (additive; existing callers unchanged).&lt;br /&gt;
- AppConfig: static resource version 389 -&gt; 390 for the JS change.&lt;/div&gt;~ /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/service/OtpProcessor.java&lt;br /&gt;~ /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/service/OTPResponse.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/AppConfig.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/LoiFormController.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/resources/js/common.js&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/resources/js/loi-form.js&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fdao%2Fservice%2FOTPResponse.java&amp;rev=37194</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fdao%2Fservice%2FOTPResponse.java&amp;rev=37194</guid></item>
<item><pubDate>Sat, 29 Jun 2024 21:18:12 +0530</pubDate><dc:creator>tejus.lohani</dc:creator><title>Rev 33510 – these two file moved to dao(OTPResponse and OTPProcessor).</title><description>&lt;div&gt;&lt;strong&gt;tejus.lohani – 4 file(s) modified&lt;/strong&gt;&lt;br/&gt;these two file moved to dao(OTPResponse and OTPProcessor).&lt;/div&gt;+ /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/service/OtpProcessor.java &lt;i&gt;(copied from /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/processor/OtpProcessor.java@33509)&lt;/i&gt;&lt;br /&gt;+ /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/service/OTPResponse.java &lt;i&gt;(copied from /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/res/OTPResponse.java@33509)&lt;/i&gt;&lt;br /&gt;x /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/processor/OtpProcessor.java&lt;br /&gt;x /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/res/OTPResponse.java&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fdao%2Fservice%2FOTPResponse.java&amp;rev=33510</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fdao%2Fservice%2FOTPResponse.java&amp;rev=33510</guid></item>
<item><pubDate>Thu, 15 Jun 2017 18:39:29 +0530</pubDate><dc:creator>ashik.ali</dc:creator><title>Rev 21734 – </title><description>&lt;div&gt;&lt;strong&gt;ashik.ali – 2 file(s) modified&lt;/strong&gt;&lt;br/&gt;&lt;/div&gt;x /trunk/profitmandi-api&lt;br /&gt;+ /trunk/profitmandi-web &lt;i&gt;(copied from /trunk/profitmandi-api@21733)&lt;/i&gt;&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fdao%2Fservice%2FOTPResponse.java&amp;rev=21734</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fdao%2Fservice%2FOTPResponse.java&amp;rev=21734</guid></item>
<item><pubDate>Thu, 15 Jun 2017 16:32:49 +0530</pubDate><dc:creator>ashik.ali</dc:creator><title>Rev 21730 – </title><description>&lt;div&gt;&lt;strong&gt;ashik.ali – 2 file(s) modified&lt;/strong&gt;&lt;br/&gt;&lt;/div&gt;+ /trunk/profitmandi-api &lt;i&gt;(copied from /trunk/profitmandi-web@21729)&lt;/i&gt;&lt;br /&gt;x /trunk/profitmandi-web&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fdao%2Fservice%2FOTPResponse.java&amp;rev=21730</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fdao%2Fservice%2FOTPResponse.java&amp;rev=21730</guid></item>
<item><pubDate>Fri, 28 Apr 2017 18:45:33 +0530</pubDate><dc:creator>kshitij.sood</dc:creator><title>Rev 21300 – </title><description>&lt;div&gt;&lt;strong&gt;kshitij.sood – 1 file(s) modified&lt;/strong&gt;&lt;br/&gt;&lt;/div&gt;~ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/res/OTPResponse.java&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fdao%2Fservice%2FOTPResponse.java&amp;rev=21300</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fdao%2Fservice%2FOTPResponse.java&amp;rev=21300</guid></item>
<item><pubDate>Wed, 26 Apr 2017 20:44:17 +0530</pubDate><dc:creator>kshitij.sood</dc:creator><title>Rev 21285 – </title><description>&lt;div&gt;&lt;strong&gt;kshitij.sood – 19 file(s) modified&lt;/strong&gt;&lt;br/&gt;&lt;/div&gt;~ /trunk/profitmandi-web/pom.xml&lt;br /&gt;~ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/common/model/ProfitMandiConstants.java&lt;br /&gt;~ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/common/util/StringUtils.java&lt;br /&gt;+ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/dao/convertor&lt;br /&gt;+ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/dao/convertor/LocalDateAttributeConverter.java&lt;br /&gt;+ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/dao/convertor/LocalDateTimeAttributeConverter.java&lt;br /&gt;+ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/dao/entity/Otp.java&lt;br /&gt;+ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/dao/enumuration/OtpType.java&lt;br /&gt;+ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/dao/repository/OtpRepository.java&lt;br /&gt;+ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/dao/repository/OtpRepositoryImpl.java&lt;br /&gt;~ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/dao/repository/UserRepositoryImpl.java&lt;br /&gt;~ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/config/WebMVCConfig.java&lt;br /&gt;+ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/OTPController.java&lt;br /&gt;+ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/interceptor/SimpleCORSInterceptor.java&lt;br /&gt;+ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/processor/OtpProcessor.java&lt;br /&gt;+ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/res&lt;br /&gt;+ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/res/OTPResponse.java&lt;br /&gt;+ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/services&lt;br /&gt;+ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/services/SolrService.java&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fdao%2Fservice%2FOTPResponse.java&amp;rev=21285</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fdao%2Fservice%2FOTPResponse.java&amp;rev=21285</guid></item>
</channel></rss>