#ilyeselb
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- ilyeselb, 3 days ago, 14 messages
No, you can only use one-time price when creating a new invoice.
is there a way to pay for 2 subscription , for exemple we have one subscription for a type of product and an other for another one , i want the user when he is about to buy the first one we show him the second one with a discount and let him buy both in the same checkout
Yes you can, if they are in the same billing interval (i.e., monthly)
how ? can i do that ?
Yup, have you tried?
it would depend exactly how you integrate currently. But for example you can pass multiple items, and discounts ,to the line_items on the Checkout API.
which specific API are you referring to/intending to call?
i want to create an invoice item with diffrent recurrent product price , and then make the user pay that invoice
and then create the subscription that will start to be billed next month with create scheduled product
I don't really understand.
just how to create invoice item with recurrent product id
in api
we have specifc flow too complicated to explain to you
well usually invoice items with recurring Prices are created as a result of having a Subscription that is subsribed to those Prices, it generates an Invoice each billing period with those Prices in the line items.
If you're creating a one-off Invoice(https://stripe.com/docs/invoicing/integration) , those only accept one-time Prices, not recurring.
i tested on the dashboard stripe direclty and succeed to add 2 subscriptions two an invoice creation items
so i can do that on the dahsboard but not by api ?
sorry but I can't follow at all
let me explain
succeed to add 2 subscriptions two an invoice creation items
maybe share with me the Subscription sub_xx or Invoice in_xxx that you created in the Dashboard just now so I can understand what you did?
i have many product (reccurent and not reccurent)
i want to make the user pay for two reccurent that can be billied diffrently(month or year) , in a one time payment (like a package) and then when the payment is done , i will create a scheduled subscription for each one of them to start be billed in specefic date
well again, you can not use a recurring Price in a one-time payment or one-time Invoice, which I think is what you're asking. And you can't have a Subscription that uses recurring Prices with different billing periods(month and year)
you can process a combined one-off payment and then create the Subscriptions later, sure. That's a workaround we sometimes recommend for setting up multiple subscriptions using incompatible Prices.
to do that you will need to either just use a raw PaymentIntent for an amount you calcuate, or create one-off Prices (equal to the cost of one billing period for example) and use those in a one-time Invoice and charge that.
is that what you're asking? Again it would be a lot easier if you could show me some technical details here like code or object IDs...
thanks i understand for the the raw payment intent for an amount we calculate how to do that
you call https://stripe.com/docs/api/payment_intents/create#create_payment_intent-amount with the amount you want to charge. Not sure I follow.
okay thanks
i have an invoice that i created ons tripe
stripe
dashbaord
you can check what i want
I could if you shared the ID of the Invoice object in_xxx.
yes sure just a second please
im not the one in charge of that so im waiting
thaks
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
okay im waiting for the invoice from my colleeg
take your time
still waiting , he gave me an invoice pdf but we need the id right ?
at this point, I think it's best to take this async. you can contact https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
and send them the details when you get them
okay thank you
if you still here
he is about to send me that
now
sorry for the waiting time
in_1OCJa1GyOBDbEOMCgzwnMj5V
this is the invoice
i want to create an invoice for a user so he will be able to pay for two reccurent product price in one time payment invoice , we can do that on stripe dahsboard n but not with api
that invoice is generated on dashboard stripe panel
i want to reproduce that with api
the prices on the invoice you shared are not recurring prices
but he used reccurent prices
not true
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
this is a one-time price
and this is the other one https://dashboard.stripe.com/test/prices/price_1OCKACGyOBDbEOMCvL7Pt0ev
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
also one-time