Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get Google refund orders ?

The Google Void Purchase API says:

The Google Play Voided Purchases API allows you to revoke access to in-app products that are associated with purchases that a user has voided. The user can void a purchase in the following ways:

  • The user requests a refund for their order.
  • The user cancels their order.
  • An order is charged back.

But when I get this API's return, I found some purchases state are Charged.

Why Charged order is return by Google Void Purchases ?

How do I get all refund orders ?

like image 998
Brooks Liu Avatar asked Mar 09 '17 07:03

Brooks Liu


1 Answers

Finally I get the way to handle this, that is , recheck from google.

Just like when the purchase is paid, we check from google is this purchase really paid, and if we get a return from Void Purchase, we can use paid API get the purchase STATE, if not CHARGED, I think the purchase is real void purchase, hope this help.

like image 74
Brooks Liu Avatar answered Nov 20 '22 06:11

Brooks Liu