I am using league/omnipay from this repo
However, I always get this error as the PurchaseRequest Response
{"status":0,"message":"Paystack Gateway: Paystack Gateway: Format is Authorization Bearer [secret key]"}
What am I missing
Kindly Follow this to make paystack payment with php. Make sure you're using your paystack test key as the secret key
Just add Bearer at this point in your code
"Authorization: Bearer sk_live_*************",
That's all
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.