#nerder

1 messages · Page 1 of 1 (latest)

covert hollowBOT
jade echo
#

Hi there

#

recurring is for Subscriptions where it will be used for recurring payments. If it is omitted then yes, it won't be recurring

#

And it would be a one-off

unkempt kestrel
#

ok great, so basically I then try to "buy" it using the subscription.create API it will fail

#

and I should use charges right?

jade echo
#

You use Prices with Checkout or with Subscriptions/Invoices

#

If you are going to just take one-off payments using PaymentIntents then you don't use Prices

unkempt kestrel
#

umm, not sure I follow here. I don't need to create a product/price to be bought and directly put the amount and create the PaymentIntent?

jade echo
#

Let's back up

#

What is your model (one-off payments or recurring or both?)

#

And what integration flow are you interested in using? Stripe Checkout? Elements with custom flow?

unkempt kestrel
#

I try to explain briefly, I have 3 potential use cases, and for now, I support one of them. The use cases are the following:

  • Subs, recurring with a recurring (monthly, 3monthly, etc) supported already
  • Subs, that cancel after the first cycle (i'm using cancel_at_period_end for them) almost done
  • One-off products todo
#

My integration is using the custom flow, using flutter_stripe

jade echo
#

Ah okay

#

So then yeah, you won't use Products/Prices for the one-off flow unless you want to use Invoices

unkempt kestrel
#

what's the difference?

#

I saw that flow in which you create invoice and then it pays

jade echo
#

The difference is that there is an invoice that you could provide to a customer if you so desired.

#

And it is a bit more complicated in terms of the amount of API calls

#

But overall quite similar.

unkempt kestrel
#

ok, that's great, might be my case then. Also because I need to handle a bunch of custom stuff in the app after the payment is done (keep track of used sessions)

#

just for context we are modeling a gym subscriptions, and they also sell drop-ins (either one class, or a bundle of 10 classes for instance)

#

so I guess that it might make sense to have invoicing there

#

thank you so much for the clarification!

jade echo
#

Sure thing

#

Let us know if you run into any challenges while building and we would be happy to help

unkempt kestrel
#

Okok, the drop-ins support should start in a week or so. So i'll ping you in cause i'll get stuck!

#

thank youu!

#

have a good rest of the day