MONEI / MONEI-AdobeCommerce-Magento2

MONEI Payments Adobe Commerce (Magento 2) Official Module
https://monei.com
Other
1 stars 4 forks source link

Check status, not statusCode #52

Closed jimmyn closed 5 months ago

jimmyn commented 5 months ago

When a payment is verified or confirmed, we need to check the status, not the statusCode:

SUCCEEDED: The payment is successful, and the order can be marked as paid. AUTHORIZED: Authorization is successful. To charge the customer's funds, they should be captured manually. PENDING or PENDING_PROCESSING: The payment is pending. For some payment methods like Multibanco or MBWay, this is the default status because the payment process can take hours or even days (as in the case of Multibanco). The SUCCEEDED status will only be reported via callbackUrl.