Skip to content

payment_options seems inconsequential  #51

@emasys

Description

@emasys

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions