New answers tagged

0

Evidently this was a problem with an extension called SetuBridge Country Group Manager. It was necessary to contact the Extension provider and have the extension updated to resolve this.


0

go to Store / Sales / Checkout / Allow Guest Checkout => must be set to "Yes"


1

Try to do with or condition. Like this below way : if ($method_instance->getCode() == 'checkmo' || $method_instance->getCode() == "purchaseorder") { $result->setData('is_available', false); } Hope, It will helpful for you.


1

Use this code: <?php namespace Bg\PaymentRestriction\Observer; use Magento\Framework\Event\ObserverInterface; use Magento\Framework\App\Request\DataPersistorInterface; use Magento\Framework\App\ObjectManager; use Bg\PaymentRestriction\Helper\Data as DataHelper; class PaymentMethodAvailable implements ObserverInterface { /** * @var \Magento\...


0

This free extensions will help you out: https://github.com/riconeitzel/PaymentFilter


0

Create etc/events.xml. <?xml version="1.0" encoding="UTF-8"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd"> <event name="sales_order_place_after"> <observer name="sales_order_place_after" instance="Vendor\Module\Observer\...


0

The first of all, you should not use preferences to override classes, the preferences should be used only for interfaces https://devdocs.magento.com/guides/v2.3/ext-best-practices/extension-coding/working-with-arch-bp.html. There multiple ways of how to add custom Reference Number to request without using preference for TransactionDataBuilder class. ...


0

I don't have any experience with Paypal Plus, but looking at this description it says For technical reasons PayPal Plus must be rendered in an iFrame. So that seems that Paypal handle all the collection of data for payment, so should be OK, but I would contact paypal or the developer to confirm. Also it looks like Germany are not enforcing the policy ...


Top 50 recent answers are included