#abishek-subscription-setupfees

1 messages · Page 1 of 1 (latest)

somber talonBOT
mint vault
#

@round river what product(s) are you using? Checkout or the Subscription API directly?

round river
#

custom checkout

#

using elements to store the card and then charge the user for the line items

#

?

mint vault
#

Are you using the Subscription API? I'm sorry it's important since there are dozens of ways to use our API

round river
#

yes the subscription API

mint vault
#

abishek-subscription-setupfees

round river
#

what if there are multiple subscription items can I still use create subscription API to bill multiple subscriptions and one-time items?

mint vault
#

yes

round river
#

how do I add the other subscription items ?

#

so, we have a custom cart/checkout that can include multiple subscription and one-time payment items

#

and is there a way to do this without the subscription API?

mint vault
#

The Subscription API is the right way.

#

What have you tried? Right now it seems you're confused but not even trying. And trying would solve the confusion in one minute

#

add_invoice_items can be an array of one-time Prices
items can be an array of recurring Prices

A Subscription can have up to 20 recurring Prices

round river
#

ok, let me try that. And if the cart only has multiple one-time line items

#

also, can you show me how I would go about doing it if I were to use the Stripe Checkout page

mint vault
#

ok, let me try that. And if the cart only has multiple one-time line items
Then you wouldn't use the Subscription API at all in this case

#

For Checkout https://stripe.com/docs/checkout/quickstart
that's likely drastically easier for you. You can add multiple line items, whether recurring or not. If all of them are one-time you choose mode: 'payment', if one or more are recurring you choose mode: 'subscription' and we do the rest

#

highly recommend starting with Checkout in Test mode

round river
#

ok. on the stripe checkout, is there a way to add a checkbox for accepting terms and conditions?

round river
#

ok, thank you

mint vault
#

sure thing!