#od

1 messages · Page 1 of 1 (latest)

halcyon citrusBOT
steady tulip
frozen sierra
#

So if "If all retries for a payment fail," is finished with "leave the invoice as-is", it should never by itself move to an uncollectible state?

steady tulip
#

yep, that's right

frozen sierra
#

Thanks

#

If a customer subscribes to a product where it is usage-based (e.g. 0.1 USD per API request), the customer makes 200 API requests ($20.00), the customer cancels their subscription using the Stripe-hosted customer portal, and the payment method attached to the subscription fails, what will the status of the subscription be?

steady tulip
#

i don't know what's the answer to this off the top of my head, but you can probably test it out on your own account

frozen sierra
#

How would we test a failed payment method that succeeds when the subscription is created though?

steady tulip
#

you can update the payment method used to the card that declines after attaching

#

i.e. the one ending with 0341

frozen sierra
#

Thanks

#

(apologies for formatting: copy and pasting) Ultimately, we want to know when we can subscribe the customer to
new products or whether to continue provisioning our services to them (all services/products are usage-based, metered).
If the customer currently has any outstanding payments (e.g. the case
above), we do not want to allow them to subscribe to new products
(all metered, usage-based) with us nor continue provisioning our
services. Is there any guidance on this?

steady tulip
#

there's no such feature right now in Stripe to prevent the customer from subscription if the customer currently has outstanding payments. That's something you'll need to build the logic yourself

frozen sierra
#

Thanks

frozen sierra
#

Do you know if the results of stripe.Subscription.list() are guaranteed to be ordered in any way?

halcyon citrusBOT
little fog
#

Hi @frozen sierra I'm taking over

#

The API reference doesn't indicate the order of the subscription list.

frozen sierra
#

Thanks

frozen sierra
#

Is it possible to use the subscription list API to get subscriptions not only for one status but for a list of statuses? There's the status parameter but I think it only accepts a string

#

For example, I might want to list subscriptions of a customer that have a status that is either "active" or "past_due"