diff --git a/WooCommerce/woocommerce_rms_normal/wc-molpay.php b/WooCommerce/woocommerce_rms_normal/wc-molpay.php index 4d94f29..e4756e9 100644 --- a/WooCommerce/woocommerce_rms_normal/wc-molpay.php +++ b/WooCommerce/woocommerce_rms_normal/wc-molpay.php @@ -285,7 +285,7 @@ public function init_form_fields() { */ public function generate_form( $order_id ) { $order = new WC_Order( $order_id ); - $pay_url = $this->url.'MOLPay/pay/'.$this->merchant_id; + $pay_url = $this->url.'RMS/pay/'.$this->merchant_id; $total = $order->get_total(); $order_number = $order->get_order_number(); $vcode = md5($order->get_total().$this->merchant_id.$order_number.$this->verify_key); @@ -509,7 +509,7 @@ public function account_type_missing_message() { */ public function inquiry_status($tranID, $amount, $domain) { $verify_key = $this->verify_key; - $requestUrl = $this->inquiry_url."MOLPay/q_by_tid.php"; + $requestUrl = $this->inquiry_url."RMS/q_by_tid.php"; $request_param = array( "amount" => number_format($amount,2), "txID" => intval($tranID), @@ -654,7 +654,7 @@ public function acknowledgeResponse($response) { $postData[]= $k."=".$v; } $postdata = implode("&",$postData); - $url = $this->url."MOLPay/API/chkstat/returnipn.php"; + $url = $this->url."RMS/API/chkstat/returnipn.php"; $ch = curl_init(); curl_setopt($ch, CURLOPT_POST , 1 ); curl_setopt($ch, CURLOPT_POSTFIELDS , $postdata );