#sina

1 messages · Page 1 of 1 (latest)

tired laurelBOT
frosty quest
#

Hello 👋

hollow wedge
#

Hi

frosty quest
#

Can you share an example PaymentIntent ID?
Want to make sure I am on the same page here

hollow wedge
#

Checking

#

pi_3MnjDEE48Fm17Noq18hHfBgv

frosty quest
hollow wedge
#

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

frosty quest
#

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.

hollow wedge
#

Yes

frosty quest
#

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

tired laurelBOT
hollow wedge
#

[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

pseudo lake