For the SDK, what is the difference between the shopperResultUrl and the NotificationUrl?

Modified on Sat, 21 Dec, 2019 at 7:15 AM

When integrating the SDK, a value for both the shopperResultUrl and the notificationUrl are required.


shopperResultUrl


The shopperresulturl is the location where the customer is redirected to after payment, this is likely a location in your app. Usually on this page you run the Get Payment Status call to decide if you use a successful payment page or unsuccesful payment page.


The shopperResultUrl is configured in your app, see: https://peachpayments.docs.oppwa.com/tutorials/mobile-sdk/first-integration


 


notificationUrl


The notificationUrl is an endpoint on your server that listens for payment status changes. This mechanism works as a fail safe, so that, if the customer is not redirected back to your app, you still receive the actual payment response on your server.


This notification has the same layout as the payload that you'll receive with the normal GET request.


The notificationUrl is configured in the parameters when you setup the checkoutId in step 1. See also: https://peachpayments.docs.oppwa.com/tutorials/mobile-sdk/integration/server 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article