October 4, 201510 yr Hi everyone, I installed Jogoshop for a friend' website and struggling to run it. http://www.bumps2babesfitness.com/shop/ After add to cart/proceed to checkout/ Place order/ WARNING: Warning: number_format() expects parameter 2 to be long. String given in /home/bumps2babes/public_html/wp-content/plugins/jigoshop/gateways/paypal.php on line 181 Warning: number_format() expects parameter 2 to be long. String given in /home/bumps2babes/public_html/wp-content/plugins/jigoshop/gateways/paypal.php on line 257 and Redirects to page Error detected: Your shopping cart is empty. I checked the php file and here is line 181: 'amount' => number_format((float)$order->order_total, $this->decimals), line 257 is :$paypal_args['amount_'.$item_loop] = number_format(apply_filters('jigoshop_paypal_adjust_item_price', $item['cost'], $item, 10, 2), $this->decimals); //Apparently, Paypal did not like "28.4525" as the amount. Changing that to "28.45" fixed the issue. } I have no php knowledge but I think in Jigoshop setting Price format is £0.00 but in product page is £0 I can't change it to 0.00 format, Still not sure if this is an issue just a guess by me. Any help really appreciated as nobody replied to my message on Jigoshop forum. Many thanks Aida
October 4, 201510 yr Author I found my mistake I havent define the number of decimal points in displayed prices in the Jigoshop setting Happy days
Create an account or sign in to comment