React-Native icon indicating copy to clipboard operation
React-Native copied to clipboard

payment_options seems inconsequential

Open emasys opened this issue 3 years ago • 1 comments

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.

emasys avatar Aug 24 '22 10:08 emasys

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

daba-faith avatar Oct 23 '23 15:10 daba-faith