Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you troubleshoot an "Internal Error" error from Paypal Website Payments Pro?

I have a billing routine that uses recurring billing profiles in Paypal's Website Payments Pro. This routine successfully creates profiles and gets the profile information after creation using the paypal profileid and the GetRecurringPaymentsProfileDetails method.

However, when I try to use UpdateRecurringPaymentsProfile method to update just the AMOUNT/AMT on the profile I get this error:

[ERRORCODE] => 10001
[SHORTMESSAGE] => Internal Error
[LONGMESSAGE] => Internal Error
[SEVERITYCODE] => Error

Here are the fields I'm passing:

[NOTE] => A note here
[PROFILEID] => redacted
[AMT] => 7
[VERSION] => 62.0
[USER] => redacted
[PWD] => redacted
[SIGNATURE] => redacted
[METHOD] => UpdateRecurringPaymentsProfile

Troubleshooting steps:

  • I have a single central calling routine that passes the requests to Paypal, that works for the create and get methods.
  • The same API information is used for all requests.
  • I've copied and did a find to confirm the PROFILE ID was right in the sandbox
  • I can use the same profile ID on the get methods without error
  • I confirmed that you can update just the amount on a recurring payments profile using the update method.

I'm stuck with an error that isn't very descriptive. The Paypal documentation does not include any troubleshooting tips for this kind of generic error.

  • I have seen online mention of a terminal in Paypal for troubleshooting this, but I'm not sure if they just mean the create profile screen in the sandbox, or if there is something else.

  • Do you have any tips for troubleshooting this error?

like image 827
Justin Avatar asked Jun 26 '10 18:06

Justin


1 Answers

As it turns out, the issue is that a call to UpdateRecurringPaymentsProfile will fail if you try to update the profile to the same amount to which it is currently set.

like image 171
Justin Avatar answered Sep 28 '22 18:09

Justin