#gunwant_dev
1 messages · Page 1 of 1 (latest)
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
Sorry, I have added a new customer. It's not an existing customer.
not sure what you mean, it has a saved card (https://dashboard.stripe.com/test/customers/cus_MPyBhwZ8PmPetF)
Okay.
Is there any way to get client_secrete ?
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.
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.
Okay