Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detect if a user refunded a 'consumable' in app purchase item (Apple app store in app purchase system)

I read so far online that the only way to detect if a user cancelled an in app purchase is by using the receipt data that I get from the user's iPhone and check if the cancellation_date exists in there for that item, but as far as I know, this field is only to be found on auto-renewable subscription items.

(At least to what I read online on every post I found that talks about in app purchase, no mention to consumables at all.)

Because they are always stored in the receipt data, while consumable items, are stored in the receipt data until the app itself finishes the transaction, once thats done, the purchase transaction for that item is gone forever from the receipt data after the finish process on the iPhone.

So my question is, if a user requested to cancel an in app purchase from Apple, which is a consumable item, do I also get back that same item transaction in the receipt data WITH the cancellation_date field in it?

I've never seen anyone confirm this.

It would be nice if someone can provide a receipt-data base64 string with cancellation_date example in it (if that's legal to do tho).

like image 937
Revo Avatar asked Nov 17 '16 13:11

Revo


People also ask

Can you get a refund from an in-app purchase?

Explore refund request options. If it's been less than 48 hours since you bought an app or made an in-app purchase: You can request a refund through Google Play. If you bought movies, books, or other content: You may be able to request a refund more than 48 hours after your purchase (check policy below).

Does Apple give refunds for accidental in-app purchases?

Sign in to reportaproblem.apple.com. Tap or click "I'd like to," then choose "Request a refund." Choose the reason why you want a refund, then choose Next. Choose the app, subscription, or other item, then choose Submit.

Will Apple refund an app purchase if your child made the unauthorized purchase?

Now Apple is offering app amnesty. Last week, as part of an agreement with regulators following the settling of a 2011 class-action lawsuit, Apple began emailing customers letting them know they can request a refund for any unauthorized in-app purchases minors have made on their account.

Can you track in-app purchases?

How to track Android in-app purchases automatically from Google Play. For Android apps that use in-app billing, you can automatically track when someone who clicked your ad makes an in-app purchase. You don't need to add code to your app. The value of the purchase will automatically be reported as the conversion value.

How do I check the status of my Apple refund request?

How to check the status of your refund request Go to reportaproblem.apple.com and sign in with your Apple ID. Choose Check Status of Claims. If you don't see Check Status of Claims, you don't have any pending refund requests. To see the status, tap or click Pending.

How long does it take to get a refund from Apple?

Here's how long it takes for a refund to appear on your account or statement: Store credit —It might take up to 48 hours to see the refund in your Apple ID balance. Mobile phone billing —It might take up to 60 days for the statement to show the refund.

What happens to my money if my refund is approved?

If your refund is approved, the funds are applied to the same payment method that you used to buy the item. Here's how long it takes for a refund to appear on your account or statement:


1 Answers

https://developer.apple.com/documentation/storekit/in-app_purchase/handling_refund_notifications Apple has provided a solution finally in 2020!!

like image 149
刘德苏 Avatar answered Oct 17 '22 06:10

刘德苏