Closed timint closed 1 year ago
How do we retrieve status for a created order with this library?
Setting the return URL is not enough security and cannot assure that an order has been approved. ->setIdentificationConfirmationUrl('https://mydomain.com/successful-authentication')
Letting the end-user carry critical information is not reliable. The industry standard approach is to retrieve current status from the payment service provider. But the documentation has no mentioning how to retrieving status.
You can get the order with the WebPayAdmin-interface described in the documentation: https://github.com/sveawebpay/php-integration#73-webpayadminqueryorder-
Wow that was a quick reply. I will try this asap.
How do we retrieve status for a created order with this library?
Setting the return URL is not enough security and cannot assure that an order has been approved. ->setIdentificationConfirmationUrl('https://mydomain.com/successful-authentication')
Letting the end-user carry critical information is not reliable. The industry standard approach is to retrieve current status from the payment service provider. But the documentation has no mentioning how to retrieving status.