Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Options parameter for payment and shipping getMethod

givanz07b18826cda6
diff --git a/system/payment-method.php b/system/payment-method.php
index de6a994..e5e0f1e 100755
--- a/system/payment-method.php
+++ b/system/payment-method.php
@@ -31,7 +31,7 @@ abstract class PaymentMethod {
abstract public function init();
- abstract public function getMethod($checkoutInfo = []);
+ abstract public function getMethod(&$checkoutInfo = [], $options = []);
abstract public function setMethod();
diff --git a/system/shipping-method.php b/system/shipping-method.php
index a652ab1..b51201a 100755
--- a/system/shipping-method.php
+++ b/system/shipping-method.php
@@ -31,7 +31,7 @@ abstract class ShippingMethod {
abstract public function init();
- abstract public function getMethod($checkoutInfo = []);
+ abstract public function getMethod(&$checkoutInfo = [], $options = []);
abstract public function setMethod();