Paypal DG Express Cannot Use Sandbox. Live Account Works Fine - paypal

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.

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?

Cannot access Paypal Sandbox Accounts

PayPal:
Cant access paypal sandbox - if trying to appraoch directly, you are being redirected to the paypal main site.
If trying to reach the sandbox via the paypal developer site,
browsed to Dashboard>Sandbox>accounts,
(find the facilitator and buyer accounts - which apperently do require decent passwords to work) than press "Click Me" just to fail again by being redirected to a page indicating:
"We're sorry.
Relying party validation error: client_id or redirect_url provided in the request does not match any of the registered clients. Please check the request and try again."
OK, found a way aroudn this.
Problem: For some reason if you are a PayPal user and also wish to use the sandbox (in my case I have a seperate private account and a business account, and the sandbox is used by the busienss account), any attempt to approach the sandbox results in being redirected to paypal main site (at least in my region).
Solution: Use a seperate cognito or private window for the sandbox - never login to you your own account while working with the sandbox, and if you do, restart the browser and get a new private window.

OpenCart: Paypal Session Time-Out

I am using the standard paypal payment method with my opencart website. When I go through the checkout process and get redirected to the PayPal website, I get to login and choose my payment source on the paypal site. However, when it starts processing, it just returns "Your session has timed out, please log in again." and logs me out of Paypal.
Any help would be appreciated.
I had facing this problem also. If you are using sandbox mode, You should be gave test account for buyer(buyer account must be business account) and also seller account must be individual account(personal). for example xxx#gmail.com is buyer account you should put it in admin panel paypal extension,then you should login in E-store website with seller account(yyy#gmail.com) and proceed to paypal it will works well.
Some times the cookies that Paypal sets are really annoying, try cleaning all of them, it helped me with other Paypal related errors.

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?

Testing the PayPal Adaptive Paymemts API in the Sandbox

I want to simulate a simple scenario with the adaptive API. A seller, buyer and my app.
I created 3 test accounts in the Sandbox website:
Account named buyer - of type Personal.
Account named seller - of type Business.
Account named myApp - of type Business.
I am using the Adaptive Payments C#.Net code samples from paypal developers site. (The code I am using is inside csharp_nv_adaptivepayments.zip , in the Pay.cs file).
I changed sAPIUser, sAPIPassword, sAPISignature to match myApp (From API Credentialns page in SandBox site)
I changed sReceiverEmail to the seller email.
I changed sSenderEmail to the buyer email.
After sending the request to https://svcs.sandbox.paypal.com/AdaptivePayments/Pay ,
and getting the response with sResponse = oStreamReader.ReadToEnd(); I get an OK status and I have a payKey in my hand.
Now, as the AdaptivePayments PDF says (P. 70) I need to redirect the user to
https://www.paypal.com/webscr?cmd=_ap-payment&paykey=value , So I use Response.Redirect() to this url. When the browser loads the page, I get a java script error in:
var sf = new PAYPAL.AP.Subflow();
Stating that "Object doesn't support this action".
I tried to change the url to http://www.sanbox.paypal....paykey=value but then I just get a white page , saying "Please login to use the PayPal Sandbox features."
Also, in both cases i didn't see any payment activity in the seller,buyer logs.
What am I doing wrong here ?
Yaron,
To make Live API calls, you need to obtain a Live APP ID from PayPal,
For making sandbox calls, you need to properly set up the sandbox testing environment, AND be logged in to it beforehand.
This guide explains in detail what you need to do for each case:
Requires x.com free registration
http://www.x.com/servlet/JiveServlet/download/211264-21046/HelloMoney.zip
EDIT
X.com died a while back. I've posted my original files in GitHub:
https://github.com/lmarkus/AdaptivePaymentsExample