#rannooo-Subscription

1 messages · Page 1 of 1 (latest)

inner berry
shrewd loom
#

req_Hl5lsvCf48Ian3
☝️ now this is the correct one 😄

inner berry
#

Thanks for the info.

This is the expected because unlike metered price/product , a unmetered price/product is pre-paid -> which means your customer will need to make the payment immediately when they subscribe, and that's why a paymentMethod is required.

shrewd loom
#

Aha, so all metered prices are post-paid. That makes sense. And my workaround for this issue was exactly this - creating an metered standard price, but I just always send usage record of 1 and it works out OK in our invoices

#

But what now happens after the 30th of june arrives and the invoices are actually created in Stripe? The customers still do not have payment methods, will this usecase then throw errors?

#

I do not seem to find a payment method for "manual bank transfer" ?

inner berry
#

You've specified 1656536400 as the billing_cycle_anchor so the invoice will be created at 29 June 2022 21:00:00 UTC instead of 30 June. Stripe will attempt to pay the invoice but the payment will fail because there's no payment method available.

Instead of auto advance, You can also set the subscription's colleciton_method to send_invoice, so that your customer will receive a Stripe hosted invoice, where they can make the payment.

shrewd loom
#

What consequences will this cause for the customer/subscription/payment if the payment fails immediately?

#

hmm, now that I set
collection_method: 'send_invoice',
days_until_due: 14,

#

The invoice is created immediately and with 0 usage

inner berry
shrewd loom
#

aha, this 0-invoice is the same that is also generated with non-send-invoice collection method