在应用程序采购 - Javascript [英] In App Purchasing - Javascript

查看:59
本文介绍了在应用程序采购 - Javascript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用javascript / html编写了一个应用程序。它将在3个应用内购买免费。

I have written an app in javascript/html. It will be free with 3 in app purchases.

我找不到任何解释如何在javascript中执行此操作的示例。

I cannot find any examples that explain how to do this in javascript.

我想要的所有内容做的是有三个按钮,分别是1级,2级和3级,并对每个按钮进行简短的探讨。然后当他们点击按钮时,它会转到Microsoft完成购买。

All I want to do is to have three buttons with Level 1, Level 2 and Level 3, with a short explination of what each is. Then when they click the button it goes to Microsoft to complete the purchase.

推荐答案

嗨  JAA17,

Hi JAA17,

欢迎
到开发环球Windows应用论坛!
 请使用  标记 
发布到此时论坛,谢谢!

如果您使用  Windows.ApplicationModel.Store 命名空间,你可以有一个
引用
使用Javascript代码存储
示例。

If you used the Windows.ApplicationModel.Store Namespace, you can have a reference to this Store sample with Javascript code.

如果您的应用面向Windows 10,版本1607或更高版本,我们建议您使用 Windows.Services.Store
名称空间。这是另一个
商店
示例。

If your app targets Windows 10, version 1607, or later, we recommend that you use members of the Windows.Services.Store namespace. Here is the other Store sample with JavaScript code.

了解更多信息,您可以参考应用内购买和试用

for more, you can refer to In-app purchases and trials.

祝你好运,

Breeze


这篇关于在应用程序采购 - Javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆