Coder Social home page Coder Social logo

mageplaza / m2-one-step-checkout-releases Goto Github PK

View Code? Open in Web Editor NEW
4.0 7.0 4.0 1.18 MB

Magento 2 One Step Checkout Release Notes is a git repository that update all Mageplaza One Step Checkout Patch, Release notes. To upgrade Mageplaza One Step Checkout, you can download *-patch.sh file and apply to your store instantly without issue.

Home Page: https://www.mageplaza.com/magento-2-one-step-checkout-extension/

Shell 100.00%
magento2 magento2-module mageplaza magento-2-extension release-notes

m2-one-step-checkout-releases's People

Contributors

imsamthomas avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

m2-one-step-checkout-releases's Issues

/var/www/html/app/code/Mageplaza/Osc/Block/Plugin/Link.php

getUrl', Array, Array)\n#3 /var/www/html/vendor/magento/module-ui/Config/Argument/Parser/Url.php(52): Magento\Framework\Url\Interceptor->getUrl('mui/index/rende...', Array)\n#4 /var/www/html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Ui\Config\Argument\Parser\Url->evaluate(Array)\n#5 /var/www/html/vendor/magento/framework/Data/A in /var/www/html/app/code/Mageplaza/Osc/Block/Plugin/Link.php on line 67
[Sat Aug 18 16:18:41.718359 2018] [:error] [pid 18957] [client 154.118.46.36:14437] PHP Fatal error: Uncaught Error: Call to undefined method Mageplaza\Osc\Helper\Data::isEnabled() in /var/www/html/app/code/Mageplaza/Osc/Block/Plugin/Link.php:67\nStack trace:\n#0 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(121): Mageplaza\Osc\Block\Plugin\Link->beforeGetUrl(Object(Magento\Framework\Url\Interceptor), 'mui/index/rende...', Array)\n#1 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\Url\Interceptor->Magento\Framework\Interception\{closure}('mui/index/rende...', Array)\n#2 /var/www/html/generated/code/Magento/Framework/Url/Interceptor.php(156): Magento\Framework\Url\Interceptor->___callPlugins('getUrl', Array, Array)\n#3 /var/www/html/vendor/magento/module-ui/Config/Argument/Parser/Url.php(52): Magento\Framework\Url\Interceptor->getUrl('mui/index/rende...', Array)\n#4 /var/www/html/vendor/magento/framework/Data/Argument/Interpreter/Composite.php(61): Magento\Ui\Config\Argument\Parser\Url->evaluate(Array)\n#5 /var/www/html/vendor/magento/framework/Data/A in /var/www/html/app/code/Mageplaza/Osc/Block/Plugin/Link.php on line 67

Third Party Payment Method Are not Loading in admin Default Payment Method Section

I have found a bug in the admin section that all active payment methods are not loading, it loads only default Magento 2 enabled Payment Methods.

After overriding and edit file Model/System/Config/Source/PaymentMethods.php and write below code

/**
* @var ScopeConfigInterface
/
protected $_appConfigScopeConfigInterface;
/
*
* @var Config
*/
protected $_paymentModelConfig;

/**
 * @param ScopeConfigInterface $appConfigScopeConfigInterface
 * @param Config               $paymentModelConfig
 */
public function __construct(
    ScopeConfigInterface $appConfigScopeConfigInterface,
    Config $paymentModelConfig
) {

    $this->_appConfigScopeConfigInterface = $appConfigScopeConfigInterface;
    $this->_paymentModelConfig = $paymentModelConfig;
}

public function toOptionArray()
{
    $payments = $this->_paymentModelConfig->getActiveMethods();
    
    $methods = array();
    $methods = [['label' => __('-- Please select --'), 'value' => '']];
    foreach ($payments as $paymentCode => $paymentModel) {
        $paymentTitle = $this->_appConfigScopeConfigInterface
            ->getValue('payment/'.$paymentCode.'/title');
        $methods[$paymentCode] = array(
            'label' => $paymentTitle,
            'value' => $paymentCode
        );
    }
    return $methods;
}

Please resolve issue and upgrade your module.

How to apply this update?

I couldn't apply this patch to my Magento 2 store. I ran this in my public directory via SSH command.

chmod +x m2-one-step-checkout-v2.4.3-v2.4.4-patch.sh
./m2-one-step-checkout-v2.4.3-v2.4.4-patch.sh

I'm getting an error message -
unrecognized option '--git'
diff: Try 'diff --help' for more information.
./m2-one-step-checkout-v2.4.3-v2.4.4-patch.sh: line 2: index: command not found
./m2-one-step-checkout-v2.4.3-v2.4.4-patch.sh: line 3: ---: command not found
./m2-one-step-checkout-v2.4.3-v2.4.4-patch.sh: line 4: +++: command not found
./m2-one-step-checkout-v2.4.3-v2.4.4-patch.sh: line 5: @@: command not found
./m2-one-step-checkout-v2.4.3-v2.4.4-patch.sh: line 7: syntax error near unexpected token )' ./m2-one-step-checkout-v2.4.3-v2.4.4-patch.sh: line 7: );'

Could you please show me how to apply the patch properly?

Rewards points error

Hello,

After upgarding onestepcheckout and rewards points i am getting this error
Fatal error: Uncaught TypeError: Argument 1 passed to Magestore\Rewardpoints\Model\Total\Quote\Point::__construct() must be an instance of Magestore\Rewardpoints\Helper\Data, instance of Magestore\Rewardpoints\Helper\Config given, called in /home/jasminfi/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 111 and defined in /home/jasminfi/public_html/app/code/Magestore/Rewardpoints/Model/Total/Quote/Point.php:76 Stack trace: #0 /home/jasminfi/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Magestore\Rewardpoints\Model\Total\Quote\Point->__construct(Object(Magestore\Rewardpoints\Helper\Config), Object(Magento\Checkout\Model\SessionFactory), Object(Magento\Store\Model\StoreManager), Object(Magento\Directory\Model\PriceCurrency), Object(Magestore\Rewardpoints\Helper\Data), Object(Magestore\Rewardpoints\Helper\Block\Spend), Object(Magestore\Rewardpoints\Helper\Calculation\Spending), Object(Magestore\Rewardpoints\Helper\Customer), Object(Magento\Tax\Helpe in /home/jasminfi/public_html/app/code/Magestore/Rewardpoints/Model/Total/Quote/Point.php on line 76

I have already upgraded core module
Thanks

Issue with Order comment

Good morning.

I installed this module and faced with issue like this

2021/07/21 11:22:34 [error] 8814#8814: *61755601 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined method Magento\Sales\Api\Data\OrderExtension::getOscOrderComment() in /var/www/site.cin/releases/20210721105129/app/code/Mageplaza/Osc/Model/Plugin/Api/OrderComment.php:77

Can you help us?

Cannot read property 'code' of undefined

After update Magento to it latest version 2.2.6 I've got the following issue:

Preconditions

  1. Magento 2.2.6
  2. PHP 7.1
  3. MariaDB 10.2

Steps to reproduce

  1. Add an item into the cart.
  2. Open Chrome devtools console.
  3. Go to checkout

Expected result

  1. That checkout page doesn't display any console error.

Actual result

  1. The following (down below) console error is appearing in devtools console.
    Uncaught TypeError: Cannot read property 'code' of undefined at UiClass.initialize (/en_US/Magento_Checkout/js/view/progress-bar.js:31:93)

This wasn't happening in v2.2.5
I've updated Mageplaza - OSC to latest build 2.6.1 ( https://www.mageplaza.com/changelog/m2-one-step-checkout.txt ) but doesn't fix the issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.