Add credit card payment method in account page via Ajax
-
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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add credit card payment method in account page via Ajax’ is closed to new replies.