Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal Standard Help


Stealth1

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)]

Link to comment
Share on other sites

  • 4 months later...

$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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...