WordPress虚拟供货商插件
WordPress 插件,可将 WooCommerce 商店连接到 YouToGame 转售商开放 API。
安装
将文件夹压缩youtogame-virtual-goods(或复制到wp-content/plugins/)。
在 WordPress 中激活(需要 WooCommerce)。
打开WooCommerce → YouToGame。
在 YouToGame 上申请经销商帐户,然后粘贴API 基本 URL、API 密钥和API 密钥。
测试连接→同步产品。
将显示的 Webhook URL 粘贴到 YouToGame 经销商 API 页面中。
流动
插件将产品目录同步到 WooCommerce 中,作为虚拟产品。
客户在您的网站(您的支付网关)上付款。
付款后,插件POST /api/v1/orders.php调用ext_ref=WC-{order}-{item}。
YouToGame 会扣除您的经销商余额(批发)并完成发货。
代码出现在感谢页面、“我的帐户”和电子邮件中;webhook/cron 涵盖异步看板。
WordPress.org 注释
GPL-2.0 或更高版本(license.txt+插件头文件)
文本领域:youtogame-virtual-goods
外部服务在readme.txt设置界面中披露
不使用混淆技术;密钥仅在服务器端使用。
Requires Plugins: woocommerce
HPOS兼容性声明
uninstall.php移除选项
上传包
youtogame-virtual-goods/
youtogame-virtual-goods.php
readme.txt
license.txt
uninstall.php
includes/
assets/
languages/
将文件夹压缩,使压缩包根目录包含youtogame-virtual-goods.php.
youtogame-virtual-goods.zip(38.65 KB)youtogame-virtual-goods.zip(38.65 KB)
安装
将文件夹压缩youtogame-virtual-goods(或复制到wp-content/plugins/)。
在 WordPress 中激活(需要 WooCommerce)。
打开WooCommerce → YouToGame。
在 YouToGame 上申请经销商帐户,然后粘贴API 基本 URL、API 密钥和API 密钥。
测试连接→同步产品。
将显示的 Webhook URL 粘贴到 YouToGame 经销商 API 页面中。
流动
插件将产品目录同步到 WooCommerce 中,作为虚拟产品。
客户在您的网站(您的支付网关)上付款。
付款后,插件POST /api/v1/orders.php调用ext_ref=WC-{order}-{item}。
YouToGame 会扣除您的经销商余额(批发)并完成发货。
代码出现在感谢页面、“我的帐户”和电子邮件中;webhook/cron 涵盖异步看板。
WordPress.org 注释
GPL-2.0 或更高版本(license.txt+插件头文件)
文本领域:youtogame-virtual-goods
外部服务在readme.txt设置界面中披露
不使用混淆技术;密钥仅在服务器端使用。
Requires Plugins: woocommerce
HPOS兼容性声明
uninstall.php移除选项
上传包
youtogame-virtual-goods/
youtogame-virtual-goods.php
readme.txt
license.txt
uninstall.php
includes/
assets/
languages/
将文件夹压缩,使压缩包根目录包含youtogame-virtual-goods.php.
youtogame-virtual-goods.zip(38.65 KB)youtogame-virtual-goods.zip(38.65 KB)