Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curreny warning and modal takes long to pop up #13

Closed
the22mastermind opened this issue Dec 9, 2020 · 2 comments
Closed

Curreny warning and modal takes long to pop up #13

the22mastermind opened this issue Dec 9, 2020 · 2 comments

Comments

@the22mastermind
Copy link

Issues

  1. I am getting the following warning when the component mounts:
    Warning: Failed prop type: Invalid prop options.currencyof valueRWFsupplied toPayWithFlutterwave, expected one of ["GBP","NGN","USD","GHS","KES","ZAR","TZS"]. in PayWithFlutterwave (at App.js:21)

  2. The modal takes long to pop up (about 6 seconds).
    Is this the normal behaviour? I would prefer to have it pop up at the touch of button (1 second max), How could I achieve this?

My code
<PayWithFlutterwave onRedirect={handleRedirect} options={{ tx_ref: 'unique_tx_ref', authorization: 'MY_PUBLIC_TEST_KEY', customer: { email: 'customer@domain.com', name: 'John David', }, amount: 15000, currency: 'RWF', payment_options: 'mobilemoneyrwanda', }} />

My dependencies
"dependencies": { "flutterwave-react-native": "^1.0.2", "react": "16.13.1", "react-native": "0.63.4", "react-native-webview": "^11.0.2" },

@corneliusyaovi
Copy link
Contributor

Hello @the22mastermind ,

Thank you for bringing this to our attention.

Kindly be informed that the team has deployed a bug fix to address the issue raised. Please update your npm package and retry the charge.

Regards,
Cornelius from Flutterwave

@the22mastermind
Copy link
Author

Hi @Corvus97 ,

Thank you for the prompt response. I updated the package and everything is working okay now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants