From 16b638e2a358997886f192a904a6ea1553af4a71 Mon Sep 17 00:00:00 2001 From: lyt Date: Wed, 12 Jun 2019 13:50:45 +0800 Subject: [PATCH] =?UTF-8?q?PayPal=E7=9A=84=E6=92=A4=E9=94=80=E4=BB=98?= =?UTF-8?q?=E6=AC=BE,=E9=A1=BB=E6=89=8B=E5=8A=A8=E8=A7=A6=E5=8F=91?= =?UTF-8?q?=E9=80=9A=E7=9F=A5(=E6=8C=89=E9=80=80=E6=AC=BE=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E5=A4=84=E7=90=86)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/paypal/controllers/index.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webht/third_party/paypal/controllers/index.php b/webht/third_party/paypal/controllers/index.php index 0dcb0f40..56824536 100644 --- a/webht/third_party/paypal/controllers/index.php +++ b/webht/third_party/paypal/controllers/index.php @@ -834,6 +834,11 @@ class Index extends CI_Controller { // $this->Note_model->update_send($item->pn_txn_id, 'send'); continue; } + // 撤销付款:允许手动处理 + if (strtolower($item->pn_payment_status) == 'reversed' && $handpick===true ) { + $this->send_refund($item, $handpick, $old_ssje); + continue; + } //只处理完成状态,其他状态由陆燕处理 if (strtolower($item->pn_payment_status) !== 'completed') {