Powerful and easy to use cms to build websites, blogs or ecommerce stores.
HTML backendblogblog-engineblog-platformbloggingcmscontent-managementcontent-management-systemecommerceecommerce-platformno-codepage-builderphpphp-cmsphp7php8self-hostedshopping-cartweb-applicationwebsite-builder
Options parameter for payment and shipping getMethod
givanz07b18826cda6
diff --git a/system/payment-method.php b/system/payment-method.phpindex 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.phpindex 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();