Open bytesfield opened 4 years ago
I have fixed it. The hidden field of quantity is required. Which i added and it went
Client error: POST https://api.paystack.co/transaction/initialize
resulted in a 400 Bad Request
response: { "status": false, "message": "Duplicate Transaction Reference" }
how can i fixed the above error
Check how you are generating and sending your transRef. I guess their is a duplication somewhere.
@bytesfield you fixed the issue "Invalid Amount Sent" but you neet to push it bacause on v1.0.8 there missing $data parameter
Error public function getAuthorizationUrl(miss $data) { $this->makePaymentRequest(miss $data);
$this->url = $this->getResponse()['data']['authorization_url'];
return $this;
}
I get the error below while initializing transaction.
GuzzleHttp\Exception\ClientException Client error:
POST https://api.paystack.co/transaction/initialize
resulted in a400 Bad Request
response: { "status": false, "message": "Invalid Amount Sent" }