-
Notifications
You must be signed in to change notification settings - Fork 324
Invalid plan Sent #125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I encountered same issue. The payment was working seamlessly hours ago, and stopped with Invalid plan Sent. I had to do a quick fix by tampering with the library code. Goto: vendor/unicodeveloper/src/Paystack.php, and comment the line below: // "plan" => request()->plan, NB: This is a quick fix, and shouldn't be used when implementing plans/subscriptions. |
@PromiseShedrach @Raymoneto I have fixed the issue. Please upgrade to the latest version of the package. |
Bravo! Thank you. |
You don't need to comment it. Go to the vendor folder vendor\unicodeveloper\laravel-paystack\src\Paystack.php paystack did an update that is why you have an error. |
"plan_code" => request()->plan, nothing works |
Uh oh!
There was an error while loading. Please reload this page.
When I try to initialize a transaction. I get this error:
GuzzleHttp\Exception\ClientException
Client error:
POST https://api.paystack.co/transaction/initialize
resulted in a400 Bad Request
response: { "status": false, "message": "Invalid plan Sent" }The text was updated successfully, but these errors were encountered: