#H Panseriya

1 messages · Page 1 of 1 (latest)

haughty crownBOT
lone wagon
#

Hi there, do you have the invoice ID?

wooden jolt
#

?

lone wagon
#

Ok, so you are using the upcoming invoice API.

wooden jolt
#

req_sCZIlbWOQMWiyP

#

I want to know reason why next invoice amount is $0.0.

mint lotus
#

👋 Taking over this thread, looking into it now

wooden jolt
#

How to remove the balance? AND also let me know how credited the balance?

#

?

mint lotus
#

Thanks for waiting! Discord is busy now

wooden jolt
#

ok. Give me answer when you can

mint lotus
wooden jolt
#

Ok.

#

I want to give Buy 2 Months Get 1 Month Free. How can I do it on subscription plans?

mint lotus
#

Does the customer pay 2 months in advance?

wooden jolt
#

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.

mint lotus
#

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?

wooden jolt
#

No. only one scenario.

I want to give a discount for 1 month free if user pay the amount of two months in-front

mint lotus
#

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.

wooden jolt
#

Can I know what is the proper way to do like this?

mint lotus
#

The above suggestion will work. Do you have any concern with it?

wooden jolt
#

Without adding in invoice, Can we do it in subscription itself?

mint lotus
#

One way I can think of is to use Subscription Schedule API where you schedule the next cycle to run with trial/free

wooden jolt
#

OK. Thanks

#

How to deduct the amount of two months in a single shot while creating a new subscription?

mint lotus
#

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,

  1. First phase: $100 * 2 = $200 (First month)
  2. Second Phase: Trial for 2 months (Second and third month - no payment collection)
wooden jolt
#

Ok. Thanks