I am doing a NVP for a doDirectPayment.
I am getting error response 10001 as below.
Array
(
[TIMESTAMP] => 2014-02-26T10:52:52Z
[CORRELATIONID] => 7870481221c21
[ACK] => Failure
[VERSION] => 85.0
[BUILD] => 9878152
[L_ERRORCODE0] => 10001
[L_SHORTMESSAGE0] => Internal Error
[L_LONGMESSAGE0] => Internal Error
[L_SEVERITYCODE0] => Error
[AMT] => 12.00
[CURRENCYCODE] => USD
)
Some time its works but most of the time I am getting above response.
Can you please suggest some solution for this ?
Thanks in advance
If this is on sandbox then this is just sandbox error. I didn't have any internal error on live server. On sandbox I have a lot of them. Sandbox just dies sometimes probably.
Related
I am using PayPal adaptive payments SDK with with payment detail api but it's showing me error like
[error] => Array
(
[0] => ErrorData Object (
[errorId] => 540031
[domain] => PLATFORM
[subdomain] => Application
[severity] => Error
[category] => Application
[message] => You do not have permission to get these payment details
[exceptionId] => [parameter] =>
)
)
I think it gives me some permission error I have checked in my papal account for permission but still not getting the exact response and how to solve it. Please guide me on this.
Thanks in advance.
I got solution...
Issue is with Paypal sandbox detail which i have entered in my configuration file.
I have change that it's working.
Thanks For support.
I am working first time with paypal adaptive payment (Chained Payment) and trying to create a demo with sendbox account.
I am using Angell EYE PayPal PHP Library for this.
I have changed configration file and set all paypal account details.
Now when I am creating a chained payment with "ActionType" => "PAY_PRIMARY", then it shows success message with below response:
Array
(
[Errors] => Array
(
)
[Ack] => Success
[Build] => 11853342
[CorrelationID] => 3c9d6f6c63af1
[Timestamp] => 2014-07-21T23:16:31.579-07:00
[PayKey] => AP-xxxxxxxxxx
[PaymentExecStatus] => CREATED
[RedirectURL] => https://www.sandbox.paypal.com/webscr?cmd=_ap-payment&paykey=AP-6T168633BC6592444
[XMLRequest] => ReturnAllen_USPAY_PRIMARYhttp://sandbox.domain.com/cancel.phpAPP-80W284485P519543T192.168.3.11USDPRIMARYRECEIVER500.00aus_user1#gd.comtrue50.00aus_user2#gd.comfalse20.00rajvi#origzo.comfalsehttp://sandbox.domain.com/return.php
[XMLResponse] => 2014-07-21T23:16:31.579-07:00Success3c9d6f6c63af111853342AP-6T168633BC6592444CREATED
)
Then I tried to execute ExecutePayment API call it gives me response as below:
Array
(
[Errors] => Array
(
[0] => Array
(
[Receiver] =>
[Category] => Application
[Domain] => PLATFORM
[ErrorID] => 550001
[ExceptionID] =>
[Message] => This payment request must be authorized by the sender
[Parameter] =>
[Severity] => Error
[Subdomain] => Application
)
)
[Ack] => Failure
[Build] => 11853342
[CorrelationID] => b3d52c547fc23
[Timestamp] => 2014-07-21T23:16:48.190-07:00
[PaymentExecStatus] =>
[XMLRequest] => ReturnAllen_USAP-6T168633BC6592444
[XMLResponse] => 2014-07-21T23:16:48.190-07:00Failureb3d52c547fc2311853342550001PLATFORMApplicationErrorApplicationThis payment request must be authorized by the sender
)
I think it gives me some permission error but not getting the exact response and how to solve it. Please guide me on this.
Thanks in advance.
After you make the initial Pay request you'll see the result is giving you a RedirectURL. You need to redirect the user to that URL so they can login and agree to complete the payment.
It sounds like you're skipping straight to ExecutePayment without the user ever having been sent over to PayPal to authorize the payment, which is why you're getting that error at that point.
As of now you'll see you can view that URL it's showing for RedirectURL (https://www.sandbox.paypal.com/webscr?cmd=_ap-payment&paykey=AP-6T168633BC6592444) and it's loading the PayPal login. Until that is done with a sandbox buyer account, ExecutePayment will not work.
Also, I'm curious if you really mean to do a delayed chained payment..?? Since you were immediately attempting to run execute payment you may only need a regular chained payment, so you would just use PAY instead of PAY_PRIMARY. Then you wouldn't need ExecutePayment at all.
I have set up Paypal Payments Pro on Magento 1.7.0.2, but when I try to place an order, Paypal returns an error:
[response] => Array
(
[TIMESTAMP] => 2014-05-05T15:52:41Z
[CORRELATIONID] => 310e857075603
[ACK] => Failure
[VERSION] => 72.0
[BUILD] => 10850615
[L_ERRORCODE0] => 10002
[L_SHORTMESSAGE0] => Security error
[L_LONGMESSAGE0] => Security header is not valid
[L_SEVERITYCODE0] => Error
)
I have checked my credentials here, and they are returning a success.
https://api-3t.paypal.com/nvp?&user=xxxxxxxxxx&pwd=xxxxxxxxxx&signature=xxxxxxxxxx&version=70.0&METHOD=SetExpressCheckout&RETURNURL=http://www.paypal.com/test.php&CANCELURL=http://www.paypal.com/test.php&PAYMENTACTION=Sale&AMT=50&CURRENCYCODE=USD
Any ideas about what could cause this security header issue?
generally this error means you are not using the correct API credentials. If you are convinced your credentials are correct then take a look at your endpoint. Sandbox credentials will not be valid in the production environment and live credentials will produce this error in the sandbox
I am working Paypal with using API. I am getting error like this. I searched in Google.. i got only one suggestion regarding paypal api credentials. but the below code is working in another server. can anybody tell me what may be the reason.Thanks inadvance
Error : Security header is not valid
Array
(
[TIMESTAMP] => 2014%2d02%2d10T16%3a09%3a39Z
[CORRELATIONID] => 6df53789eb1fb
[ACK] => Failure
[VERSION] => 76%2e0
[BUILD] => 9605603
[L_ERRORCODE0] => 10002
[L_SHORTMESSAGE0] => Security%20error
[L_LONGMESSAGE0] => Security%20header%20is%20not%20valid
[L_SEVERITYCODE0] => Error
)
One of the following maybe..
- You are in sandbox mode with a live account or vice versa
- You have extra spaces before or after the account credentials
I've suddenly started to get internal error in PayPal Express Checkout transactions.. Im using paypal SandBox API.. I haven't changed anything in code, its just started to happen suddenly... Here is the error
SetExpressCheckoutResponseType Object
(
[Token] =>
[Timestamp] => 2013-10-14T06:19:59Z
[Ack] => Failure
[CorrelationID] => 7cabaf55e9cf5
[Errors] => Array
(
[0] => ErrorType Object
(
[ShortMessage] => Authentication/Authorization Failed
[LongMessage] => Internal Error
[ErrorCode] => 10002
[SeverityCode] => Error
[ErrorParameters] =>
)
)
[Version] => 94.0
[Build] => 8119636
)
It looks like its some kind of internal error with PayPal.. But still not sure about it becuase paypal doesn't provide any kind of help for resolving this error.. See the following link
https://developer.paypal.com/webapps/developer/docs/classic/api/errorcodes/
99% of the time, that means Paypal is down. You can check site status on this page.