The POLi Payments documentation says:
The AlphaHub sends the merchant an OnlinePayment API response, containing the URL that the customer should be redirected to in order to proceed with the POLi transaction.
A SuccessURL
response to a POLi Payments payment really contains a MethodResult
.RedirectUrl
like https://txn.apac.paywithpoli.com/?Token=<token>
:
"MethodResult": {
"RedirectUrl": "https://txn.apac.paywithpoli.com/?Token=4U4JRYc4y0VsUkOcF9knhUOTa4BDqMws"
}
But is a buyer really should be redirected to this URL in the AlphaHPP case?
It looks like AlphaHPP implements the full POLi Payments payment scenario itself, and it redirects the buyer to the https://txn.apac.paywithpoli.com/?Token=<token>
URL itself before SuccessURL
callback itself, is not it?