User changes card after error, plugin won`t create token anymore [w. solution]
-
Hey,
great work on the plugin!
One Suggestion:If a users enters a card which gets declined or anything else, and he changes the card to a correct one, the card will still be declined although it is correct. The reason is within your js, in stripewoo.js you only clear the stripe_token input if an error occurs with the card. That causes the problem with the second card (correct one), because it is correct the stripe_token field will not be deleted and because of that no new token will be generated. I suggest to move $( ‘.stripe_token, .payment-errors’ ).remove(); out of the if statement to the beginning of this function. With this the token will always be reset when the user clicks checkout, which is the correct way, new token, new card, happy customers ??
Another thing:
A filter for the stripe errors would be nice to enable multilanguage error messages. Or i haven`t seen it till now ??Another another thing:
An backend option for the statement_descriptor, not everybody might want to use Online Shopping ?? or at least a filter for that!Greets
Marcus
- The topic ‘User changes card after error, plugin won`t create token anymore [w. solution]’ is closed to new replies.