I have included below is a list of SuccessURL responses for different payment options.
The chosen payment option can be detected with some heuristics / guessing (for example, a bank card payment’s SuccessURL response could contain "ProviderName": "westpac", and a PayPal payment’s SuccessURL response does not contain a JSON at all), but it could be erroneous or unstable.
So what is the recommended way to detect the chosen payment option from a SuccessURL response?
Why do not just include the chosen payment option to a SuccessURL response?
- A
SuccessURLresponse to a bank card payment without a 3D Secure verification - A
SuccessURLresponse to a bank card payment with a 3D Secure verification - A
SuccessURLresponse to a bank card payment without a 3D Secure verification with the ACHSecure Tokenization service («Tokenization Option») enabled - A
SuccessURLresponse to a POLi Payments payment - A
SuccessURLresponse to a PayPal payment