[resolved] Use a Custom Paymentform in a Paymentgateway (2 posts)

  1. Forty1981
    Posted 3 years ago #

    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.



  2. Forty1981
    Posted 3 years ago #

    The error was triggert by another plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic