https://pay.weixin.qq.com/wiki/doc/api/wap.php?chapter=9_1
public static createJsBizPackage ( string $openid, float $totalFee, string $outTradeNo, string $orderName, string $notifyUrl, $timestamp ) : string | ||
$openid | string | 调用【网页授权获取用户信息】接口获取到用户在该公众号下的Openid |
$totalFee | float | 收款总费用 单位元 |
$outTradeNo | string | 唯一的订单号 |
$orderName | string | 订单名称 |
$notifyUrl | string | 支付结果通知url 不要有问号 https://mp.weixin.qq.com/ 微信支付-开发配置-测试目录 测试目录 http://www.example.com/paytest/ 最后需要斜线,(需要精确到二级或三级目录) |
리턴 | string |