Forum
Paypal express integration
I'm following the steps here: https://docs.grabaperch.com/addons/shop/gateways/paypal-express/
My first query is about what happens when you click to pay with paypal. According to the Paypal docs (https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/checkout-flow/) 'Paypal Express' is a checkout option that opens a pop up window and doesn't redirect you to Paypal. However in the Perch docs it states: "Step 2: The user goes off to PayPal". What is supposed to happen? Is "Express Checkout" a different thing to "Paypal Express"?
What is happening for me is I get sent off to Paypal (sandbox) with a really long checkout form. I log in with a personal sandbox account I set up and pay which seems to work as I am redirected to the success page. But the order doesn't show up in orders, no emails come through and I can't find anything in my developer.paypal.com account regarding the transaction.
Are you completing the transaction when the user gets sent back to your site?
That's not what's happening. They only come back to my site when it's finished (the success page).
You still need to confirm it. Have you followed the docs?
Am following them but keep getting confused by the paypal docs!
Is this what perch is using?: https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/checkout-flow/
According to that I should get a pop up, not go off to paypal's site?
I mean the Runway docs rather that PayPal's own:
https://docs.grabaperch.com/addons/shop/gateways/paypal-express/
I'm now on the right tracks. I have just placed a successful test transaction and the emails were sent out and the order appeared in perch admin. However I can't see any info on the order on the paypal developer sandbox site. I've gone to Dashboard > Sandbox > Transactions and nothing shows. It gives me a dropdown with Email or Apps but neither of those shows any transactions.
Ok. What can you tell me?
This is the debug from the success page after paypal checkout:
Ok, that all looks fine. What actual problem are you seeing?
Nothing appears in my paypal sandbox account under transactions so I can't be sure if it's correctly integrating with paypal or not.
Do you get any notifications from PayPal? Do you see anything in your logs at all?
No notification from Paypal. Which logs are you referring to?
I think there are API lots at PayPal to see what interactions you've been performing, are there not?
I've had a look around and can't find that information
Ok. I don't have anything like that set up here, but I'd be able to look at it next week.