简体   繁体   English

Paypal付款 - 500错误

[英]Paypal Payments - 500 Error

I am trying to make a automatic payment in my system, and got it to work perfectly in sandbox mode. 我正在尝试在我的系统中进行自动付款,并使其在沙箱模式下完美运行。 As soon, as I switch to live mode I am receiving a 500 error. 很快,当我切换到实时模式时,我收到500错误。 I am not sure if maybe the URL's I've copied are maybe from a legacy site or something. 我不确定我复制的URL是否可能来自旧网站或其他内容。

Here is my params: 这是我的参数:

在此输入图像描述

My post back error looks like: 我的回发错误看起来像:

{"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}

Adaptive Accounts The Adaptive Accounts API allows you to create and manage PayPal accounts for PayPal users. 自适应帐户Adaptive Accounts API允许您为PayPal用户创建和管理PayPal帐户。 To make an API call, see Adaptive Accounts API call headers and endpoints. 要进行API调用,请参阅Adaptive Accounts API调用标头和端点。

Adaptive Accounts endpoints To make Adaptive Accounts API calls. 自适应帐户端点进行自适应帐户API调用。 include an AppID with your API credentials. 包含带有API凭据的AppID。 For sandbox testing, specify an AppID of APP-80W284485P519543T. 对于沙箱测试,请指定AppID为APP-80W284485P519543T。

API Formats Endpoints Adaptive Accounts SOAP with XML, NVP, or JSON Live https://svcs.paypal.com/AdaptiveAccounts/ Sandbox https://svcs.sandbox.paypal.com/AdaptiveAccounts/ API格式端点自适应帐户SOAP,包含XML,NVP或JSON Live https://svcs.paypal.com/AdaptiveAccounts/ Sandbox https://svcs.sandbox.paypal.com/AdaptiveAccounts/

Try to open the Paypal URL dirrectly in your browser. 尝试在浏览器中直接打开Paypal URL。 Does it returns a 500 server error or 200 ok? 它会返回500服务器错误还是200 ok?

Usually when the Paypal servers are down, the response is 500 server error. 通常当Paypal服务器关闭时,响应是500服务器错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM