Adyen / Adyen/adyen-react-native

Providing a method to close the payment UI from outside AdyenCheckout

Open
#454 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement v3
Dominant language
TypeScript
Stars
71
Forks
45
Avg merge
2d 5h
Merged PRs (30d)
1

Description

Describe the bug
When I finish a PayPal / Klarna / ... payment and get redirected back to the app, in case I want to do a checkout again, the drop in does not open and Xcode reports the following:

Attempt to present <Adyen.DropInNavigationController: 0x109ae9c00> on <RNSScreen: 0x10912cc00> (from <RNSScreen: 0x10912cc00>) whose view is not in the window hierarchy.

This happened in version 2.0.0-rc1 when I updated from version 1, including react-native-screens, updating from 3.18.2 to 3.27.0

Only a app restart (kill the app and restart) helps.

Any ideas?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reproducing the PayPal or Klarna flow described in the issue, then trace how the payment UI is presented after returning to the app; done means an external close method exists and the Drop-in can be opened again without the reported hierarchy error.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile, payments
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.