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
Pass checkoutInfo parameter by reference
givanz46bf7ba5b272
diff --git a/system/payment.php b/system/payment.phpindex ae16c49..89c4cb7 100755--- a/system/payment.php+++ b/system/payment.php@@ -46,7 +46,7 @@ class Payment {public function __construct($options = []) {}- public function getMethods($checkoutInfo) {+ public function getMethods(&$checkoutInfo) {$data = [];foreach ($this->methods as $name => $method) {diff --git a/system/shipping.php b/system/shipping.phpindex 12e465f..6c172c5 100755--- a/system/shipping.php+++ b/system/shipping.php@@ -46,7 +46,7 @@ class Shipping {public function __construct($options = []) {}- public function getMethods($checkoutInfo) {+ public function getMethods(&$checkoutInfo) {$data = [];foreach ($this->methods as $name => $method) {