Webhook when checkout is unapproved/canceled?

Y0nier
Contributor
Contributor

I'm trying to implement subscriptions with REST API using Webhooks to activating the order in my app if the transaction was successful.

I get Webhook "BILLING.SUBSCRIPTION.CREATED" and "PAYMENT.SALE.COMPLETED" when the created subscription is paid, which is ok.

 

But I can't find a solution to set the order in my app to not completed/canceled if the users clicks on 'Cancel and return...' or simply closes the paypal checkout page. I'm listening all the webhooks events but none is triggered when the user does that, and if i go back to the 'approve' link after "canceled" i cannot use the link anymore because cannot load.

 

I want to know what could be the best solution to listen in my app if the checkout was not completed?

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.