Solution for Sharing the Hotspot Vouchers Manually.
Hi, Good day.
I have created two SSIDs and two portals. In the first portal, I uploaded a customized HTML page where users can select their preferred plans. A screenshot is attached for reference.
Users choose a plan and click the "Buy Now" button, which redirects them to the Razorpay payment page to complete the transaction using any online payment method.
Once the payment is successful, a Razorpay webhook sends the payment details to my web app, which processes the received payload to extract the user's phone number. Using the connected app in the Omada Controller, I authenticate with an access token and retrieve a list of unused vouchers. Based on the user's payment, I fetch the appropriate voucher from Omada and send it to the user via SMS or WhatsApp API. Then the user will enter the voucher in second SSID and get access to the internet.
Everything has been set up and is ready for testing. However, during testing, users are unable to access the Razorpay payment page after clicking the respective buttons.
I have added the Razorpay URL to the pre-authentication list, allowing users to access certain resources even before being authorized to the network. Additionally, I have included the same Razorpay payment URL in the URL filtering allowlist. Despite these configurations, the Razorpay payment page remains inaccessible.
Could there be any misconfiguration? Am I missing any settings? Any suggestions would be greatly appreciated.
Thanks,
Manoj