These are chat archives for Payum/Payum
PHP 5.5+ Payment processing library. It offers everything you need to work with payments. From simplest use cases to very advanced ones.
hi @makasim I just created a new gateway for Postfinance, a local PSP/bank here in switzerland. Now I wanted you to ask how you would implement the forwarding of error messages from the api to my symfony app. For example, if something is wrong with the expiration date of the credit-card I just get an error code in the response and want to add an error to the expiration date of the form.
I had two solutions in mind:
What is the way to go? I checked some other gateways but I didn't find something comparable.
The api should not do anything like that, it just send some raw data to the payment gateway and returns the response.
The response is stored in the payment details, It is your state of the payment.
Here you have options what to do next: