#darkon7446
1 messages · Page 1 of 1 (latest)
Hello! Not sure I understand the question
good morning. I have an annual subscription
i added api that add products to current subscription
so for example 1 january i start annual subscription
for 100 euro
after 3 month i add product to current subscrioption
product of 20 euro
next year i pay 100 + 20
(when subscription renew)
how can i add charge 20 after add and not next year?
So you only want to charge the €20 one-time?
no every year
i don't want to lose current year
after renew the price will be correct
but in the current year they will not pay the extra product
Then you'd just add a new item to the existing subscription via a schedule: https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#changing-subscriptions
this will change che schedule of the original subscription too?
jusy to be clear, i have 1 january - 31 december subscription
on march i add product
the original subscription will not be changed
but i wanto to charge on march the price of the extra product not waiting 1 january of next year
Hmm, you can't easily do that
is there an api that charge user for a custom amount just for that year?
next year all will be ok
Hmm, I think you'd need to add it as a one-time initially and then add it later as an item on the subscription to bill on January 1st again
so i add to subscription and for next year i am ok and in the same time i request a one time payment, correct?
This is what you'd do:
- Add a invoice item to the subscription (https://stripe.com/docs/api/subscriptions/update#update_subscription-add_invoice_items) and set the
pending_invoice_item_interval(https://stripe.com/docs/api/subscriptions/update#update_subscription-pending_invoice_item_interval) according to bill for the €30 - This will charge a one-time €30 separate from the recurring €100
- You will then need to add a new item to the subscription to that it becomes a recurring item. I'd recommended doing that via a schedule I shared above
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok thank you i will try that
sorry, this one can work too? https://stripe.com/docs/billing/invoices/subscription?locale=it-IT#first-invoice-extra