Flutterwave / PHP-v3

PHP Library for Flutterwave v3 APIs
MIT License
18 stars 17 forks source link

Integration in CodeIgniter 3 #55

Closed phplime closed 1 year ago

phplime commented 1 year ago

Hi, How can I verify a transaction without a .env file The problem is when trying to integrate it for multiple users we can't create .env files for all users. Need to pass the keys via parameters, how can i do this?

bajoski34 commented 1 year ago

HI @phplime

trust you are doing fine. just wanted to know if you still need help with this.

bajoski34 commented 1 year ago

for custom configuration, you can simply create a class that implements the ConfigInterface and simply pass the secret_key, public_key, encryption key, and env values.

phplime commented 1 year ago

Hi @bajoski34 Thank you for getting back to me. Yes, I got the solution and successfully verified the transaction.

bajoski34 commented 1 year ago

Great to hear that @phplime. if you have any requests or ideas to better improve the SDK. do let us know. Thanks for choosing Flutterwave.