#DavidGallardo-invoices
1 messages · Page 1 of 1 (latest)
Can you share the API response to that request? We don't log them so I can't see it
Looks like there's a discount applied:
"discount": {
"id": "di_1KswRUFM9jDuA8CD280fD8w9",
"object": "discount",
"checkout_session": null,
"coupon": {
"id": "Xa3X7zb9",
"object": "coupon",
"amount_off": 32369,
"created": 1650354309,
"currency": "eur",
"duration": "forever",
"duration_in_months": null,
"livemode": true,
"max_redemptions": null,
"metadata": {},
"name": "Lourdes",
"percent_off": null,
"redeem_by": null,
"times_redeemed": 1,
"valid": false
},
"customer": "cus_GcnT4AA7tcEsKS",
"end": null,
"invoice": null,
"invoice_item": null,
"promotion_code": null,
"start": 1651010400,
"subscription": "sub_1KswRUFM9jDuA8CDA2ImFAQQ"
},
Hmmm, don't think that's for the full amount
Ah, I think its because you're passing both subscription & subscription_items paramaters
You can't use both
So in this example, sub_1KswRUFM9jDuA8CDA2ImFAQQ is subscribed to price_1LE88nFM9jDuA8CDECIUI51S
But there's also the existing discount on the sub, which deducts €323,69
How to remove discount?
I dont see in Stripe Dashboard
To calculate the cost I have to add the existing subscription.
A line with the 39 items that you already have contracted
and two lines with the new different items that you are going to hire.
It returns the total to pay.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
You'd remove it from the subscription