Closed remcotolsma closed 3 years ago
Should we throw an Exception when Status.Code.Code = 490?
Yes, improved error handling in https://github.com/wp-pay-gateways/buckaroo/commit/c655ac552bfe1e52a70907b09c96a590a5b548c3
@rvdsteege asked on Slack, what will happen if RequiredAction
is null?
If RequiredAction
is null
, the payment action URL will not be set (as there is none) and this will result in an exception being throwed:
Action URL is empty, can not redirect.
Per Buckaroo website there is a setting to allow test transactions:
When this setting is unchecked a test transaction in test mode from the Pronamic Pay gateway confiugration post settings will trigger the following exception:
Unsupported Buckaroo action:
:https://github.com/wp-pay-gateways/buckaroo/blob/a438b2c863cfb51d2272eac9ecd3371976bd370c/src/Gateway.php#L405-L415
We can improve this exception:
https://dev.buckaroo.nl/PaymentMethods
Should we throw an
Exception
whenStatus.Code.Code
=
490
?Reported by @kjtolsma.