#dsal-reactnative-paymentmethod
1 messages · Page 1 of 1 (latest)
@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.
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.
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?
Mobile app Android and iOS - React Native SDK
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
sorry, will do shortly.
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
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"
}
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