简体   繁体   中英

What Does Google Play Billing do when the User Cancels?

Im still getting to know the Billing API google provides and I need to be able to detect if the user made a purchase or not. Is this done in onPurchasesUpdated? How do I see if the user has canceled the purchasing process (by pressing away or closing the billing flow pop-up, etc)?

In some cases, orders can be canceled by a user or refunded by Google. Refunds are issued as a courtesy to your users or as required by law and are included as part of our Developer Distribution Agreement. After an order is canceled, it can't be reinstated.

Here are a few examples of when refunds can be issued:

User returns a paid app: After purchasing a paid app, a user has up to 2 hours to return it for a full refund. They can only return an app once. If they purchase the same app again, they won't be able to return it a second time. User requests a refund: Users can request a refund on Google Play. Unauthorized or accidental purchases: In some cases, our support team may refund purchases made by mistake or without the user's consent. Also, if Google determines that an order is high risk or doesn't follow our policies, the order can be canceled for your protection. To learn more about how Google detects and helps prevent fraud, visit merchant fraud protection

for more info: https://support.google.com/googleplay/android-developer/answer/9037917?hl=en

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM