CreateRecurringPaymentsProfile 500 internal server error

Gopal1311
Contributor
Contributor

Hello, i am trying to use CreateRecurringPaymentsProfile for subscribe purpose but i am trying to test in sandbox api but i am facing 500 internal server error i am adding following information api:- https://api-3t.sandbox.paypal.com/nvp Method :- post Body :- USER:xxxxxxxxxxxxxxxxxx PWD:xxxxxxxxxxxxx SIGNATURE:xxxxxxxxxx METHOD:CreateRecurringPaymentsProfile PROFILESTARTDATE:2018-23-1T00:00:00Z DESC:RacquetClubMembership BILLINGPERIOD:Month BILLINGFREQUENCY:1 AMT:10 MAXFAILEDPAYMENTS:3 ACCT:xxxxxxxxxx CREDITCARDTYPE:VISA CVV2:123 FIRSTNAME:xxxx LASTNAME:xxxx STREET:FirstStreet CITY:SanJose STATE:CA ZIP:95131 COUNTRYCODE:US CURRENCYCODE:USD EXPDATE:022023

Login to Me Too
3 REPLIES 3

MTS_Jennifer
Moderator
Moderator

There are many reasons why an API call to the Sandbox endpoints will receive a 500 Internal Server Error. One of which is if you are attempting Direct Payment Recurring Payment on a Sandbox account that is not setup for Pro or Recurring Payments.

From the   Sandbox Account Creation Page  on the PayPal Developer site:

 

  1.  Log into the Dashboard on https://developer.paypal.com
  2. On the Profile tab of the Business account, click the Account type: Upgrade to Pro link.
  3. Click the Enable which appears in the window.

Try your API call again after you have ensured that the Sandbox Account is upgraded to Pro. If you receive DPRP disabled, this means that your Sandbox Account is not setup for Recurring Payments.

Since all Sandbox Endpoints were updated to only support TLS 1.2 connections when communicating in https, you will also need to ensure that you are communicating with the highest level of TLS available.

In case you need it here is the information on the TLS 1.2 upgrade.

 

Thanks,

Jennifer

 

Login to Me Too

Gopal1311
Contributor
Contributor

I have upgraded to pro and enabled but still i am facing this error

 

 

TIMESTAMP=2018%2d02%2d09T05%3a27%3a34Z&CORRELATIONID=30205d34dbcf5&ACK=Failure&L_ERRORCODE0=10001&L_SHORTMESSAGE0=Internal%20Error&L_LONGMESSAGE0=Timeout%20processing%20request

Login to Me Too

anilthakur2988
Contributor
Contributor

I'm facing same problem

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.