天道酬勤,学无止境

promotion-code

How to create a promotion code for iOS in-app purchases

As of about May 2014 this year, searching Google for "ios in app purchase promotion code", yields lots of news sites reporting the same thing - Apple seem to be working on allowing promotion codes for testing in-app purchases as evidenced by a screenshot from EA games. My question is; does anybody know how to do this yet? I logged into the new iTunesConnect interface but can't find any link and nothing appears in the Apple docs from what I can find. Ideally I'm looking to create a code for a monthly subscription but they may only be allowed for consumables. With the lack of actual info on IAP

2021-06-14 21:36:00    分类:问答    ios   iphone   in-app-purchase   app-store-connect   promotion-code

In-app purchases made via promo codes return empty developer payload string

I have an app published to the alpha channel, with an in-app (un)managed item that costs $1. When I purchase normally, i.e, use a credit/debit card Google returns the correct developer payload string, but if I choose to "redeem" a promo code and enter said code, Google returns an empty developer payload string, and thus authentication fails in 'onIabPurchaseFinished()'. I should mention that this only occurs if I choose to redeem a code from the app's purchase flow, and everything works flawlessly if I open Play Store first, redeem the code, and then come back and open the app. Is this a bug

2021-05-15 12:06:34    分类:问答    android   google-play   in-app-billing   promotion-code

有没有一种方法可以为人们提供促销/优惠券代码,以供他们免费下载您的应用程序?(Is there a way to give promo/coupon codes for people to download your app for free?)

问题 我需要一种共享我的应用程序的方法,以使人们可以使用优惠券代码或促销代码或结帐代码免费下载该应用程序。 我想将代码发布到板上,并在一段时间后使其无效。 我的应用使用许可和应用内结算,因此邮寄APK可能不合适。 我看到的最后一个问题是6个月大了,所以我不知道是否有更新的解决方案。 回答1 Google最近启用了对付费应用程序和应用内购买促销代码的支持。 您首先需要通过Google Play商店开发者控制台设置促销活动: https://support.google.com/googleplay/android-developer/answer/6321495 或通过应用促销中的应用购买代码添加支持: https://developer.android.com/google/play/billing/billing_promotions.html 但是请注意,可以创建的代码数量和类型受到限制: 对于每个应用程序,您每季度最多可以创建500个促销代码。 要达到该限制,您可以使用付费应用和应用内促销代码的任意组合。 您可以通过以下几种方式达到应用的促销代码限制: 500个付费应用促销代码,或一种应用内商品的500个促销代码,或 250个付费应用促销代码+一种应用内商品的250个促销代码,或者五个应用内商品的100个促销代码 回答2 无法使用Play商店中设置的当前功能来执行此操作。

2021-05-11 16:00:51    分类:技术分享    android   google-play   promotion-code

Display collection of Shopping cart rules and products categories associated to each rule

I want to check if there is a sales promotion on the product then stick the promotion label on that product on category list page. But I don't know how to loop through all the shopping cart rules and retrieve the products/categories associated to each rule. EDITED Thanks seanbreeden, but I can't pull the skus from $conditions. var_dump($conditions); shows this: {s:4:"type";s:32:"salesrule/rule_condition_combine";s:9:"attribute";N;s:8:"operator";N;s:5:"value";s:1:"1";s:18:"is_value_processed";N;s:10:"aggregator";s:3:"all";}a:7:{s:4:"type";s:32:"salesrule/rule_condition_combine";s:9:"attribute"

2021-04-30 07:35:36    分类:问答    magento   shopping   promotion-code

App doesn't handle redemption of in-app purchase promo code of consumable products

My app has in-app purchase built in (I followed this tutorial), the purchase functionality works. However, when I redeem the promo code in App Store for one of the in-app purchase products, my app doesn't response to it. Even the App Store says the product has been successfully redeemed, my app doesn't response to it. Has anyone who has in-app purchase tested if your app can process the promo code? Would you mind share the solution? I started with this: override func viewDidLoad() { NotificationCenter.default.addObserver(self, selector: #selector(applicationDidBecomeActive(notification:))

2021-04-23 13:57:44    分类:问答    swift3   in-app-purchase   promotion-code

Is there a way to give promo/coupon codes for people to download your app for free?

I need a way to share my app to allow people to download it for free with a coupon code or promo code or checkout code. I would like to post the code to a board, and invalidate it after some time. My app uses licensing and in-app billing, so mailing the APK may not be appropriate. The last question I saw regarding this was 6 months old, so I did not know if there was a newer solution available.

2021-04-22 21:15:31    分类:问答    android   google-play   promotion-code