#shudhanshu_59118

1 messages · Page 1 of 1 (latest)

light iglooBOT
gaunt sundial
#

Hi there!

#

How can I help?

#

There's no error with req_6OwdRraTdekmwI that you shared.

summer mural
#

req_6wNviKAUYWxiTR

gaunt sundial
#

This customer has no default payment set, so it's expected to fail.

#

What are you trying to do? Reuse the payment method saved on the customer, or collect a new payment method?

summer mural
#

I want to use the saved card on the customer and create a subscription form that saved card

gaunt sundial
summer mural
gaunt sundial
#

Can you share a Subscription ID (sub_xxx) with this issue?

summer mural
#

sub_1O2BbXSFXTYvwKhVB36A0gfK

gaunt sundial
#

But taking a step back, why are you doing this? In general we recommend to first create a Subscription, and then use the PaymentIntent created by the subscription to collect a payment method.
Your approach of first collecting the payment method and then creating the subscription has a big downside: the bank may request 3DS two times in a row: first when creating the payment method and then we trying to charge for the first month of the subscription.

#

sub_1O2BbXSFXTYvwKhVB36A0gfK
This subscription is active, so I don't see any issues

summer mural
#

The thing is i don't want my customer to enter card details every time he subscribe to a susbscription

#

My client wants to add card details only one time

gaunt sundial
#

Yes sure:

  1. For the very first subscription, first create the subscription, then use the PaymentIntent created by the subscription to collect a payment method
  2. For the next subscription, don't collect a payment method, just reuse the one saved on the customer
summer mural
#

How can i use use the payment method saved by the customer ?

dim fractal
#

I want to add coupon on subscription on minimum order condition but there is only one option to add promotion code for minimum order. Do we have any option to add coupon on minimum order only.

summer mural
#

On the server end

gaunt sundial
#

@dim fractal please open a new thread in #dev-help with your question

summer mural
#

@gaunt sundial Hi, this is the new Subscription Id :- sub_1O2CR1SFXTYvwKhV9NHkz7jv which i have created but its status is Incomplete but the customer has a default Payment Method.

gaunt sundial
#

So you need to confirm the PaymentIntent on the frontend. Or use a test card that don't require 3DS.

summer mural
#

Are there any test card which don't require 3DS

#

I have to show a client demo today

gaunt sundial
summer mural
#

@gaunt sundial I have checked with the Ameican Express card 371449635398431 and the Subscription status is showing Active 🥳 .

#

But how can i handle those card which require 3DS