Skip to content

MercadoPago.js - Form could not be submitted #173

Closed Answered by lucmkz
SeriusDavid asked this question in Q&A
Discussion options

You must be logged in to vote

checking your code, I realized that you have more than one instance of the cardform, today it is not possible to have more than one instance of cardform on the same screen, one of the implementations is displaying for the user, and the other has display: none, follow print.

The problem is happening, because when making the payment, the validations are being sent from the first cardform, (which has display:none).

To resolve, it is necessary to remove one of the cardform from the screen.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@SeriusDavid
Comment options

Answer selected by SeriusDavid
Comment options

You must be logged in to vote
1 reply
@SeriusDavid
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants