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

We could not charge this card. Reason: val.replace is not a function #33

Closed oluoyefeso closed 2 years ago

oluoyefeso commented 3 years ago

According to the Readme line 303, FlutterWaveInitOptions, meta value can receive an array of objects. But passing an array of objects makes it throw the error "We could not charge this card. Reason: val.replace is not a function". To avoid the error, I had to pass one meta value (object), not an array.

thecodecafe commented 2 years ago

Hi @Blac-Panda, thanks for this correction, we'll make changes to the documentation with respect to this.