Use a Custom Paymentform in a Paymentgateway
-
Hi everybody,
I got a Problem with a Form I’m outputting in my custom Payment Gateway.
I need a Paymentgateway where the user can enter Name, Bank, Bank-Accountnumber etc.
I’m outputting the Form via payment_fields() inside the Gateway Class. When I wanna checkout, the Form is displayed the way I want. So far so good …
Now to the Problem:
As soon as I enter something in a Formfield and click into the next Field, the Form update itself (Ajax call) and all fields are empty again.
How can I prevent the Form from Updating itself or how can I keep the data I’ve entered into the input field.
I guess I need too change something in the checkout.js ?
I hope somebody can give me a hint.
THX!
- The topic ‘Use a Custom Paymentform in a Paymentgateway’ is closed to new replies.