You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the cleave with the credit card input. But, I have faced some issues and can't fix them.
Firstly,
I want to clear all spaces on input and send with the raw version. I can't any solution for that. Here is the below, I shared my post request parameters;
card_number: 5362 7112 3131 2312 -> It should be 5362711231312312
Secondly,
I found an option in the documentation which name is swapHiddenInput. It actually created two post parameters in the post request. One of them is with the spaces and the other is sent in raw format. Actually, this is nice but I don't want to send two same parameters. How can I prevent this behavior?
card_number: 5362 7112 3131 2312
card_number: 5362711231312312
Did anyone face an issue like that?
Thanks,
The text was updated successfully, but these errors were encountered:
Hi,
I use the cleave with the credit card input. But, I have faced some issues and can't fix them.
Firstly,
I want to clear all spaces on input and send with the raw version. I can't any solution for that. Here is the below, I shared my post request parameters;
card_number: 5362 7112 3131 2312 -> It should be 5362711231312312
Secondly,
I found an option in the documentation which name is swapHiddenInput. It actually created two post parameters in the post request. One of them is with the spaces and the other is sent in raw format. Actually, this is nice but I don't want to send two same parameters. How can I prevent this behavior?
card_number: 5362 7112 3131 2312
card_number: 5362711231312312
Did anyone face an issue like that?
Thanks,
The text was updated successfully, but these errors were encountered: