unicodeveloper / laravel-paystack

:credit_card: :package: :moneybag: Laravel 6, 7, 8, 9, 10 and 11 Package for Paystack

Home Page:https://paystack.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Client error: `GET https://api.paystack.co/transaction/verify/` resulted in a `400 Bad Request` response

ItzSamdam opened this issue · comments

Client error: GET https://api.paystack.co/transaction/verify/ resulted in a 400 Bad Request response: { "status": false, "message": "Transaction ID should be numeric." }

I'm working with Livewire Components and I'm having a tough time setting up with Paystack
Any Help will be appreciated

Any solution still?

Check the request type. Should be a POST request not GET. Worked for me.

Check the reference you are concatenating with the URL, it may have a problem. Maybe its not well destructured from its Object or array. I just checked mine and saw that I was passing a string as an object and reading the string as an Object. It was neither POST or GET for me