Paypal Payments - 500 Error

I am trying to make an automatic payment in my system and make it work fine in sandbox mode. As soon as I switch to live mode, I get a 500 error. I'm not sure, maybe the URL that I copied may be from an outdated site or something else.

Here are my options:

enter image description here

The return mail error is as follows:

{"ClassName":"PayPal.Exception.HttpException","Message":"The remote server returned an error: (500) Internal Server Error.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at PayPal.HttpConnection.Execute(String payLoad, HttpWebRequest httpRequest)\r\n at PayPal.APIService.MakeRequestUsing(IAPICallPreHandler apiCallHandler)\r\n at PayPal.BasePayPalService.Call(IAPICallPreHandler apiCallHandler)\r\n at PayPal.AdaptivePayments.AdaptivePaymentsService.Pay(PayRequest payRequest, String apiUserName)\r\n at Cashbackeroo.Payment.PayPal.PayPalPaymentService.Pay(PaymentRequest paymentRequest)","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nExecute\nPayPalCoreSDK, Version=1.7.1.0, Culture=neutral, PublicKeyToken=5b4afc1ccaef40fb\nPayPal.HttpConnection\nSystem.String Execute(System.String, System.Net.HttpWebRequest)","HResult":-2146233088,"Source":"PayPalCoreSDK","WatsonBuckets":null}
+4
source share
2 answers

Adaptive Accounts Adaptive Accounts API allows you to create and manage PayPal accounts for PayPal users. To invoke an API call, see Adaptive Account API Headers and Endpoints.

API Adaptive Accounts. AppID API. AppID APP-80W284485P519543T.

API Endpoints Accounts SOAP XML, NVP, JSON https://svcs.paypal.com/AdaptiveAccounts/ https://svcs.sandbox.paypal.com/AdaptiveAccounts/

0

URL- Paypal . 500 200 ?

, Paypal , 500 .

0

Source: https://habr.com/ru/post/1685734/


All Articles