#Sandip
1 messages ยท Page 1 of 1 (latest)
For India issued card, 3DS is required as part of Indian regulation. I'd recommend checking this guide for saving the Indian card for future recurring payment: https://stripe.com/docs/india-recurring-payments
Thanks, Let me check this
No problem! Happy to help ๐
One more question, As like we are integrating this in Android app using stripe SDK, We create the ephemeral keys started payment session and present the payment method screen from stripe sdk. It is not allowing me to add card on payment page itself.
It is not allowing me to add card on payment page itself.
Can you share the screenshot or error message about this?
FYI, I'm suing the latest version of stripe sdk that is 'com.stripe:stripe-android:20.20.0'
Can you share the Payment Intent ID (pi_xxx) you used in this payment?
Let me generate new payment intent id
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
Payment method id is not yet generated, As it is not allowing allowing me add payment method itself
So the flow is like i generated ephemeral key with customer session, Open payment method page and try to add new card on that screen it is showing me this error
And this is other info which could help {"id":"ephkey_1Mo09KSJCAsyx413QBMc4mWy","object":"ephemeral_key","associated_objects":[{"id":"cus_LMnQLqdukEE0IE","type":"customer"}],"created":1679385750,"expires":1679389350,"livemode":false,"secret":"ek_test_YWNjdF8xS1FzaXBTSkNBc3l4NDEzLDN3SkxMYnU5SHRsOEo5dWFkNzZROWZFTkNPS1o5OWM_00Y5KWPpMd"}
what is the request ID? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Customer id and ephemeral key are only two ids which are generated before adding payment method
{"id":"ephkey_1Mo09KSJCAsyx413QBMc4mWy","object":"ephemeral_key","associated_objects":[{"id":"cus_LMnQLqdukEE0IE","type":"customer"}],"created":1679385750,"expires":1679389350,"livemode":false,"secret":"ek_test_YWNjdF8xS1FzaXBTSkNBc3l4NDEzLDN3SkxMYnU5SHRsOEo5dWFkNzZROWZFTkNPS1o5OWM_00Y5KWPpMd"}
Also on dashboard i cannot see the logs, As transaction is not yet started, This error message is showing while adding payment method and i guess transaction flow will start after that, Correct me if i'm wrong
Hey! Taking over for my colleague.
This error message is showing while adding payment method and i guess transaction flow will start after that, Correct me if i'm wrong
What is displaying that popup (the screenshot you've shared above)? how are you adding PaymetnMethod
I'm adding payment method by showing default payment method screen which is shown using paymentSession?.presentPaymentMethodSelection(null)
For Indian payments, you need to use SetupIntent or PaymentIntent in order to collect PaymentMethod and attach it to a customer.
I'll be looking for an example ....
You can start by checking the guide for saving card in India:
https://support.stripe.com/questions/guide-for-saving-cards-in-india
You can refer to this activity:
https://github.com/stripe/stripe-android/blob/master/paymentsheet-example/src/main/java/com/stripe/android/paymentsheet/example/samples/activity/LaunchPaymentSheetCompleteActivity.kt#L31
if you want to use SetupIntent replace presentWithPaymentIntentby presentWithSetupIntent
https://stripe.dev/stripe-android/paymentsheet/com.stripe.android.paymentsheet/-payment-sheet/present-with-setup-intent.html
OK. let me check