omnipay
omnipay copied to clipboard
Ability to cancel payments/invoces
trafficstars
Hi. Some payment gateways cannot cancel old payments / invoces themselves, but have the ability to manually cancel payments.
Need to provide methods in the omnipay interface so that the application can send requests to the gateway to cancel the payment.
It is necessary that the buyer could not pay the expired / overdue / not up-to-date invoice.
Oh, this is alredy exists and named as void.
Then need to add to the description of the method that it is suitable for payment/invoice cancellation, to improve the user-friendly of the library.
* @method \Omnipay\Common\Message\RequestInterface void(array $options = array()) (Optional method)
* Generally can only be called up to 24 hours after submitting a transaction