Paypal Error: OrderTotal (Amt): Required parameter missing OR "Bad Math" error
Issue:
Sometimes, Paypal Error: OrderTotal (Amt): Required parameter missing or "Bad Math" error appear on the checkout screen, whenever the user's FormBuilder has multiple checkboxes with identical words.
Example screenshots:
FIX: BROKEN_ATTACHMENT (original: https://help.powr.io/hc/article_attachments/4403592745239/mceclip0.png)
FIX: BROKEN_ATTACHMENT (original: https://help.powr.io/hc/article_attachments/4403600391575/mceclip1.png)
Solution:
The workaround is to change the multiple-checkbox options so that no option is identical to a portion of another option.
Also, it is recommended NOT to use the ampersand (&) sign since it also causes the issue at checkout.
& sing should be replaced with "and" word.
Please see an example screenshot of the previous case: (multiple checkboxes after correction)
FIX: BROKEN_ATTACHMENT (original: https://help.powr.io/hc/article_attachments/4403592943639/mceclip2.png)
In addition, it is possible "to use a separate multiple checkboxes element for the separate options."
In other words, if multiple checkbox options contain a text of a later one, the user will need to move them to a separate element, so it should resolve the issue as well.
Kindly refer to this ticket and slack thread:
https://powr-support.zendesk.com/agent/tickets/225682
*Please link new tickets to this Clubhouse card: https://app.clubhouse.io/powr/story/9258/paypal-error-ordertotal-amt-required-parameter-missing