#skoshkarli-products-billing

1 messages · Page 1 of 1 (latest)

lusty bramble
#

I believe you can create a Subscription without specifying a payment method, then update the Customer to include one at any point. Are you running into an error?

blissful hill
#

No i am not, but i am trying to figure out how i would set that on the product level so that when i do get products from Stripe, i would be able to tell which one requires billing info and which doesn't

#

One possibility i was thinking of is setting it on the meta level, but then what do i put for price and what happens at the end of the trial if the customer doesn't have a payment set? Will it auto cancel at the end?

lusty bramble
blissful hill
#

That doesn't really help me because the user would not be subscribed at that point yet

#

i would need to know right away when fetching products, whether a payment is required or not for a specific product

lusty bramble
#

I need way more detail about what you're asking. How does/will your integration create and maintain Products and Subscriptions right now? If you're creating Subscriptions with an attached Product, you can view the status of that Subscription to find out if it needs action (e.g. requires payment), so what about that process is unhelpful? What doesn't it satisfy?

blissful hill
#

so currently we first fetch products available based on name, then once we have the product, we check to see if it requires payment or not. If it does then we collect the payment and create the subscription with that payment. If it does not, then we activate the subscription but do not collect payment.

#

we use product response to tell us what we should do (collect or not collect payment)

lusty bramble
blissful hill
#

No because we haven't yet set up a subscription at that point

lusty bramble
#

You would have to set up a Subscription in order for there to be a trial. You create the Subscription without taking payment by adding a trial to it. If you want to track specific Products/Prices and whether or not they've been paid (outside of a Subscription), then you could use Invoices and check their associated statuses: https://stripe.com/docs/invoicing/overview

I'm not really sure what to advise you here. There are a number of different ways to do what you're describing on Stripe.

blissful hill
#

I think you are missing the fact that I am checking to see if a product requires a payment or not

#

we have products that require payment and others that do not and then the subscription is created after that

#

i need to know on product level, is there a way to require or not require a payment?

#

seems like the only option is to put it into the metadata