#sina
1 messages · Page 1 of 1 (latest)
Hello 👋
Hi
Can you share an example PaymentIntent ID?
Want to make sure I am on the same page here
Hmm looking at the charge object, the payment method details do exist
https://dashboard.stripe.com/test/logs/req_ANiRtV67J8W0mx
You're saying that the PaymentIntent returned by the processPayment function doesn't have that info?
https://stripe.com/docs/terminal/payments/collect-payment?terminal-sdk-platform=react-native#process-payment
Yes, these details definitely exist. Looks like Stripe Terminal SDK for React Native doesn't provide these data, unlike Javascript SDK. I just need a confirmation from Stripe support. I can't believe that SDK doesn't even get us last 4 digits of the card
If you retrieve the PaymentIntent again, do you see the charge reflecting those details? I wonder if its just the processPayment returned value missing those details.
Yes
Gotcha. I guess that could be a workaround for now. I'll need to reproduce this behaivor before I can flag it to our mobile team.
Would you mind writing into our support team via
https://support.stripe.com/?contact=true
Provide as many as details as you can about the issue
[11:37 a.m.] Sina Gholibeigi
Olha Bykovska there should be some manual function to call paymentIntent details in React SDK?[11:37 a.m.] Sina Gholibeigi
https://stripe.dev/stripe-react-native/api-reference/index.html#retrievePaymentIntent[11:44 a.m.] Olha Bykovska
Yes, I have just called this function after processPayment, and it contains charges data, but without payment method details:Â [{"amount": 400, "currency": "usd", "description": null, "id": "ch_3MnkqIE48Fm17Noq0YRTt6dk", "status": "succeeded"}]
And they must be included in charge object https://stripe.com/docs/api/charges/object#charge_object-payment_method_details
Specifically we need last4, exp month, exp year
Not clear how to pull it from react SDK
HI 👋 I"m stepping in as @frosty quest needs to go. I agree with them that this information should be relayed to our Support team at https://support.stripe.com/?contact=true