Browse Source

test

master
用户名 3 years ago
parent
commit
19f3ee6da2
  1. 3
      mobile/plugins/payment/wxpay.php

3
mobile/plugins/payment/wxpay.php

@ -141,6 +141,9 @@ class wxpay
echo "Hi there........\n\r";
require_once('./dalianpay/demo/dalianpay.php');
$new_plugin = new dalianpay();
echo $this->encrypt($_SESSION['openid']);
echo $order['order_sn'];
echo $order_amount;
$response_data = $new_plugin->pay($this->encrypt($_SESSION['openid']), $order['order_sn'], $order_amount);
var_dump($response_data);

Loading…
Cancel
Save