thephpleague / omnipay-common

Core components for the Omnipay PHP payment processing library
MIT License
329 stars 242 forks source link

Added "refunded" as possible payment notification state #224

Open aimeos opened 4 years ago

aimeos commented 4 years ago

If payments are refunded and credited back to the customer in the backends of the payment providers, they notify the application that the payment status changed to "refunded". Omnipay drivers should be able to map the status sent by the payment gateway to an official Omnipay status that applications can use to mark transactions as refunded regardless of the driver.