Hello,
I just installed and was testing the Frappe Payments app, and Integrated GoCardless.
Everything so far works correctly except for one thing:
When the customer clicks the Pay button the first time, the redirection to gocardless goes smoothly and the correct value shows up for payment.
The Sales Order
So far so good, but…
If the client for some reason leaves the page GoCardless Payment page, and presses the Pay button again, a new Payment Request is created and sent to gocardless but with Value 0.00. Basicly it lost the value of the Sales Order when the client clicks the pay button a second time and the sales order gets in the " To Pay " state.
There is then 2 different payment requests, one with the real value, and one with no value.
Basicly, probably what should happen is not creating a new payment request, but using the existing one, or, maybe create a new one but fetch the value correctly.
This is probably a bug.
Another question I would like to ask is, it seems like the default is to pay via mandate / subscription. How can we change to one time payment?
Edit:
I seems like GoCardless also never knows the customer address and IBAN and asks it everytime the customer tries to make a payment.