Hello PayNow Team,
I’m integrating PayNow using the official PHP SDK ( paynow/php-sdk version 1.0.5) in a Laravel project
Setup:
- Callback URL:
https://xxxxxxxx/paynow/callback - Return URL:
https://xxxxxxxxx/donate/thank-you - Laravel SDK code passes the URLs from config (
config/paynow.php). - NGROK is used for local testing
Issue:
Whenever a user cancels or completes a payment, the browser is always redirected to the callback URL ( /paynow/callback ) instead of the Return URL ( /donate/thank-you ).
Notes:
- The callback is working correctly and updates the database as expected.
- The Return URL seems to be ignored by PayNow.
- SDK version 1.0.5 does not support per-payment URL overrides , so it relies on the Integration ID configuration.
- I cannot find any Integration Settings in my PayNow dashboard to update the Return URL.
Question:
How can I ensure that users are redirected to the Return URL ( /donate/thank-you ) instead of the callback URL?
Is there a way to update the Return URL for my Integration ID if the dashboard does not show Integration Settings?
Thanks in advance!