unicodeveloper / laravel-paystack

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

In paystackServiceProvider.php line 34 Call to undefined function Unicodeveloper\Paystack\config_path() #39

Closed marvinjude closed 4 years ago

marvinjude commented 6 years ago

I am using this package in my lumen API, I have registered the service provide like so

$app->register(Unicodeveloper\Paystack\PaystackServiceProvider::class) ;

And also added the paystack.php to my config folder. But I still keep getting this error

In paystackServiceProvider.php line 34 Call to undefined
marvinjude commented 6 years ago
In paystackServiceProvider.php line 34 Call to undefined function Unicodeveloper\Paystack\config_path()
unicodeveloper commented 6 years ago

Hello @marvinjude. What's your use case? I see no reason why you should this particular package for an API.

What exactly are you trying to achieve with Paystack on your Lumen API?

marvinjude commented 6 years ago

Hmm, @unicodeveloper . Basically I am trying to force the whole payment processing with Paystack into the API, something also tells me this is inappropriate.

blessedmadukoma commented 3 years ago

Good day, I am trying to integrate Paystack into Lumen but I got this same error. Is there a way to fix it? thank you.