#Nacho Diaz-pl
1 messages · Page 1 of 1 (latest)
yes
Payment Links does not implement them, unlike Checkout
Nature of the product, most instances people are opening a Payment Link and there's nowhere to go back to
Unlike Checkout where users are likely redirected from a page on your app/site, and you can pass the cancel_url parameter (which is where the back button goes to)
ok! and i don't have how capture the event payment_intent.canceled?
Hi! I'm taking over this thread.
Can you clarify your lastest question? I'm not sure I understand what you mean.
ok sorry for my english grammar 😆
no worries! so what exactly are you trying to do?
I have a webhook with 2 event payment_intent.canceled payment_intent.succeeded.
How can watch payment_intent.canceled ?
You already created the webhook endpoint in the dashboard? So the next step is to write some code to listen to these events. You can learn more about this here: https://stripe.com/docs/webhooks/quickstart
Note that if you are using PaymentLinks, we recommend listening to the checkout.session.completed event.
This is mentioned here: https://stripe.com/docs/payments/payment-links#handle-fulfillment-with-the-stripe-api
Thanks!
i'am using integromat to create workflow. Now i watch correctly of the payment_intent.succeeded but not the payment_intent.canceled
I have no idea what integromat is. But if you have some code that handles payment_intent.succeeded, why can't you do something similar for payment_intent.canceled?
What's the issue exactly?
The problem is in this page (https://buy.stripe.com/test_14k00Y9BggaWaNWdQR)) not have the button to cancel so i don't have payment_intent.canceled
Oh! So your goal is to add a cancel button on the PaymentLink page? This has nothing to do with webhooks.
If users don't want to pay on your PaymentLink, they just have to close the page, there's no cancel button.
Or do want a button to allow users to cancel their subscriptions after they paid?