#MartinSkywalker
1 messages · Page 1 of 1 (latest)
Hi, can you elaborate?
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?
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
have video? please
There are a number of tutorials for how to do this on Youtube and blogs if you did a cursory Google search, but the only thing that's Stripe-created is the Checkout guide: https://stripe.com/docs/checkout/quickstart
Here's a good jumping off point: https://stripe.com/docs/payments/checkout
Here's the doc on fulfillment: https://stripe.com/docs/payments/checkout/fulfill-orders
ok thanks a lot for the help