0
votes

Yet another question about sandbox transactions...

On https://developer.paypal.com/developer/accounts/ I have 2 sandbox accounts:

In my rails config I'm using activemerchant and I've set up my PaypalExpressGateway credentials using the API credentials from the business account above:

ActiveMerchant::Billing::Base.mode = :test ::GATEWAY = ActiveMerchant::Billing::PaypalExpressGateway.new( login: ENV['BOB-FACILITATOR-USERNAME'] password: ENV['BOB-FACILITATOR-PASSWORD'] signature: ENV['BOB-FACILITATOR-SIGNATURE'] )

I've got an orders controller and when I click a 'buy' button, the controller redirects the user to ::GATEWAY.redirect_url_for(paypal_response.token). This in my case means the user is redirected to:

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=A_TOKEN_FROM_PAYPAL

Then in the sandbox paypal store I login successfully with the buyer's account and click the continue button representing payment. I'm successfully redirected back to my success_url and receive what look like some successful params:

/orders/success/6?token=SAME_TOKEN_FROM_PAYPAL_AS_THE_ONE_ABOVE&PayerID=THE_PAYER_ID_OF_SANDBOX_BUYER_ACCOUNT

Ok so cool the transaction is finished but when I log into the sandbox paypal site with either the buyer or seller's login details, no transactions are listed. When I'm logged into my main paypal developer account, I also cannot see any transactions.

What is happening? Where can I find either the transactions or some debugging information?

1
Did you find the solution of your issue, I'm also getting the same problemdjadam

1 Answers

0
votes

Try with below steps:

It will show you all transactions with every currency. This is because sometimes a transaction is not listed in the account overview page in the sandbox, but it does show up in the activity page. Account overview and activity pages are different and also have different layouts.

If your transaction is not listed here, then create ticket on PayPal merchant portal

Thanks NK