#Abishek

1 messages · Page 1 of 1 (latest)

odd quarryBOT
pseudo goblet
#

Hi there

#

Can you explain more what you mean here?

odd quarryBOT
sour lintel
#

so, I am building a custom integration and I wanted to see if as a guest user, some one can sign up to a subscription. If they created an account, then I would create them as a Stripe Customer, but if they just signup with just the email, I would still like to sign them up for the subscription

#

let me know if it makes sense

wary tinsel
#

Hi there. Taking over for bismarck

#

So you want them to be able to sign up for a subscription even if they don't have an account in your system and all they have provided is their email? Is that correct?

sour lintel
#

yes

#

I also have another question relating to Stripe Link, once this is discussed

wary tinsel
#

Yeah so you can do that. You'll just need to create a stripe customer object with their email

sour lintel
#

ok, so how would it work, if I was using Stripe Link?

#

because Stripe Link requires only a PaymentIntent

wary tinsel
#

Not sure the question. Can you elaborate on what's confusing?

#

PaymentIntents are for 1-time payments

sour lintel
#

On the custom integration, I want make use of Stripe Link to pay for a users subscription. So if they already have a payment method setup on link, they can use that and make the payment for the subscription

#

So, that brings me to my next question - Can Stripe Link work with Setup Intents

wary tinsel
#

Wait you just went from Subscriptions to SetupIntents

#

Why are you using SetupIntents?

sour lintel
#

Setup Payment Method (using Stripe Link) -> Setup Customer -> Create Subscription -> Charge Customer for Subscription

wary tinsel
#

But the setupintent is unnecessary. Why not just create the subscription and collect payment method there?

sour lintel
#

doesn't creating a Subscription require a customer object?

wary tinsel
#

Yeah. You can create a customer object without first collecting any payment or anything though

sour lintel
#

I am just trying to figure out how to get the guest checkout possible

wary tinsel
#

I understand. But using SetupIntents isn't recommended with Subscriptions

#

The recommended flow is what I linked above

#

If you read that doc, you'll understand things better

sour lintel
#

with the above approach you suggested, can I setup to store the payment method of the customer?

wary tinsel
#

Yes

#

Upon completing the flow, the payment method is attached to the customer

sour lintel
#

ok and in this flow, can I use Stripe Link?

wary tinsel
#

Yeah

sour lintel
#

ok

#

thank you

wary tinsel
#

No problem

sour lintel
#

I was just going through the docs from the above link. There is also the option to create an invoice for the subscription instead of create a customer and use the payment intent from the invoice to process the payment. That would also work for the seamless flow I was talking above right?

wary tinsel
#

Not sure what you mean. The Subscription Invoice's payment intent is what's used to collect payment info in elements

#

You still need customer object

sour lintel
#

The flow in read

#

that doesn't require a customer correct?

wary tinsel
#

It requires a customer

#

You're misinterpreting it

#

Creating a subscription requires you pass a customer

sour lintel
#

ok, because from the diagram about, it feels like from Subsription, I can go to invoicing, but I understand what you are saying. the good thing about invoice is that I get a receipt PDF, which is great

wary tinsel
#

Read the guide I shared earlier in full. Subscriptions do have invoices