Hey,

I have a plug-in that redirects to a payment gateway for payment (using process_button()), and then back to the site and successfully updates the cart (using before_process()).

Sometimes the response message gets lost though. I am looking to implement a feature that the payment gateway supports called background validation. This is a server side post from the gateway to the cart with the result of the transaction, including the transaction details. The gateway will retry this until it gets a specific output in the body, thereby acting as a fail-safe.

What function in the module would be best to implement this?

Kevin