iOS 如何实现用户退款后,可以定位到退款用户,并且将内购宝石进行扣除 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
walkertuan
V2EX    iOS

iOS 如何实现用户退款后,可以定位到退款用户,并且将内购宝石进行扣除

  •  
  •   walkertuan Dec 14, 2017 7645 views
    This topic created in 3056 days ago, the information mentioned may be changed or developed.

    苹果的内购发起退款后,开发者能够识别到退款用户是哪一个吗 ? 我看 皇室冲突 如果玩家退款后,几天内,它会进行宝石的扣除。这个游戏是如何做到的呢?如下图所示 http://img5.dwstatic.com/cr/1712/376652530764/376652663157.jpg

    6 replies    2020-03-08 23:53:06 +08:00
    run2
        1
    run2  
       Dec 14, 2017
    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.
    walkertuan
        2
    walkertuan  
    OP
       Dec 14, 2017
    @sobigfish 你好 ,我看这个解释是,这个字段是在非消耗品上才会返回,而宝石项目,是一个消耗品,消耗品项目上不会返回这个字段吧 ?
    runnig
        3
    runnig  
       May 3, 2018
    楼主有解决这个问题吗?我打算用飞续期订阅试一试,看看购买同一个产品会不会二次扣费!
    lcvs
        4
    lcvs  
       Mar 4, 2020
    网上找了很多资料,苹果在其官方文档中写的是只有
    walkertuan
        6
    walkertuan  
    OP
       Mar 8, 2020
    @lcvs 所以,这个问题,只能理解为:腾讯作为大公司,找苹果拿到了退款订单号,进行识别。
    About     Help     Advertise     Blog     API     FAQ     Solana     3887 Online   Highest 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 36ms UTC 10:34 PVG 18:34 LAX 03:34 JFK 06:34
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86