wrong decimals number for paypal
-
Hello,
I suspect that yith subscriptions causes an error on the paypal page when checking out.
WC logs shows the following request parameters sent to paypal (reformatted and only the extra parameters when it is a subscription):sra= 0& a3= 15.9664& p3= 1& t3= M& src= 1& a1= 19& p1= 1& t1= M&
the a3= has four decimal numbers which causes the error page on paypal. it is the price minus the tax of 19%. 19.00EUR = 15.9664EUR * 1.19
subscriptions without tax work just fine.
if it is not yith subscriptions, what else could it be ?
edit: shouldn’t the a3= be with taxes included anyways?
line 104 in the gateway .php file of yith-subscriptions$args['a3'] = $order_item['line_total'];
this never applies rounding or adds taxes
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wrong decimals number for paypal’ is closed to new replies.