sandbox payment not shown in activity

agelakis
Contributor
Contributor

Hello everyone,

I am quite new in this (paypal development) and this is my first comment/question here, so please, pardon any mistakes I might make.

 

I am trying to make a sandbox payment using the "Server Side Express Checkout using REST" method (from here:  https://developer.paypal.com/demo/checkout/#/pattern/server ).
Everything seems to work fine apart from that when I use my buyer account, I see the amount paid being reduced, but it never seems to reach the business account!
I have made several payments all with the same result! No payments received shown in my sanbox account actiivity, and also, although I have enabled IPN notfications, I see none of those payments in my IPN list.

I have some more questions, but maybe I will ask after I manage to find a solution to this one!

For my backend I use python, and I follow the instructions shown here: 

For creating the payment:
https://github.com/paypal/PayPal-Python-SDK/blob/master/samples/payment/create_with_paypal.py

And for executing the payment:
https://github.com/paypal/PayPal-Python-SDK/blob/master/samples/payment/execute.py

When I retrieve these payments with a python script
(as shown here here: )
the status of these payments is shown as "approved" ("state": "approved") (While before execution the payment it was ("state": "created")...

I have the feeling that that is the reason why I don't see them in my activity list or in my IPN list, because the "state" should be "completed" or something similar! But how can I do that? I can't find any documentation on the matter and I don't understand why after the payment execution python script finishes,  the "state" is not "completed"!

Any help will be much appreciated as this is a bit urgent!

Thank you in advance for your help!

Login to Me Too
1 REPLY 1

Quandary
Advisor
Advisor

You may want to redirect your question to the Merchant Tech Support community.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.