# Stripe plugin: Only subscribing someone to a plan when they complete payment

**URL:** <https://forum.bubble.io/t/stripe-plugin-only-subscribing-someone-to-a-plan-when-they-complete-payment/161122>\
**Category:** Need help\
**Created:** [July 22, 2021, 3:59pm UTC](https://forum.bubble.io/t/stripe-plugin-only-subscribing-someone-to-a-plan-when-they-complete-payment/161122 "2021-07-22T15:59:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex.pethick](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alex.pethick/32/75019_2.png) [@alex.pethick](https://forum.bubble.io/u/alex.pethick)\
**Post date:** [July 22, 2021, 3:59pm UTC](https://forum.bubble.io/t/stripe-plugin-only-subscribing-someone-to-a-plan-when-they-complete-payment/161122/1 "2021-07-22T15:59:35Z")

</div>

Hi,

I’m trying to figure out the right action or workflow for the Stripe plugin by Bubble to subscribe someone to a plan only when they actually complete payment in Stripe.

Here’s what I want

1. Someone creates an account on my app
2. Take them to Stripe to complete payment
3. Subscribe them to a plan

How do I need to adjust this setup? Am I using or missing the wrong payment action in the workflow?

 ![Screen Shot 2021-07-22 at 11.53.28 AM](https://us1.discourse-cdn.com/bubble/original/3X/7/c/7cdc37647af147fdf6462e656d9252fc1dc328b1.png)

I’d consider using a “Only when…” approach but I don’t know what I’d specify in order to otherwise advance them to the Stripe checkout page

Thanks!

---

<div class="post-metadata">

**Author:** ![johnny](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/johnny/32/203020_2.png) [@johnny](https://forum.bubble.io/u/johnny)\
**Post date:** [July 22, 2021, 11:11pm UTC](https://forum.bubble.io/t/stripe-plugin-only-subscribing-someone-to-a-plan-when-they-complete-payment/161122/2 "2021-07-22T23:11:53Z")

</div>

Hi there @alex.pethick,

You might want to look into Stripe’s webhook, and using Backend Workflows.

---

<div class="post-metadata">

**Author:** ![alex.pethick](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alex.pethick/32/75019_2.png) [@alex.pethick](https://forum.bubble.io/u/alex.pethick)\
**Post date:** [July 23, 2021, 12:44am UTC](https://forum.bubble.io/t/stripe-plugin-only-subscribing-someone-to-a-plan-when-they-complete-payment/161122/3 "2021-07-23T00:44:07Z")

</div>

Thanks, but surely this cannot be unique to me…

Why would you sign someone up to a plan before payment? I can’t imagine anyone would want to do that until the payment was actually complete. There’s always cart abandonment.

---

<div class="post-metadata">

**Author:** ![johnny](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/johnny/32/203020_2.png) [@johnny](https://forum.bubble.io/u/johnny)\
**Post date:** [July 23, 2021, 6:54am UTC](https://forum.bubble.io/t/stripe-plugin-only-subscribing-someone-to-a-plan-when-they-complete-payment/161122/4 "2021-07-23T06:54:25Z")

</div>

Good question, but you can’t do so otherwise with the Bubble Stripe Plugin

---

<div class="post-metadata">

**Author:** ![alex.pethick](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alex.pethick/32/75019_2.png) [@alex.pethick](https://forum.bubble.io/u/alex.pethick)\
**Post date:** [July 23, 2021, 3:06pm UTC](https://forum.bubble.io/t/stripe-plugin-only-subscribing-someone-to-a-plan-when-they-complete-payment/161122/5 "2021-07-23T15:06:17Z")

</div>

I’m realizing my assumptions were wrong and by contacting support, it’s filled in a few of those gaps.

Here’s what Bubble Support said:

> The “Subscribe user to plan” action takes place entirely on Stripe, and does not necessarily create updates for your user in Bubble. In the case of cart abandonment, the transaction is not completed, and the user is bounced back to your application. You can set up a webhook from Stripe back to your application whenever a transaction is successfully completed to ensure that data in Bubble is appropriately updated once a user completes a payment.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [September 30, 2021, 3:59pm UTC](https://forum.bubble.io/t/stripe-plugin-only-subscribing-someone-to-a-plan-when-they-complete-payment/161122/6 "2021-09-30T15:59:37Z")

</div>

Closed on September 30, 2021, 3:59pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
