fix: PayPal 费率提醒

webht/payment
Lei OT 5 months ago
parent cbeb85f4e9
commit 3614c4b7c2

@ -869,7 +869,7 @@ class PaymentService extends CI_Controller {
**/
public function check_paypal_rate($notify = '1')
{
if (date('d') !== '2') {
if (date('d') !== '02') {
echo '不是2号不检查';
return false;
}

@ -107,7 +107,7 @@ class WxpayService extends CI_Controller {
/**
* 每月2号: 检查PayPal的费率
*/
if (date('d')==='2') {
if (date('d')==='02') {
async_curl('https://www.mycht.cn/webht.php/apps/pay/paymentservice/check_paypal_rate');
}
return;
@ -225,6 +225,20 @@ class WxpayService extends CI_Controller {
return;
}
public function refund() {
$this->load->model('WxpayRefundContentBuilder', 'refund_builder');
$refund_payload = $this->input->post();
$res = array(
"errcode" => "0",
"errmsg" => "",
"result" => "{}",
);
$transaction_id = '';
$this->query_builder->set_transaction_id($transaction_id);
}
public function response_to_wx($response_arr)
{
$response_body = to_xml($response_arr);

Loading…
Cancel
Save