#Sudarshanan G

1 messages · Page 1 of 1 (latest)

signal pivotBOT
devout hollow
#

This PaymentIntent requires an on-session action. Please get your customer back on session and re-confirm the PaymentIntent with a payment method when the customer is on session.

north spade
#

Hi there 👋 can you provide more details about the behavior you're seeing as expected in test mode but not in live mode?

devout hollow
#

I'm storing the card of the customer while charging a subscription and making it as default method. It works fine in the test environment but not in live mode

north spade
#

That's surfaced when the issuer of a customer's card requires that the customer complete an authentication challenge.

#

Making sure the payment method is fully set up before using it can help alleviate those occurrences, but it's not possible to fully prvent them as it's ultimately up to the issuer to decide when they require those authentication challenges to be completed.

devout hollow
#

can you share with me a proper document for the auto-renewal subscription process?.

devout hollow
#

i'm using laravel and react in my applications

north spade
#

Just the Laravel framework, or are you using Laravel Cashier as well?

devout hollow
#

I'm using this package stripe/stripe-php

devout hollow
north spade
#

Do you have the ID of a Subscription, it would start with sub_

devout hollow
#

yes I have sub_1NgUvmSIsmtgMolIacdtKtm0

north spade
devout hollow
#

okay okay

north spade
#

It sounds like you want to set the default payment method. That can be done either at the Customer level:
https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method
or at the Subscription level:
https://stripe.com/docs/api/subscriptions/update#update_subscription-default_payment_method

Setting it at the Customer level applies to all Subscriptions for that Customer unless the Subscription has a default_payment_method defined directly on the Subscription object.