#MartinSkywalker

1 messages · Page 1 of 1 (latest)

tall orchidBOT
wide arch
#

Hi, can you elaborate?

strong heart
#

on my website I put the purchase button with the direct url of the stripe purchase link, when they finish the purchase they are redirected to the url that I created to download my EP but if they access the url without buying they can also do it, I want a return that only those who come from the url successful purchase that you can access if not access not allowed, can you help me?

wide arch
#

So you would want to listen for webhooks to discern when to handle fulfillment. It sounds like you're using Payment Links, which uses Checkout, so you can set up a webhook endpoint to listen for checkout.session.completed in order to know if someone has successfully purchased your EP: https://stripe.com/docs/api/events/types#event_types-checkout.session.completed

strong heart
#

have video? please

wide arch
strong heart
#

ok thanks a lot for the help