unicodeveloper / laravel-paystack

:credit_card: :package: :moneybag: Laravel 6, 7, 8, 9, 10 and 11 Package for Paystack
https://paystack.co
MIT License
609 stars 314 forks source link

How to Dynamically Pick Keys from Database #129

Open Tobiijaware opened 3 years ago

Tobiijaware commented 3 years ago

I want to pick the keys from my database and not use constant keys in the Env file because i want different companies to use the Paystack platform on my software. how do I go about it?

bere6255 commented 3 years ago

you will have to learn how to encrypt and decrypt the keys to save them on you database but this is not advisable as it a big security risk on you company for holding private keys of other organizations