#dsal-reactnative-paymentmethod

1 messages · Page 1 of 1 (latest)

woeful axleBOT
muted trail
#

@mellow moth Hello! Can you provide more context around your integration? There are dozens of ways to integrate Stripe and you didn't mention which platform, which SDK, etc.

mellow moth
#

1- To explain better the issue, I am attaching this short video. Where I am able to select the payment method on the Stripe UI but when I press "set-up" it just automatically selects the first out of 2 cards and not the card selected during PaymentMedthod.

Currenlty using version 29 of the Stripe library. Will confirm the SDK shortly.

muted trail
#

I don't really need a video, just the SDK you use. We have dozens of products and solutions, various UI elements, web and mobile, etc. If you can explain what you are doing that would help, like Android or iOS app? With the official SDKs or a third-party?

mellow moth
#

Mobile app Android and iOS - React Native SDK

muted trail
#

Thanks, that last bit was the crucial part. Now can you share the exact coe relevant to that view. I need to know how you initialize that view and where you are trying to get the PaymentMethod id

#

dsal-reactnative-paymentmethod

mellow moth
#

sorry, will do shortly.

muted trail
#

Okay while we wait I asked my team and based on your video we think you need to retrieve the SetupIntent after this flow to see the payment_method property

mellow moth
#

Thanks. Let me know if the following & attached is helpful to get more context. My team is mentioning that PaymentMethodID goes from backend.

"data": [
{
"id": 0,
"is_default": false,
"status": "",
"card_type": "mastercard",
"card_last_4_digit": "4444",
"expiry_date": "10/2025",
"stripe_card_id": "pm_1O1schGIcDWf4swC0Rl0JZbe",
"stripe_card_token": "",
"stripe_customer_id": "",
"card_number": "",
"fingerprint": "nUDzwxZ1wFT5bgmx"
},
{
"id": 0,
"is_default": true,
"status": "",
"card_type": "visa",
"card_last_4_digit": "4242",
"expiry_date": "10/2025",
"stripe_card_id": "pm_1O0pvCGIcDWf4swCz0ZSXkV9",
"stripe_card_token": "",
"stripe_customer_id": "",
"card_number": "",
"fingerprint": "I2FpfoLVHxD2grDf"
}

muted trail
#

I'm sorry this is just a dump of JSON with a picture.

#

Are you the experienced developer writing all the code? If no, we should stop to avoid 2 hours of back and forth between us and your developer(s) through you

#

If you are, please ask the clear question you are trying to get answered because it's really hard to say without more context