stripe-react-native icon indicating copy to clipboard operation
stripe-react-native copied to clipboard

Payment Sheet does not update properly when selecting Apple Pay from Add new Card View

Open JperF opened this issue 3 years ago • 0 comments

Describe the bug When adding apple pay via the new card screen the payment intent sheet does not properly update. When reopening the modal you enter on the add card screen and when tapping back no card is selected. However, apple pay is returned from the presentPaymentSheet call.

To Reproduce

  1. Have apple pay enabled
  2. Touch add new card
  3. Select apple pay
  4. Reopen card selection screen
  5. See that apple pay is not selected

Expected behavior After selecting apple app from the add new card screen the apple pay card should be selected when reopening the modal.

Screenshots Open add new card screen. Screen Shot 2022-06-21 at 12 07 16 PM Apple pay is not selected Screen Shot 2022-06-21 at 12 10 47 PM

Smartphone (please complete the following information):

  • Device: iPhone 13 pro Simulator
  • OS: iOS 15.4
  • Version "@stripe/stripe-react-native": "^0.12.0"

JperF avatar Jun 21 '22 19:06 JperF