Adyen / Adyen/adyen-react-native

Add shopperInformation to CardsConfiguration

Open
#467 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Android SDK enhancement
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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.