#ironbeard-sub-free-invoice

1 messages · Page 1 of 1 (latest)

sharp radish
#

Hi there! Yeah there are a few options here. You can check the amount on the invoice as you stated or you can check the status of the Subscription, which will be active if no payment is required.

errant pendant
#

Oh, nice. But if I have an existing paid subscription then later update it to add an item with a 100% off coupon, wouldn't that situation require checking the amount?

sharp radish
#

Ah I thought this was only on creation.

#

So yes, in that case you don't want to check Sub Status if this is relevant to renewals as well.

#

The other way to handle this is that you will know it is a free period if there is no PaymentIntent as you stated.

#

So if there is a latest_invoice and the PI is null then no reason to show that any payment is necessary.

errant pendant
#

Gotcha, I think that's the way to go. Thanks!

#

Then if the coupon is 100% off only for one period (year) and they're a new customer/subscription (create, not update) will try just get the emails to add a payment method in one year due to failed invoices?

sharp radish
#

You will lose conversion if you wait until they renew.

errant pendant
#

I'll look into that, thanks! I think my boss will require that they be able to do it without adding any payment info, regardless of whether they will convert in the future or not.

sharp radish
#

Yeah it is less friction on the customer up front if you don't collect, but lower conversion.

errant pendant
#

Gotcha, thanks:)

sharp radish
#

Sure thing!

errant pendant
#

So I'm mirroring some Stripe models in my local database, and I have an Invoice model that had a (required) foreign key to my PaymentIntent model. But, in this case I have an Invoice without a PaymentIntent.

Would you say it's safe to say that every PaymentIntent has an Invoice, even though not every Invoice has a PaymentIntent?

sharp radish
#

If you are only using Subs/invoices then yes. You can also create one-off PaymentIntents so what you are saying isn't future-proof.