#bhavindesai_41734

1 messages · Page 1 of 1 (latest)

clear pikeBOT
shadow merlin
#

Hi! Let me help you with this.

solar yoke
#

Is it not possible to use the customer portal to collect the payment method while they add the payment method, they can apply coupon code?

shadow merlin
#

It's used for updating the PaymentMethod, but in your case no PaymentMethod is set. Stripe Checkout is better for this.

solar yoke
#

Okay, let's assume I am using a checkout session for this. What will happen?

Will it create a new subscription or update the existing one by applying the coupon code and adding a payment method?

shadow merlin
#

The idea is to collect the Payment Method for future use, and then attach it to the Subscription before the trial ends.

#

I now realise you might not be able to use the coupon code in this case. But it's also not possible via Customer Portal. You will need to handle it on your website.

solar yoke
#

Got it!

#

In case we want to apply coupon code to any existing subscription, we can still do it from the Stripe Dashboard, right?

#

**existing subscription means, customer whose subscription is active, trial has been ended, payment method is there and want to give discount

shadow merlin
solar yoke
#

Got it. How will the discount be applied?

Let's assume I am creating a subscription with a 14 days trial. After the trial, the customer is charged $30.

Now if I apply a coupon(50% off) via API to update the subscription, will the customer get $15 off next time for the second-month payment?

shadow merlin
#

Yes