|
|
|
@ -258,6 +258,8 @@ class wxpay |
|
|
|
// 'total_fee' => $total_fee.'', |
|
|
|
); |
|
|
|
$jsApiParameters = json_encode($jsApiParameters); |
|
|
|
echo "\r\n direct_shopping: \r\n"; |
|
|
|
var_dump($_SESSION['direct_shopping']); |
|
|
|
|
|
|
|
|
|
|
|
// wxjsbridge |
|
|
|
@ -293,9 +295,10 @@ class wxpay |
|
|
|
{ |
|
|
|
jsApiCall(); |
|
|
|
} |
|
|
|
window.location.href = "{U(\'flow/index/done\')}"; |
|
|
|
|
|
|
|
} |
|
|
|
</script>'; |
|
|
|
// window.location.href = "{U(\'flow/index/done\')}"; |
|
|
|
|
|
|
|
$button = '<a class="box-flex btn-submit" type="button" onclick="callpay()">微信支付(测试)</a>' . $js; |
|
|
|
// $button = '<a class="box-flex btn-submit" type="button" onclick="">微信支付(测试)</a>'; |
|
|
|
|