#gunwant_dev

1 messages · Page 1 of 1 (latest)

keen patrolBOT
fast crescent
#

it's null in this case because the Customer already has a PaymentMethod which is set up, a far as I know.

#

a SetupIntent is only returned if one is needed, if the customer already has a set up card as their default, we don't return one

jovial sleet
#

Sorry, I have added a new customer. It's not an existing customer.

fast crescent
jovial sleet
#

Okay.
Is there any way to get client_secrete ?

fast crescent
#

there's no SetupIntent, so there's no client_secret, and you don't need to collect any card details. So you should just handle this case in your code and do nothing, just tell the customer the subscription was started successfully.

jovial sleet
#

Okay

#

Can you please chek it for this subscription: "sub_1Lh8ilGHf1WlTIAfAKirw8mH"

fast crescent
#

not sure, I think we only generate the pending_setup_intent if 3D Secure is needed by regulations like SCA in Europe or Indian RBI bank rules, and that Stripe account is in the US so none of that applies

#

if you really need to collect the customer's details before/during the trial period, I would just create directly and use a SetupIntent yourself since that would always work.

jovial sleet
#

Okay