Closed rebootcode closed 4 years ago
Hi,
I want to store the following value inside the database:
PAYSTACK_PUBLIC_KEY=xxxxxxxxxxxxx PAYSTACK_SECRET_KEY=xxxxxxxxxxxxx PAYSTACK_PAYMENT_URL=https://api.paystack.co MERCHANT_EMAIL=unicodeveloper@gmail.com
and in Payment Controller, fetch these values from the database and use it in the controller, without "env". How can I override above value inside controller?
Payment Controller
@unicodeveloper any help on it?
I had old paystack version - new paystack has config file - https://github.com/unicodeveloper/laravel-paystack/blob/master/resources/config/paystack.php
It's easy now.
Thanks
Hi,
I want to store the following value inside the database:
and in
Payment Controller
, fetch these values from the database and use it in the controller, without "env". How can I override above value inside controller?