Paypal Sandbox Error #10548: Invalid Configuration - paypal

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?

Related

PayPal Express Checkout in Sandbox leaves transactions 'Pending'

I've integrated PayPal Express Checkout using the method at https://developer.paypal.com/docs/checkout/integrate/#1-set-up-your-development-environment , with the JS SDK.
Everything works fine and I am able to create a button with the amount and the transaction succeeds. However, I don't see the money coming into the sandbox business account. I do see the transaction on the sandbox personal account, but it's pending on approval from seller, which I don't see there.
Not sure if this is sandbox behaviour or if I have something wrong.
The src script which I load is:
https://www.paypal.com/sdk/js?client-id=${clientId}&currency='CAD'&disable-funding='credit,card,bancontact,blik,eps,giropay,ideal,mybank,p24,sepa,sofort,venmo'
Any help would be appreciated.
The most likely problem is that the receiving account's email address is not confirmed in sandbox.
To check, navigate to https://www.sandbox.paypal.com/businessprofile/settings/email , log in with the receiving sandbox account, and resend any necessary confirmation message
To open the confirmation message, log in with your live developer account at https://www.paypal.com/signin?intent=developer&returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdeveloper%2Fnotifications%2F and follow the link there to do the confirmation

Why PayPal IPN work on Simulator, but not working on sandbox?

I made a copy of this script on my server. And when I test it on IPN simulator in the developer panel, and everything is fine - I get emails and the logs are saved. But when I try to test the same script via sandbox facilitator account, the script does not work. I added the URL of the IPN script in the settings and I'm testing as buyer account.
Tell me please, what else can check?
You need to make sure you've configured the SELLER sandbox account you're using with the IPN URL that you are testing.
Also, make sure this is not getting overridden by the PayPal button or API integration you are testing with. For example, the Notify URL parameter can be used to specify an IPN URL in payment requests, and this would override anything set at the account level.
If you have the URL set properly, and you don't have an override, it should hit that URL as expected. You can check the IPN History of the sandbox seller account to verify whether or not IPNs are getting sent.

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.

Can't login Paypal sandbox account inside sandbox

i'm having troubles trying to get IPN work inside my sandbox.
I have a developer paypal account and i imported 2 sandbox account. Now i suppose to have 2 ways to test IPN:
IPN Simulator
Setting my IPN address in sandbox options
but i have problems in both of them.
If try to use the IPN simulator everytime i try to send an IPN page starts loading for some minutes and then Chrome gives me a "empty page response" response. After some googling it appers IPN simulator have some problem with non standard ports but my page can run only on port 12000. My page is reachable, i checked from inside and outside my network, it works for all except the ipn simulator.
I have no more luck trying to set IPN address on sandbox, simply because i have no settings at all to access. I logged to sandbox and got a page where i'm supposed to login with my sandbox account, but i get a different login from mine on the upper right corner of the page (thats the original sandbox account, now that sandbox and main account are merged all this mess happen) and when i try to login with sandbox account i get a generic
This sandbox mail is not available. Try another mail address
If i try to create a new sandbox account i always get this error:
We're sorry but something went wrong.Please delete this account and
try again.
So.. i'm basically stuck. What i can do to test my ipn now?
edit for be more clear:
i used to have a sandbox and a main paypal account, now they are merged
i login to both sandbox and developer section with my main account now
even if logging in sandbox with my main account i get logged as my old sandbox account
after this first sandbox login if i try to log my sandbox account (listed in developer.paypal.com) i get that "Sandbox mail not available" error
in developer.paypal.com i can't create any new sandbox account, getting error everytime. I found that you got that error if password is not 8-20 chars long and now i'm using a correct lenght password but i'm still getting that error
edit2: i successfully created a new sandbox account!
to get that i had to:
use an US account (i was using italian)
use password with: uppercase, lowercase, special characters, numbers
initial balance import < 1000 usd
but i still can't login this account inside the sandbox, always same error. I'm hating this.
Non-standard ports really are not supported at this time, so you'll run into a myriad of different issues over time. The initial IPN delivery may work, but the re-sending of a single message may not, etcetera.
Can you use something like http://progrium.com/localtunnel/ perhaps?
With regards to the account creation:
For discussion's sake, let's stick to the right terminology; you use a developer account to log into https://developer.paypal.com/, and a Sandbox account to log into https://www.sandbox.paypal.com/
Is the account you're trying to log into via www.sandbox.paypal.com a Sandbox account listed under Applications > Sandbox accounts?

Paypal Sandbox - Invalid Merchant Configuration error 10501?

I'm trying to do a DoDirectPayment with the Sandbox API
I have been testing with code that I know works but my API credentials are getting the following error back from the Sandbox API
[L_ERRORCODE0] => 10501
[L_SHORTMESSAGE0] => Invalid Configuration
[L_LONGMESSAGE0] => This transaction cannot be processed due to an invalid merchant configuration
After looking up the error code I found that the problem "Occurs when the billing agreement is disabled or inactive."
I have searched Google intensively for how to Agree to the Billing Agreement in the sandbox but to no prevail
Has anyone had this issue and know how to switch it on?
Like the the other answers say, you need to to enable Payments Pro in your sandbox account. As of July 2013, you can do this with the steps below.
Login to your developer.paypal.com account
Go to Applications -> Sandbox Accounts
Click the sandbox account you want to upgrade to Pro, and then click 'profile'
There should be an Upgrade to Pro option in the dialog that pops up
Note the paypal developer website has been changing quite a bit recently, so your mileage may vary...
It means your sandbox test account is not set up for Payments Pro.
Go to https://developer.paypal.com > Test accounts > preconfigured and create a preconfigured US Website Payments Pro test account.
There was recently a redesign of the developer site.
I don't know about existing accounts, but for new accounts you cannot use the default "facilitator" sandbox test account for testing the classic api ... you have to make a new business sandbox test account and use the credentials from that. This is true even though the "facilitator" account is a business account.
The sandbox accounts are created in https://developer.paypal.com/ -> Applications -> Sandbox accounts (link on left side) -> Create Account (button on right side)
I got this same issue and wrote paypal about it, this was their response:
Thank you for contacting Merchant Technical Services.
Regarding to your issue with an error invalid merchant configuration, this error happened because of your sandbox account still in pending status. It happened when you changed from business to pro. This is bug in our system and kindly our engineer still in progress in fixing this bugs. By the way, you can try create new sandbox account and then upgrade to pro account as what you did before this.