yabacon / paystack-class

A library to make Paystack API calls by including a single file or from within codeigniter.
MIT License
10 stars 21 forks source link

Exception on Transaction reference not found #3

Open successtar opened 5 years ago

successtar commented 5 years ago

The call on line 659 of Paystack.php for transaction not found should be,

throw new PaystackExceptionApiException(
                "Paystack Request failed with Response: '" .
                $this->messageFromApiJson($resp)."'",
                $resp
            );

and not

throw new ApiException(
                "Paystack Request failed with Response: '" .
                $this->messageFromApiJson($resp)."'",
                $resp
            );
Goldtek commented 3 years ago

I'm having the same issue?

successtar commented 3 years ago

The project is not actively maintained anymore..

The issue fixed here https://github.com/successtar/paystack-class