Trigger an action only after Stripe payment is made

Can I trigger an action only when a payment is made with’s Stripe plugin?

The best way to trigger this action is to use Stripe weebhook with bubble. On other words, stripe can tell you at the moment when payment is finished, that was hapened.
You need to Wach for event “invoice.payment.succes” and/or “invoice.payment. failed” if you want. You can also watch other events but remember that one payment trigger many diferent “events” during payment process, and this is enough for you to look only for this “invoice” event. This event/notoficarion include subscribction with recuring payment to.

Good to know. What about Stripe.js 2? Is this a viable solution?