PayPal Pro Error 10413

  • Posts: 3
  • Thank you received: 0
12 years 5 months ago #32453

Hi There,
Thanks in advance for your helped. I've browsed the forums but couldn't find an answer. There was one post, and the dialogue was in French. I used Google Translate to follow the directions and it still didn't help. I'm installing the free version to test it, then plan to upgrade. So far everything is good except for one major issue:

Something is wrong with paypal pro. Please see attached screenshot.

I've setup all my zones correctly, my taxes are all 0 or 0%, and when I use paypal standard the amounts are correct (both product amount + shipping = correct total); when I use paypal standard pro, i get the follow errors. I turned on debug mode to show you what is happening. I hope you can help, because I really like your product and plan to upgrade.

I am located in the United States, so I'm not sure what's happening. :)

Thanks again!

Array
(
[TIMESTAMP] => 2011%2d12%2d12T05%3a06%3a53Z
[CORRELATIONID] => b748f15fb89fa
[ACK] => FailureWithWarning
[VERSION] => 51%2e0
[BUILD] => 2278658
[L_ERRORCODE0] => 10413
[L_ERRORCODE1] => 15008
[L_SHORTMESSAGE0] => Transaction%20refused%20because%20of%20an%20invalid%20argument%2e%20See%20additional%20error%20messages%20for%20details%2e
[L_SHORTMESSAGE1] => Invalid%20Data
[L_LONGMESSAGE0] => The%20totals%20of%20the%20cart%20item%20amounts%20do%20not%20match%20order%20amounts%2e
[L_LONGMESSAGE1] => This%20transaction%20has%20been%20completed%2c%20but%20the%20total%20of%20items%20in%20the%20cart%20did%20not%20match%20the%20total%20of%20all%20items%2e
[L_SEVERITYCODE0] => Error
[L_SEVERITYCODE1] => Warning
[AMT] => 5%2e00
[CURRENCYCODE] => USD
)
Error 10413: The totals of the cart item amounts do not match order amounts.
(If debug mode isn't on, only this line shows)




Thanks!

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 0
12 years 5 months ago #32454

BTW - paypal pro did work when I removed shipping options in a test run.
But I have successfully tested paypal standard with shipping on and it worked.

Please Log in or Create an account to join the conversation.

  • Posts: 81677
  • Thank you received: 13100
  • MODERATOR
12 years 5 months ago #32471

Please try to add the line:
$vars=$vars-(@$vars+@$vars);

before the code:
if( $method->payment_params->ask_ccv ) {
$vars = $this->cc_CCV;
}

in the file plugins/hikashoppayment/paypalpro.php and try again.
That should help avoid the problem.

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 0
12 years 5 months ago #32480

Fantastic, Nicholas - thank you.

I'll be sure to plug in this code when I upgrade today. It might be helpful to others to include that line of code in your next release.

With a successful order, I encountered another tiny issue: I was lead to the "thank you page" that I created; however, in between this process I encountered the following:

CART process: Order goes through successfully >> goes to a temporary thank you page with an error (see below) >> then it gets redirected to the page I created.

How can I skip this middle step or at least remove the error:

Thanks again!!

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 81677
  • Thank you received: 13100
  • MODERATOR
12 years 5 months ago #32515

Yes, it will be in next release.

For that error message, it comes from Joomla so hard to say how that could be fixed.
One thing though. That error message is just a notice which shouldn't be displayed on a production server as the error reporting should be turned off (in the configuration of joomla 1.7, or in your php.ini for joomla 1.5).

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
12 years 4 months ago #34576

Hello,

I had a similar issue, and fixed it with the above code. However, this shows up when I make a purchase now. How can I get it to just say, "Thank you for your purchase." instead of this weird code?

Array
(
[TIMESTAMP] => 2012%2d01%2d05T21%3a50%3a26Z
[CORRELATIONID] => d4749ffde24bf
[ACK] => Success
[VERSION] => 51%2e0
[BUILD] => 2278658
[AMT] => 9%2e82
[CURRENCYCODE] => USD
[AVSCODE] => Y
[CVV2MATCH] => M
[TRANSACTIONID] => 8TC80580YW011505B
)

Any help would be appreciated. Thank you!

Please Log in or Create an account to join the conversation.

  • Posts: 81677
  • Thank you received: 13100
  • MODERATOR
12 years 4 months ago #34604

Hi,

You should turn off the debug mode option of your payment plugin and you won't see the debug information anymore.

Please Log in or Create an account to join the conversation.

  • Posts: 81677
  • Thank you received: 13100
  • MODERATOR
12 years 4 months ago #34605

Hi,

You should turn off the debug mode option of your payment plugin and you won't see the debug information anymore.

Please Log in or Create an account to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum