Closed iampapagray closed 1 year ago
Your controller is missing **use Paystack;**
at the top
I'm having same issues here even when i have referenced the use Paystack at the top
I'm having same issues here even when i have referenced the use Paystack at the top
Did you...
Also, register the Facade like so:
'aliases' => [
...
'Paystack' => Unicodeveloper\Paystack\Facades\Paystack::class,
...
]
It's working now thanks
On Sat, Sep 9, 2023, 1:59 AM goodmuyis @.***> wrote:
I'm having same issues here even when i have referenced the use Paystack at the top
Did you...
Also, register the Facade like so:
'aliases' => [ ... 'Paystack' => Unicodeveloper\Paystack\Facades\Paystack::class, ... ]
— Reply to this email directly, view it on GitHub https://github.com/unicodeveloper/laravel-paystack/issues/168#issuecomment-1712368178, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP44RN67FDW6FAFAKMQLCWDXZO5NXANCNFSM6AAAAAAU73VFLE . You are receiving this because you commented.Message ID: @.***>
Thank you for this library.
I'm using this on Laravel 9. i added
'Paystack' => Unicodeveloper\Paystack\Facades\Paystack::class,
to myconfig/app.php
in thealiases
array like so:However, in my controller when i do
Paystack::getAllCustomers()
VSCode underlinesPaystack
. And intelliphense gives error message asUndefined type 'Unicodeveloper\Paystack\Facades\Paystack'
Is there something i'm missing? Kindly help