• I am trying to implement saving credit cards in account via AJAX requests. The issue is that after saving a card (without page reloading) the credit card form becomes broken, it ignores any validation and always just send the previous card details to a server. Is it possible to reset a credit card form without page reloading? I have tried a lot of things with Stripe JS API, clearing form fields, destroying form etc., even tried to reload form iframe completely, it just keeps to hold previous card details somewhere on a background ignoring new input values.

    • This topic was modified 1 year, 1 month ago by kovalchik8.
Viewing 1 replies (of 1 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @kovalchik8

    Apologies for the late reply, just now seeing this request. Is this a custom page in which you’re using AJAX requests to save a customer’s payment method or a page controlled by WooCommerce?

    If you can provide more details about your integration that would be helpful in breaking down your request.

    Kind Regards

Viewing 1 replies (of 1 total)
  • The topic ‘Add credit card payment method in account page via Ajax’ is closed to new replies.