I transfer payment processing for my site from Google Checkout to Google Wallet (Digital Goods API), but I am having a problem with a payment notification. My goal is only to send licenses to customers after orders are charged, but I do not see how this is possible.
I am currently sending licenses to users when I receive a JWT with postback, but this is not the behavior that I want, because according to my tests, it actually takes about 30-60 minutes to actually charge the client after purchase ( up to this point the order is in the CHARGEABLE state). This is a problem because I often ordered orders to be canceled before they are charged - I obviously do not want to send licenses when this happens.
So my questions are:
1) Why do customers not charge immediately? According to the documentation, "Google Wallet for orders for digital goods charges automatically" , but there is no explanation for the delay.
2) Is there a way to get a notification after a customer is charged? The success callback and callback described in the documentation are not suitable for this, because they both start when the order enters CHARGEABLE, and not CHARGED.
I hope there is some kind of system, for example, the XML API for checking Google Checkout, where various notifications are sent at each stage of the purchase process, but there is no mention of such a system in the Google Wallet documentation.
3) Regarding the note, is there a way to receive email notifications when orders are completed? Google Checkout did this, but Google Wallet does not seem to offer this option.
source share