Flutterwave / React-Native

React Native library for Flutterwave for Business (F4B) v2 and v3 APIs.
https://developer.flutterwave.com/
MIT License
7 stars 14 forks source link

payment_options seems inconsequential #51

Open emasys opened 2 years ago

emasys commented 2 years ago

Irrespective of the selected payment_options, the modal will still show all the payment options initially enabled on the Flutterwave dashboard.

Also, any random string can be passed as the payment option and the model will still pop up its default card option.

This is probably one for the Flutterwave team to chew on - Some people don't want to disable other payment options from the dashboard, because they may prefer the users to use the card option on one platform and all options on another. Being able to toggle these options via your SDKs would be nice.

Example: URL - https://api.flutterwave.com/v3/sdkcheckout/payments If the req body includes payment_options = 'card'. Show only the card payment option, don't show the Change payment method button on your checkout frame.

daba-faith commented 12 months ago

Any update on this?, it's been more than a year