Currently, this library only verifies payments made by it self on the server side. In a case where paystack inline is used to make a transaction on the client side using libraries like react, Angular, Vue. It should be possible to verify that the transaction is valid before storing in the database or carrying out further actions on the server side. With this PR, providing just a transaction reference will be enough, and the method can be used like so
$trxref = 'ghdjkfkj34224442'; //sample refrence Paystack::isTransactionVerificationValid($trxref);
Currently, this library only verifies payments made by it self on the server side. In a case where paystack inline is used to make a transaction on the client side using libraries like react, Angular, Vue. It should be possible to verify that the transaction is valid before storing in the database or carrying out further actions on the server side. With this PR, providing just a transaction reference will be enough, and the method can be used like so
$trxref = 'ghdjkfkj34224442'; //sample refrence Paystack::isTransactionVerificationValid($trxref);