SANDBOX REST API: Getting "INTERNAL_SERVICE_ERROR" - rest

Anyone getting "INTERNAL_SERVICE_ERROR" while using PayPal Sandbox Payment REST API?
Raw response: {"name":"INTERNAL_SERVICE_ERROR","message":"An internal service error has occurred","information_link":"https://developer.paypal.com/webapps/developer/docs/api/#INTERNAL_SERVICE_ERROR","debug_id":"19534d4c5d45d"}
Raw response: {"name":"UNKNOWN_ERROR","message":"An unknown error has occurred","information_link":"https://developer.paypal.com/webapps/developer/docs/api/#UNKNOWN_ERROR","debug_id":"47c1243107286"}

Turned out it was just the issue of using the wrong credit card number. When I used the credit card number provided in sandbox text account profile, everything worked.
None of the numbers on this page worked for me.
http://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm

Related

Paypal Sandbox Error #10548: Invalid Configuration

I setup a test Magento site with paypal payment pro on a sandbox account, sandbox account does have business-pro enable, when I test my first transaction, everything was good, order create and sandbox payment received, but when I'm testing again with same test credit number or others provided by paypal, I'm now getting this #10548: Invalid Configuration error.
I know that usually this error occur when the account is not business pro enabled, but I recheck again and it is enabled, I even create 2 more merchant test account with business pro enabled and still get the same error. Why did first transaction was OK and now it can't process?
To validate that this doesnt have anything to do with an isssue on your end, I would recommend you to use this site http://chadcaples.com/index.php/classic-api-s/nvp-quick-test
Enter your sandbox API credentials, sandbox mode and choose DoDirectPayment API. If you didnt receive any error, the issue might be on your end.
If even using this site you still receive the error, can you post the full response?

PayFlow Pro Sale Transaction Issue

I am trying to setup my site to accept credit card payment using PayFlow Pro. I am posting a Sale transaction with following data (account details removed) to sandbox (https://pilot-payflowpro.paypal.com):
PARTNER[6]=&VENDOR[27]=&USER[27]=&PWD[11]=&TRXTYPE[1]=S&TENDER[1]=C&CURRENCY[3]=USD&CREATESECURETOKEN[1]=Y&SECURETOKENID[29]=MySecTokenID-CPVMCKB4TSR0EN3Y&RETURNURL[35]=https://localhost:44387/payment/pay&CANCELURL[35]=https://localhost:44387/payment/pay&ERRORURL[35]=https://localhost:44387/payment/pay&AMT[1]=1&COMMENT1[48]=Name: pankaj negi , StudentID: 14809, TermId:384&ACCT[16]=&EXPDATE[4]=0217&CVV2[4]=&BILLTOFIRSTNAME[6]=pankaj&BILLTOLASTNAME[4]=negi&BILLTOSTREET[18]=15402 Dry Creek Rd&BILLTOCITY[11]=Noblesville&BILLTOSTATE[2]=IN&BILLTOZIP[5]=46060&BILLTOCOUNTRY[2]=US&
And I am getting following response back:
RESULT=0&SECURETOKEN=KDTWfZBwaYEaz5pPUNxJSKQM2&SECURETOKENID=MySecTokenID-CPVMCKB4TSR0EN3Y&RESPMSG=Approved
But this transaction does not show up on Paypal manager. What am I missing.
You are trying to create a secure token which will be used to launch the hosted check out page which is Payflowlink.
Remove the following in your request and try and it should work.
CREATESECURETOKEN[1]=Y&SECURETOKENID[29]=MySecTokenID-CPVMCKB4TSR0EN3Y
thanks

Getting Error on PayPal PAYEE_ACCOUNT_LOCKED_OR_CLOSED

I have implemented Paypal API in my ASP.net MVC application and I have tested it using the live api key,
At the time of payment processing I am getting an error stated
reason=PAYEE_ACCOUNT_LOCKED_OR_CLOSED in the failure URL
This is the page which I am getting
I got the resolution for the issue
It was the account was not completely created from paypal
Thats has been resolved and now the payment is working fine....
Thanks for your response micstr

Paypal DG Express Cannot Use Sandbox. Live Account Works Fine

I have a Paypal Digital Goods Express payment form created using their wizard.
When I use our live account it works fine. But when I use the sandbox Business (Seller) account I created, when a user clicks on the 'Buy' button, the popup window appears with only this message:
SetExpressCheckout API call failed. Detailed Error Message: Short Error Message: Error Code: Error Severity Code:
I did some research and saw this article:
https://www.paypal-knowledge.com/infocenter/index?page=content&widgetview=true&id=FAQ1914&viewlocale=en_EN
It suggests that our hosting company needs to update their PHP/TLS, but I did the Curl test and it properly returns a 200 OK.
I also saw this Stackoverflow article:
Paypal "SetExpressCheckout" API method has stopped working with sandbox seller account
...where the problem was the wrong sandbox endpoint, but I've made sure that the endpoint is indeed:
https://api-3t.sandbox.paypal.com/nvp
...and it still doesn't work.
I've tried clearing my browser cache, using different computers to test and all with the same result.
Any ideas?
did you enable Digital Goods feature on your sandbox accounts?
If you have not enabled it on your sandbox account, please contact MTS(Merchant Technical Support)
https://www.paypal-techsupport.com/app/ask
to toggle it for your sandbox account.

Using new Paypal Rest API does not accept payment in GBP

I get a 400: Bad Request error when trying to make payment in GBP, where as USD is working fine. I am getting this error since last few days earlier it was working fine, I think the issue has started after Paypal has made changes to its site rencently.
Also all the payment is going to a default sandbox account (it has a word facilitator appended to it, I did not create this account) I am not sure if I can change and set a sandbox account that I created as default account for receiving payment. Any idea?
Any suggestion would be helpful.
Currently the REST API's only support USD, passing a different currency can cause errors to be generated. There are plans to eventually support additional currencies, but currently it is only set up for USD.