#H Panseriya
1 messages · Page 1 of 1 (latest)
Hi there, do you have the invoice ID?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
?
Ok, so you are using the upcoming invoice API.
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center 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.
👋 Taking over this thread, looking into it now
There's customer balance of $1,990.00 in customer's balance that will be applied to next invoice: https://dashboard.stripe.com/customers/cus_MthrSCnMJ3oWEw
Thanks for waiting! Discord is busy now
ok. Give me answer when you can
You can view the balance history here: https://dashboard.stripe.com/customers/cus_MthrSCnMJ3oWEw/balance_transactions
The balance was credited in this invoice that the coupon was applied: https://dashboard.stripe.com/invoices/in_1MKmkQER4mxFRmGRGk6NhymC
You can modify the customer balance with the guide here: https://stripe.com/docs/billing/customer/balance#modifying
Ok.
I want to give Buy 2 Months Get 1 Month Free. How can I do it on subscription plans?
Does the customer pay 2 months in advance?
1 month advance and then rest of 2 months free
Plan Price: $100
I want to give a discount for 1 month free if user pay the amount of two months in-front.
Sorry, I'm a bit confused here. "1 month advance and then rest of 2 months free" and "I want to give a discount for 1 month free if user pay the amount of two months in-front" contradicts with one another.
Are they two scenarios here?
No. only one scenario.
I want to give a discount for 1 month free if user pay the amount of two months in-front
One way I can think of is that you apply 100% off coupon in the next invoice. When invoice.created event is sent for next cycle which the invoice is still in draft state, you apply the coupon to the invoice, so that user doesn't have to pay.
Can I know what is the proper way to do like this?
The above suggestion will work. Do you have any concern with it?
Without adding in invoice, Can we do it in subscription itself?
One way I can think of is to use Subscription Schedule API where you schedule the next cycle to run with trial/free
The steps will be:
- Create the Subscription Schedule on existing subscription: https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#existing-subscription
- Update Subscription Schedule created in Step 1 where the first phase is current phase (don't change anything), and second phase with
iteration: 1will be the one set withtrial: true: https://stripe.com/docs/api/subscription_schedules/update
OK. Thanks
How to deduct the amount of two months in a single shot while creating a new subscription?
You can have price with quantity of 2. In the Subscription Schedule, the quantity in the second phase can be reduced to 1. You can have iteration set to 2 that no payment will be made for the next two cycles. For example,
- First phase: $100 * 2 = $200 (First month)
- Second Phase: Trial for 2 months (Second and third month - no payment collection)
Ok. Thanks