Error! Invalid payment amount! only on some values

[ad_1]

Hi!

We use Forminator with the PayPal option and a calculation to process signup options on our website and now we’re finding that PayPal payments are being declined for odd amounts.

We pass the courseprice value via the URL to a booking page and use a Calculation like this to calculate the PayPal price:
courseprice becomes Total which is

({currency-1}*1.029)+0.3

If I pass ... &courseprice=1& ... via the URL, everything works fine (the amount charged to PayPal is £1.33. If I pass ... &courseprice=45& ... then everything works up till the payment is processed by PayPal (which shows the correct amount in the PayPal bank verification popup) and then I receive the Error! Invalid payment amount! error.

I’ve pasted the form here: https://pastebin.com/D4urVjXm

Any help appreciated!

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer