diff --git a/upload/catalog/controller/extension/payment/paypal.php b/upload/catalog/controller/extension/payment/paypal.php index 4e3752d85..1ef4386e9 100644 --- a/upload/catalog/controller/extension/payment/paypal.php +++ b/upload/catalog/controller/extension/payment/paypal.php @@ -3061,7 +3061,7 @@ public function completeOrder() { $recurring_products = $this->cart->getSubscriptions(); foreach ($recurring_products as $recurring_product) { - $this->model_extension_payment_paypal->recurringPayment($recurring_product, $order_data, $paypal_order_data); + $this->model_extension_payment_paypal->subscriptionPayment($recurring_product, $order_data, $paypal_order_data); } } @@ -3190,7 +3190,7 @@ public function completeOrder() { $recurring_products = $this->cart->getSubscriptions(); foreach ($recurring_products as $recurring_product) { - $this->model_extension_payment_paypal->recurringPayment($recurring_product, $order_data, $paypal_order_data); + $this->model_extension_payment_paypal->subscriptionPayment($recurring_product, $order_data, $paypal_order_data); } } @@ -3777,7 +3777,7 @@ public function callback() { $recurring_products = $this->cart->getSubscriptions(); foreach ($recurring_products as $recurring_product) { - $this->model_extension_payment_paypal->recurringPayment($recurring_product, $order_info, $paypal_order_data); + $this->model_extension_payment_paypal->subscriptionPayment($recurring_product, $order_info, $paypal_order_data); } } @@ -3878,7 +3878,7 @@ public function callback() { $recurring_products = $this->cart->getSubscriptions(); foreach ($recurring_products as $recurring_product) { - $this->model_extension_payment_paypal->recurringPayment($recurring_product, $order_info, $paypal_order_data); + $this->model_extension_payment_paypal->subscriptionPayment($recurring_product, $order_info, $paypal_order_data); } } diff --git a/upload/catalog/model/extension/payment/paypal.php b/upload/catalog/model/extension/payment/paypal.php index fda331e69..19f3fbed2 100644 --- a/upload/catalog/model/extension/payment/paypal.php +++ b/upload/catalog/model/extension/payment/paypal.php @@ -373,7 +373,7 @@ public function deleteOrderRecurringTransaction($order_recurring_id) { $query = $this->db->query("DELETE FROM `" . DB_PREFIX . "order_recurring_transaction` WHERE `order_recurring_id` = '" . (int)$order_recurring_id . "'"); } - public function recurringPayment($product_data, $order_data, $paypal_order_data) { + public function subscriptionPayment($product_data, $order_data, $paypal_order_data) { $_config = new Config(); $_config->load('paypal');