Home » PayPal, Programming, Random

Error Code: 81115 on PayPal Express Checkout code

27 January 2010 One Comment

I just tried to use the Express Checkout Wizard from Paypal, but, after 1 hour, I didn’t had any success. All the time I get the same error:

GetExpressCheckoutDetails API call failed.
Detailed Error Message: PaymentAction : Required parameter missing
Short Error Message: Missing Parameter
Error Code: 81115
Error Severity Code: Error

Looking where the Payment action is “hidding” I found the following mistake on paypalfunctions.php code


$token = urlencode($_SESSION['token']);
$paymentType = urlencode($_SESSION['paymentType']);

should be:


$token = urlencode($_SESSION['TOKEN']);
$paymentType = urlencode($_SESSION['PaymentType']);

And this solved my problem.

I hope this will help you.

Regards


One Comment »

  • Travis said:

    Holy cow man I fought this for a while. Never thought to look in PayPal’s generated code. Somebody should be shot for this…

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.