Flutterwave / React-Native

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

CORS issue #28

Open GQuantrill opened 3 years ago

GQuantrill commented 3 years ago

Hello,

I'm integrating the flutterwave-react-native library as part of Adalo app builder. Essentially, you make plugins for the app using reactive native.

When I attempt to use the FlutterwaveInit, the connection is request but there are options associated to the HTTP call. How do we deal with these?

Access to fetch at 'https://api.flutterwave.com/v3/sdkcheckout/payments' from origin 'https://previewer.adalo.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.