1
This commit is contained in:
@@ -97,6 +97,8 @@ class WechatPay
|
||||
* @param int $total 支付金额(实际金额x100)
|
||||
* @param string $openid
|
||||
* @return array
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function getJsapiPrepayId(string $out_trade_no,int $total,string $openid): array
|
||||
{
|
||||
@@ -117,6 +119,7 @@ class WechatPay
|
||||
]
|
||||
];
|
||||
|
||||
dump($options);die;
|
||||
try {
|
||||
$response = $app->getClient()->postJson("v3/pay/transactions/jsapi", $options);
|
||||
if ($response->isFailed()) {
|
||||
|
||||
Reference in New Issue
Block a user