Open bossoff opened 3 years ago
Hello @bossoff I have fixed the issue. Please upgrade to the latest version of the package.
Go to the vendor folder vendor\unicodeveloper\laravel-paystack\src\Paystack.php Change "plan" => request()->plan, to "plan_code" => request()->plan,
paystack did an update that is why you have an error.
Client error:
POST https://api.paystack.co/transaction/initialize
resulted in a400 Bad Request
response: { "status": false, "message": "Invalid plan Sent" }