0
我正在爲opencart 3(與OC^2.3兼容)的付款模塊工作,但是當我試圖在擴展付款控制器中包含新班級時,有狀態HTTP白頁200Opencart 3在控制器上添加新班級
require_once DIR_CATALOG.'controller/extension/payment/libwebpay/healthcheck.php';
require_once DIR_CATALOG.'controller/extension/payment/libwebpay/loghandler.php';
require_once DIR_CATALOG.'controller/extension/payment/libwebpay/tcpdf/reportPDFlog.php';
$args = array(
'MODO' => $data['payment_webpay_test_mode'],
'COMMERCE_CODE' => $data['payment_webpay_commerce_code'],
'PRIVATE_KEY' => $data['payment_webpay_private_key'],
'PUBLIC_CERT' => $data['payment_webpay_public_cert'],
'WEBPAY_CERT' => $data['payment_webpay_webpay_cert'],
'ECOMMERCE' => 'opencart',
);
var_dump($args);
$this->hc = new HealthCheck($args);
echo $this->hc->printFullResume();
回聲是完整的JSON響應對象,這whitout打印是同樣的結果