react-ravepayment
react-ravepayment copied to clipboard
ReactJS library for implementing RavePay payment gateway
The latest version (^3.0.0) is not working in production mode, it keeps saying "invalid public key" even after passing isProduction=true. I had to revert back to the previous version
since the config object is used by the useRavePayment hook, there is no way to change the amount after the hook is called. And we cant also defer the calling...
When i use Component or Function both case in give this error ``` useRaveScript webpack:///~/react-ravepayment/dist/index.es.js:60 useRavePayment webpack:///~/react-ravepayment/dist/index.es.js:122 new webpack:///src/components/Booking/Payment/FlutterWave.js:19 http://localhost:3001/assets/vendor.js:338561:24 instantiate webpack:///~/react-proxy/modules/createClassProxy.js:103 flutterwave (http://localhost:3001/assets/vendor.js:338576:22), mountIndeterminateComponent webpack:///~/react-dom/cjs/react-dom.development.js:13381 beginWork webpack:///~/react-dom/cjs/react-dom.development.js:13821 performUnitOfWork webpack:///~/react-dom/cjs/react-dom.development.js:15864...
I keep getting an invalid email message when the modal pops up
I have added the redirect_url to the config like this; ``` const redirectUrl = window.location.path + WATCH + '/' + singleEvent.event.sessionId + '/' + singleEvent.event.sessionToken; const config = { PBFPubKey:...
`payment_options` props not working `payment_options="card" ` still brings out all the payment options on Rave...
Your union type declaration for Currency has no string and so it cannot be passed as a config parameter in the object declaration to useRavePayment hook.