I am going through this tutorial. I want to redirect the page on successful payment using the success handler but I also want to be sure that the payment was successfully processed, which happens by a post back, explained here
I am not sure how to make it synchronously, which means redirect to my controller only after the post back is called by Google! Also, how do I test post back with localhost?
Or is there a method which I can call on Google API which will give me status of the transaction?
---EDIT---
I wonder, if google wallet popup only shows success after calling the post back. Even if that's true how do I test it with localhost?