Browse Source

wxsuccess

master
dutsc 3 years ago
parent
commit
8301ab79bd
  1. 4
      mobile/plugins/payment/wxpay.php

4
mobile/plugins/payment/wxpay.php

@ -176,12 +176,12 @@ class wxpay
// } // }
// } // }
// echo "123546579\r\n"; echo "123546579\r\n";
// 调用大连支付接口 // 调用大连支付接口
require_once(BASE_PATH . 'helpers/dalianpay/demo/dalianpay.php'); require_once(BASE_PATH . 'helpers/dalianpay/demo/dalianpay.php');
$new_plugin = new dalianpay(); $new_plugin = new dalianpay();
$response_data = $new_plugin->pay($this->encrypt($_SESSION['openid']), $order['order_sn'], $order_amount); $response_data = $new_plugin->pay($this->encrypt($_SESSION['openid']), $order['order_sn'], $order_amount);
// echo $response_data; echo $response_data;
// 获取微信支付需要的其他参数 // 获取微信支付需要的其他参数
$payinfo = $response_data['payinfo']; $payinfo = $response_data['payinfo'];

Loading…
Cancel
Save