Skip to content

I got resulted in a 400 Bad Request response #128

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

Open
bossoff opened this issue Nov 19, 2020 · 2 comments
Open

I got resulted in a 400 Bad Request response #128

bossoff opened this issue Nov 19, 2020 · 2 comments

Comments

@bossoff
Copy link

bossoff commented Nov 19, 2020

Client error: POST https://api.paystack.co/transaction/initialize resulted in a 400 Bad Request response:
{
"status": false,
"message": "Invalid plan Sent"
}

unicodeveloper added a commit that referenced this issue Nov 19, 2020
@unicodeveloper
Copy link
Owner

unicodeveloper commented Nov 19, 2020

Hello @bossoff I have fixed the issue. Please upgrade to the latest version of the package.

@blazefluz
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants