Jump to content
Sign in to follow this  
Stealth1

PayPal Standard Help

Recommended Posts

I just received this as a return to an order via IPN and was wondering if anyone has a fix for it. It's obvious the problem is that either the amount is being sent without the comma or it's being returned by PayPal without the comma but I can't figure out which it is.

 

PayPal IPN Verified [Completed (Unverified; $1,815.26); PayPal transaction value (1815.26) does not match order value (1,815.26)]

Share this post


Link to post
Share on other sites

$1,815.26 and 1815.26 are different so its failing.

analyse this code in Your IPN file:

 

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'])) . ')';

}<br style=""> <br style=""> Satish


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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×