Paypal amount validation issue
-
Hi Team,
Thanks for the awsome plugin. I found one issue on paypal amount form validation.
Scenario:
Form consist of Amount Feild and PayPal Field.
Amount field have min max value for restriction. When submitting paypal payment button from front end , even i entered a valid amount in amount box, during submission it says “PayPal amount must be greater than 0“. but on a second click it goes fine.
Reference Video:
https://www.transfernow.net/dl/20250623Ux1oTRnBSuggestive solution:
I found the on forminator.1.44.2\forminator\build\front\front.multi.min.js
function: render_paypal_button
event: onClick
r.amount does not have value during the first click , so it shows the validation message even amount box have valid value.
So i have slightly tweak , changed r.amount<=0 from o.find(‘input[name=”number-1″]’).val() <= 0
After this change it is started working , as per expected.
Kindly check the issue and let me know the update.Regards,
Vinoth S
The topic ‘Paypal amount validation issue’ is closed to new replies.