Nick Kemp 12/14/2022 2:23:52 AM
Regarding Philipps original post:
I have a version of this working using the stripe subscription api. The tokenisation concept is now deprecated in favour of intents. We use this api to generate portal links, which offloads all the processing to stripe (including accepting CC details). Its not ideal if you want to control the payment events as Philipp does, but you could probably work something out using the one off payment apis.
In terms of your question Luison; while I'm not using payment links myself, you can generate payment links in stripe by doing a call url, storing the payment link against a record in your database. This link could be then emailed to the end user. Stripe also has webhooks that you can listen for to confirm payment (and update your db with that state). I have been using the webhooks this way successfully.