Adyen / adyen-react-native

Adyen React Native
https://docs.adyen.com/checkout
MIT License
42 stars 32 forks source link

Add shopperInformation to CardsConfiguration #467

Open dragomir-ivanov-212 opened 3 weeks ago

dragomir-ivanov-212 commented 3 weeks ago

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

descorp commented 2 weeks ago

Hey @dragomir-ivanov-212

Thanks for feedback 💚 Will add to the backlog!