AndreD Posted February 12, 2008 Posted February 12, 2008 Could somebody please fix the formatting difference ? Quote
satish Posted February 18, 2008 Posted February 18, 2008 1379.00 1,379.00 1.379,00kr do look same to us but for a software they are different. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
AndreD Posted March 16, 2008 Author Posted March 16, 2008 1379.00 1,379.00 1.379,00kr do look same to us but for a software they are different.Satish sure, that's why the PayPal contribution should format the numbers before comparing them. :) Quote
satish Posted March 16, 2008 Posted March 16, 2008 if ($HTTP_POST_VARS['mc_gross'] != number_format($total['value'] * $order['currency_value'], $currencies->get_decimal_places($order['currency']))) { $comment_status .= '; PayPal transaction value (' . tep_output_string_protected($HTTP_POST_VARS['mc_gross']) . ') does not match order value (' . number_format($total['value'] * $order['currency_value'], $currencies->get_decimal_places($order['currency'])) . ')'; } chek whats getting posted as mc_groos i.e $HTTP_POST_VARS['mc_gross']. do this. In Your currency setting for decimal use a . and not a , then let Me know. else block the lines of standard_ipn.php that I pasted so this condition is not cheked. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
AndreD Posted March 31, 2008 Author Posted March 31, 2008 chek whats getting posted as mc_groos i.e $HTTP_POST_VARS['mc_gross']. I do not know how to do that In Your currency setting for decimal use a . and not a , Corry, cannot do, that would mess up my acounting pretty bad, using "," is standard in norwegian regional settings, and "." is something used between 1000's , like 10.000,- Thank you for trying to help. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.