Reputation: 701
I integrate PayPal into Android app. I want to test payments in the sandbox. At this time application logs show that test payments is success. I tried to add sandbox webhook, which have to send payment information to my server as I guess.
But I dont't get requests from PayPal after test payments. I tried to simulate webhook request in "Webhooks simulator". I've got the same result.
May be, I've got to do something to get PayPal webhooks requests at my server? Because I have notifications about all test payments in my profile ("Sandbox/Notifications").
Upvotes: 3
Views: 3069
Reputation: 3402
Notifications in your sandbox account profile is a simulation of the Transaction Email that PayPal sends to the account, which is irrelevant to webhooks events in this case.
Instead, you may want to check the "Dashboard" > "Sandbox" > "Webhook Events" and see the status of events trigger by the transactions.
Webhook has mandatory requirement on your listener script to be a secure url (HTTPS), so you may check the web server setups as well.
Alternatively, you are still able to use IPN to manage all call-backs for the RESTful API (including Mobile SDK) transactions, with the same approach on the classic APIs, see more detailed on IPN instructions
Upvotes: 2