Open ishgem opened 5 years ago
Am surely new to Laravel... I wanted to integrate this package but the error is "message": "Class 'App\Http\Controllers\Yabacon\Paystack' not found",. And I have used the namespace. I will be glad if someone could help me out. Thanks!
Change this $paystack = new Yabacon\Paystack(SECRET_KEY); to this $paystack = new \Yabacon\Paystack(SECRET_KEY);
Take not of the \ before the Yabacon indicating the root With that you are good to go.
Am surely new to Laravel... I wanted to integrate this package but the error is "message": "Class 'App\Http\Controllers\Yabacon\Paystack' not found",. And I have used the namespace. I will be glad if someone could help me out. Thanks!