{"id":10042,"date":"2024-01-24T12:37:29","date_gmt":"2024-01-24T12:37:29","guid":{"rendered":"https:\/\/jaldi.store\/?p=10042"},"modified":"2026-08-05T09:17:39","modified_gmt":"2026-08-05T09:17:39","slug":"how-to-setup-otp-length-otp-validity-for-points-redemption-in-adempiere-retail","status":"publish","type":"post","link":"https:\/\/tenthplanet.in\/idempiere\/how-to-setup-otp-length-otp-validity-for-points-redemption-in-adempiere-retail\/","title":{"rendered":"How to setup OTP Length, OTP Validity For Points Redemption in ADempiere Retail"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Setting up a system where an <strong>OTP (One-Time Password)<\/strong> is sent to the customer\u2019s <strong>registered mobile number<\/strong> when they try to <strong>redeem loyalty or reward points<\/strong>, to verify their identity and prevent misuse.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>User Access<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Who Can Access<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Cashier<\/li>\n\n\n\n<li>Admin<\/li>\n\n\n\n<li>Manager<\/li>\n\n\n\n<li>Back office<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>What User Can Do<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enable OTP verification for <strong>points redemption<\/strong><\/li>\n\n\n\n<li>Configure the OTP length and minutes in the branch screen<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Pre-Requisite Activities<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Customer\u2019s <strong>mobile number must be registered and valid<\/strong><\/li>\n\n\n\n<li><strong>SMS gateway\/API<\/strong> must be integrated and active<\/li>\n\n\n\n<li>Loyalty points program should be active for the customer<\/li>\n\n\n\n<li>System role must have <strong>permission to redeem points with OTP<\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Business Rules<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>OTP must be <strong>sent only to the registered mobile number<\/strong><\/li>\n\n\n\n<li>OTP should be <strong>time-limited<\/strong><\/li>\n\n\n\n<li>Redemption proceeds <strong>only if OTP is correct and verified<\/strong><\/li>\n\n\n\n<li>All OTP events (sent, verified, failed) should be <strong>logged for audit<\/strong><\/li>\n\n\n\n<li>If no mobile number exists, <strong>redemption is not allowed<\/strong><\/li>\n\n\n\n<li>OTP must be <strong>random and secure<\/strong> <\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>User Interface<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 1 :<\/strong> Select <strong>\u2018branch&#8217; <\/strong>in menu -&gt; Branch Configuration-&gt; Branch. or Search <strong>branch<\/strong> on Lookup search box.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-Masters-OTPValidityForPointsRedemption-1024x640.png\" alt=\"TenthPlanet-ADempiere-Masters-OTPValidityForPointsRedemption\" class=\"wp-image-22756\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-Masters-OTPValidityForPointsRedemption-1024x640.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-Masters-OTPValidityForPointsRedemption-300x188.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-Masters-OTPValidityForPointsRedemption-768x480.png 768w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-Masters-OTPValidityForPointsRedemption-400x250.png 400w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-Masters-OTPValidityForPointsRedemption.png 1296w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 2: <\/strong>In organization Info:- Sms tab enter the otp length.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"625\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-Masters-OTPValidityForPointsRedemption-1.png\" alt=\"TenthPlanet-ADempiere-Masters-OTPValidityForPointsRedemption-1\" class=\"wp-image-22785\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-Masters-OTPValidityForPointsRedemption-1.png 1020w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-Masters-OTPValidityForPointsRedemption-1-300x184.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-Masters-OTPValidityForPointsRedemption-1-768x471.png 768w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 3: <\/strong>Enter the otp validity minutes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1021\" height=\"615\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-Masters-OTPValidityForPointsRedemption-2.png\" alt=\"TenthPlanet-ADempiere-Masters-OTPValidityForPointsRedemption-2\" class=\"wp-image-22791\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-Masters-OTPValidityForPointsRedemption-2.png 1021w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-Masters-OTPValidityForPointsRedemption-2-300x181.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-Masters-OTPValidityForPointsRedemption-2-768x463.png 768w\" sizes=\"auto, (max-width: 1021px) 100vw, 1021px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Setting up a system where an OTP (One-Time Password) is sent to the customer\u2019s registered mobile number when they try [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,84,31],"tags":[],"class_list":["post-10042","post","type-post","status-publish","format-standard","hentry","category-jaldi-super-store","category-adempiere-master","category-jaldi-life-style"],"_links":{"self":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/10042","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/comments?post=10042"}],"version-history":[{"count":7,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/10042\/revisions"}],"predecessor-version":[{"id":22810,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/10042\/revisions\/22810"}],"wp:attachment":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/media?parent=10042"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/categories?post=10042"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/tags?post=10042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}