Justin
Justin

Reputation: 2924

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

Upvotes: 8

Views: 8124

Answers (3)

Brian Webster
Brian Webster

Reputation: 30855

This error can also be caused during hits against the sandbox server if you use the wrong test credit card number. Make sure you're using the one provided to you by the Paypal Sandbox Website.

Upvotes: 2

paprika
paprika

Reputation: 667

I ran into this too - thanks for the help. It's worth adding that the AMT field only needs to be different if it's included, it's optional on the update call.

Upvotes: 3

Justin
Justin

Reputation: 2924

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.

Upvotes: 3

Related Questions