Thursday, July 5, 2012

Payment Gateway Modules | dev.hostbillapp.com

Payment Gateway Modules | dev.hostbillapp.com: "7. callback() method
In most third party payment gatateways after processing payment an notification can be send in background to certain URL called callback. Payment processor sends details about payment using POST or GET, whether it was completed or failed. Please refer to your gateway documentation for details.
By default HostBill generates unique callback URL available under $this->callback_url;. Once this URL is accessed, HostBill will execute function callback() in your module.

Callback function should take care of:
Verify that incoming data is coming from gateway.
Most payment processors provides methods to verify payments, like security tokens etc."

'via Blog this'

No comments:

Post a Comment