#.minalv
1 messages · Page 1 of 1 (latest)
What issue do you mean?
After creating subscription. it show incomplete state intead of active .and it due to invoice showing in open state
If you look at the PaymentIntent of that invoice, what status is it?
It's possible that the Card Issuer will still request 3DS even if it was originally authenticated via SetupIntent
You would want to handle that case anyway
Checking
yes payment intent status showing required_action status
but we are using setup-intent and we have handled the required_action then why it showing in payment intent?
Yes that I mean, it can still happen. It's ultimately depends on the card issuer
Did you pass off_session = true?
Try it first
yes i tried with off_session = true
We want to charge immediately on subscription create
On the SubscriptionCreateParams? because I don't see on your code above
SubscriptionCreateParams subscriptionCreateParams = SubscriptionCreateParams.builder()
.setCustomer(customerId)
.addItem(
SubscriptionCreateParams.Item.builder().setPrice(subscriptionPlanId).build()
)
.setCollectionMethod(SubscriptionCreateParams.CollectionMethod.CHARGE_AUTOMATICALLY)
.setDefaultPaymentMethod(paymentMethodId)
.setOffSession(true)
.build();
return Subscription.create(subscriptionCreateParams, connectStripeThroughRequestOption());
even we have tried with remove DefaultPaymentMethod so it can use from the customer default source. still not luck
Okie it's not really "luck" here, as I mentioned that can still happen in Live mode and is up to the issuer