简体   繁体   English

Microsoft Store API:无法为插件类型“订阅”创建促销代码

[英]Microsoft Store API : Cannot create promo code for addon type 'Subscription'

I want to simulate purchase for a subscription addon.我想模拟订阅插件的购买。 Its a free addon but still purchase process flow force asks me to enter Creditcard or paypal details.它是一个免费插件,但仍然购买流程强制要求我输入信用卡或 paypal 详细信息。 (was not expecting this) (没想到这个)

I read here that one can create promo code to test the purchase process without feeding money.在这里读到,可以创建促销代码来测试购买过程,而无需付钱。 The promocode generation page displays all addons except of type 'Subscription'.促销代码生成页面显示除“订阅”类型之外的所有插件。

Q1. Q1。 So question is how to i generate promocodes for a subscription type of addon?所以问题是如何为订阅类型的插件生成促销代码?

There is next question in pipeline related to same.管道中有下一个问题与此相关。 I created promocode for a consumable addon now how do i use it?我现在为消耗品插件创建了促销代码,我该如何使用它? There is only option gift card and when i paste promocode it show error as attached in screenshot.只有选项礼品卡,当我粘贴促销代码时,它显示错误,如屏幕截图中所附。

So Q2.所以Q2。 Even if i successfully create promocode, how and where i can use it during purchase flow.即使我成功创建了促销代码,我也可以在购买流程中如何以及在何处使用它。 ?

在此处输入图像描述

It is not possible to generate promotional codes for subscription add-ons.无法为订阅附加组件生成促销代码。 This is mentioned on the document - Generate promotional codes : You can generate promotional codes for any app or add-on ( with the exception of subscription add-ons ) that you published to the Microsoft Store.文档中提到了这一点 - 生成促销代码您可以为发布到 Microsoft Store 的任何应用或加载项(订阅加载项除外)生成促销代码。

So you can't use such a way to test the purchase subscription.所以你不能用这样的方式来测试购买订阅。

A possible way for testing purposes is that you could create a test subscription add-on that is free to purchase.用于测试目的的一种可能方法是您可以创建一个可免费购买的测试订阅附加组件。 Then you could purchase it to check the purchase process.然后你可以购买它来检查购买过程。 After you go through the whole purchase process and make sure everything is correct, you could do the same to the real subscription add-on.在您 go 通过整个购买过程并确保一切正确之后,您可以对真正的订阅附加组件执行相同的操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何通过 API 在 Microsoft Store 上以编程方式创建订阅插件 - How to programmatically create a Subscription Add-On on Microsoft Store via API 没有API的微软UWP商店订阅管理? - Microsoft UWP store Subscription management without API? 如何通过 GetSubscriptionsForUser API 确定 Microsoft Store 订阅购买中的自动续订偏好更改? - How to determine auto renewal preference change in Microsoft Store Subscription purchases through GetSubscriptionsForUser API? Microsoft Store订阅附件的付款日期 - Payment Dates of Microsoft Store Subscription Add-on 有没有办法让 UWP 应用程序知道是否为 Microsoft 商店中的订阅打开了定期计费 - Is there a way for a UWP app to know if Recurring Billing is turned on for a subscription in the Microsoft store 使用代码从 Microsoft Store 安装 Hololens 应用程序 - Install Hololens application from Microsoft Store with code 如何在 Microsoft Store 中获取唯一用户 ID API - How to get a unique userid in Microsoft Store API 从 Microsoft 商店中托管的应用获取订阅和应用内购买信息 - Getting subscription & in-app purchase information from an App hosted in Microsoft store Microsoft Store订阅用户API的获取订阅的错误代码 - Error codes for Get Subscriptions for a User API for Microsoft Store Subscriptions 更改Microsoft Store UWP应用程序的帐单状态API? - Change Billing State API for Microsoft Store UWP apps?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM