Kohana PHP Framework Patches
Kohana 2.3.4 Payment Response Messages Patch
Adds the response() method to the Payment_Core class and appropriate drivers.
The response method allows for the retrieval of the response, if any, from the payment processor after a transaction has been attempted. Some drivers only make responses available if the transaction was successful, other drives (such as paypalpro) have responses after successful and declined transactions. In the case of the paypalpro driver, the response allows the retrieval of the cause of a declined transaction allowing for better erorr messages to users as well as the ability to verify the CVV2 and AVS checks returned sane values.
While code for all drivers has been implemented, only the paypalpro driver has been tested.
