Adyen / Adyen/adyen-react-native
Add shopperInformation to CardsConfiguration
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 71
- Forks
- 45
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 1
Description
Is your feature request related to a problem? Please describe.
The ability to pass shopperInformation: PrefilledShopperInformation is missing (always nil in iOS; I haven't looked into Android).
For our use case, feature parity with the native SDKs is required. We use it to pass prefilled shopperName/cardHolderName, known to us at checkout.
Describe the solution you'd like
Add shopperInformation: PrefilledShopperInformation (full or partial) as a prop to CardsConfiguration. Parse and pass it to the native SDKs.
Describe alternatives you've considered
Alternatively, only allow shopperName as a top-level configuration and construct a partial shopperInformation config.
Additional context
shopperInformation is always nil
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at ios/Configuration/CardConfigurationParser.swift near the linked line, then trace CardsConfiguration’s TypeScript definition and its native mapping. Confirm how shopperInformation should reach the native SDKs on each platform; done means the prop accepts the requested full or partial value and it is no longer nil when passed through configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, swift, typescript
- Domain
- mobile, payments
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100