苹果的内购发起退款后,开发者能够识别到退款用户是哪一个吗 ? 我看 皇室冲突 如果玩家退款后,几天内,它会进行宝石的扣除。这个游戏是如何做到的呢?如下图所示 http://img5.dwstatic.com/cr/1712/376652530764/376652663157.jpg
1
sobigfish 2017-12-14 19:18:49 +08:00
https://developer.apple.com/library/content/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateRemotely.html#//apple_ref/doc/uid/TP40010573-CH104-SW1
Validating Receipts With the App Store Receipt Fields. https://developer.apple.com/library/content/releasenotes/General/ValidateAppStoreReceipt/Chapters/ReceiptFields.html#//apple_ref/doc/uid/TP40010573-CH106-SW1 Cancellation Date For a transaction that was canceled by Apple customer support, the time and date of the cancellation. For an auto-renewable subscription plan that was upgraded, the time and date of the upgrade transaction. ASN.1 Field Type 1712 ASN.1 Field Value IA5STRING, interpreted as an RFC 3339 date JSON Field Name cancellation_date JSON Field Value string, interpreted as an RFC 3339 date Treat a canceled receipt the same as if no purchase had ever been made. |
2
walkertuan OP @sobigfish 你好 ,我看这个解释是,这个字段是在非消耗品上才会返回,而宝石项目,是一个消耗品,消耗品项目上不会返回这个字段吧 ?
|
3
runnig 2018-05-03 15:06:27 +08:00
楼主有解决这个问题吗?我打算用飞续期订阅试一试,看看购买同一个产品会不会二次扣费!
|
4
lcvs 2020-03-04 04:07:49 +08:00
网上找了很多资料,苹果在其官方文档中写的是只有
|
5
lcvs 2020-03-04 04:12:46 +08:00
非消耗性、自动续订订阅、非续订订阅这三种类型的商品才有 cancellation_date 字段,具体链接为: https://developer.apple.com/library/archive/technotes/tn2413/_index.html#//apple_ref/doc/uid/DTS40016228-CH1-RECEIPT-HOW_DO_I_USE_THE_CANCELLATION_DATE_FIELD_;所以像皇室战争到底是如何做到消耗品类型也能识别用户是否退款的?
|
6
walkertuan OP @lcvs 所以,这个问题,只能理解为:腾讯作为大公司,找苹果拿到了退款订单号,进行识别。
|