sveawebpay / php-integration

SDK for Sveas payment methods (standalone and Svea Checkout)
Other
15 stars 19 forks source link

Retrieving status for an order #110

Closed timint closed 1 year ago

timint commented 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. image

Marwzoor commented 1 year ago

You can get the order with the WebPayAdmin-interface described in the documentation: https://github.com/sveawebpay/php-integration#73-webpayadminqueryorder-

timint commented 1 year ago

Wow that was a quick reply. I will try this asap.