| |
| | | | | | | | hidden | | order | | selected_group | | selected_item | string 用户打开虚拟物品选项卡时将会选择的物品。物品 SKU 应发送至此处。
|
|
|
currency_format | string 设置为code 以在支付UI中显示三字母的ISO 4217货币代码。默认显示货币符号而不是三字母货币代码。
|
| |
| | close_button | boolean 是否在支付中心桌面端显示关闭按钮。该按钮将关闭支付中心并将用户重定向到settings.return_url 参数中指定的URL。默认为false 。
| is_visible | | type | string 如何显示标题。不能为compact (隐藏项目名称和用户ID)或normal (默认)。
Enum: "compact" "normal" | visible_logo | boolean 如果为true ,标题中将显示Logo(请先把Logo文件提供给您的客户成功经理)。
| visible_name | | visible_purchase | boolean 是否在标题中显示购买描述(purchase.description.value )。默认为true 。
|
| | | description | string 可以在此传递订阅相关的任意文本。文本将显示在订阅计划列表的上方。
| display_local_price | boolean 如为true 且如果用户的当地货币与订阅计划的货币不同,则用户将看到两种价格:以当地货币和基础货币标价的价格。
|
|
|
| |
visible_virtual_currency_balance | |
|
is_independent_windows | boolean 是否将用户从嵌入式启动器浏览器(WebView)跳转到其默认的浏览器来进行购买。默认为false 。
|
is_payment_methods_list_mode | boolean 打开支付UI时是否显示在该用户所在国家/地区可用的支付方式。如为false (默认),将显示在settings.payment_method 参数中传入的支付方式或PayRank算法选择的支付方式。
|
is_prevent_external_link_open | boolean 是否禁用将链接重定向至外部资源。默认为false 。点击外部链接时,将通过postMessage 机制发送external-link-open 事件。重定向链接的地址在url 参数中传递。
|
is_show_close_widget_warning | boolean 关闭支付页面前鼠标悬停在 ×图标时是否显示交易正在处理中的警告。如传入false ,或未传入参数,则不显示警告。默认为true 。
|
layout | string 支付UI主要元素的位置。您可以在游戏内打开支付UI和/或交换订单信息和支付方式信息列的位置。详细信息请参阅自定义说明。
Enum: "embed" "column_reverse" "embed_column_reverse" |
| |
| | close_button | boolean 是否在支付中心移动端显示关闭按钮。该按钮将关闭支付中心并将用户重定向到settings.return_url 参数中指定的URL。默认为false 。
|
|
|
mode | string 支付中心的界面模式。可能的值为user_account 。请注意,页眉仅包含用户帐户的导航菜单,而没有用于选择产品或进行付款的任何选项。“用户帐户”仅在桌面模式下可用。
|
theme | string 支付UI主题。可以是63295a9a2e47fab76f7708e1 (浅色主题(默认)),或63295aab2e47fab76f7708e3 (深色主题)。您也可以创建自定义主题,然后在此参数中传入其ID。
Enum: "63295a9a2e47fab76f7708e1" "63295aab2e47fab76f7708e3" |
| |
| | | | | enable | boolean 指定是否在支付UI中显示前往支付方式编辑页面的铅笔图标。默认为true 。
|
| | | |
|