Forum Academy Marketplace Showcase Pricing Features

Need help with Stripe for extracting payment status data

I have created a session for a one-time payment.
After the process is completed I cannot find a way to extract data of the created session status (if successful or not)

I would like to trigger a workflow only after successful payment.

can anyone help me with it?
Thanks

If this is setup using APIs that is simple enough as you would just run the API call for Get checkout session and then use the code in the URL sent back from Stripe when the user has made the payment and been redirected back to your app.

Alternatively you can set up a webhook for Stripe to send notification of the checkout session completed and then in that backend workflow connected to the webhook do the data processing you want to do on the order.

If you are interested in getting things setup properly for a complete stripe integration consider checking out the course I made for integrating Stripe payments and having complete control over the most important aspect of your app, the monetization of it.