#goat-subscription-ios

1 messages · Page 1 of 1 (latest)

obsidian pierBOT
pale crater
#

Hi there! Just to be clear, are you using the mobile PaymentElement or Stripe Checkout?

exotic hearth
#

Could I ask what the idfference is? I am using the PaymentSheet within iOS

#

Mobile PaymentElement I believe

#

We are selling a SaaS subscription

pale crater
#

I guess I'm a bit confused since the second code snippet you shared above is for Stripe Checkout. Checkout is used for low-code solutions and will automatically create PaymentIntents for you as part of the payment flow

exotic hearth
#

ah okay gotcha. so for full context here, we have a backend that's shared between web and mobile. We are using Stripe Checkout on web to create subscriptions via Stripe. We are now looking to port that code over to iOS

pale crater
#

PaymentIntents are automatically created for you with subscriptions. These will be tied to each invoice

#

When you create a subscription, you'll want to expand latest_invoice.payment_intent in order to retrieve the relevant client secret