Confirm payment webhook

Valkin
Contributor
Contributor

Here's my problem.

 

I'm using node.js with paypal-rest-sdk and I'm trying to integrate paypal payment without using Chekout Buttons. Basically I'm creating payment on my backend and redirecting the user to payment window. (changing current window location, so the second window is not popping up. The user goes away from my website to paypal payment)

 

The thing is I don't see how (if possible at all) to set up the confirm payment URL webhook after the user executes payment to change some data in my DB. When you use Checkout Button it triggers onAuthorize() method. I need something similar but without these checkout buttons.

 

Many thanks!

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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