#vilepala-reactnative-applepay
1 messages ยท Page 1 of 1 (latest)
Can you send the link to the GH page for the iOS issue?
Sorry took me a bit to find it https://github.com/stripe/stripe-ios/issues/2679
Unfortunately it looks like the RN SDK is still using a 23.8 version of the iOS SDK but the fix for this came out in 23.18.1
oh yeah sorry for late answer but thats it
So we still need to release a new version of the RN SDK to address this
okay, do u have any ETA? we have first testpilot in end of january so can you guys make it to that?
Hi ๐
I'm stepping in as my colleague needs to go. From what I can gather we do not have a specified release date for a new version of our RN SDK. I would not count on it being available in January.
hmm okay is there any other way that I can go around this problem. Like not collect card details at all when using apple pay etc?
You could not use Apple Pay, or disable saving payment methods but both of those sounds like unpleasant ideas.
yep. can I disable saving payment methods only when customer is using apple pay?
and save them if the customer uses card
Are you creating your payment intent before you present the payment sheet or after?
before present
Unfortunately I don't think there is a way to adjust this . I don't see a way to listen for the user selecting Apple Pay and changing how the PaymentSheet handles confirming the intent.
is it possible other way around?
If you are using our deferred intent flow, you can create/inspect the Payment Method before you create the intent. This would tell you if it's an Apple Pay card and even if it's the same card as already exists on the Customer (checking the card.fingerprint property https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-fingerprint )
This is the doc for that approach: https://stripe.com/docs/payments/accept-a-payment-deferred
any disadvantages in that aproach?
It's newer, and any misconfiguration between how you set up your PaymentSheet and the Intent you create will cause a failure, often without a clear explanation.
Happy to shed what ๐ก I can ๐