#rubs

1 messages · Page 1 of 1 (latest)

wraith galleonBOT
next fable
#

Hi there! Can you share the event ID or the invoice ID?

meager folio
#

Hi ! Yeah there is the event id

#

"id": "evt_1MvjEtB6GLhKrgGArUYodxRh"

next fable
#

thanks! this is expected for $0 invoices

#

an invoice is created an automatically paid but there's no way to create a PaymentIntent for amount: 0 so no PI is created

meager folio
#

but I see into plan object

#

"plan": {
"id": "price_1Jc4ZCB6GLhKrgGACkLewxpa",

#

which is set to 144$ / year

#

Ok I see a discount

wraith galleonBOT
meager folio
#

"subscription": "sub_1MvjERB6GLhKrgGAGq3nZtX4",
"subtotal": -1200,
"subtotal_excluding_tax": -1000,
"tax": -200,
"tax_percent": null,
"test_clock": null,
"total": -1200,
"total_discount_amounts": [
],
"total_excluding_tax": -1000,
"total_tax_amounts": [
{
"amount": -200,
"inclusive": true,

#

seems to be that ?

#

sorry for the raw code

next fable
#

it looks like a proration is in play. take a look at the line item description

#

there's a negative amount for "unused time"

meager folio
#

unused time ? but it is a new subscription

#

how ok it is an upgrade of a subscription

#

Thanks I think I can investigate by myself from now

#

thanks for your help