GithubHelp home page GithubHelp logo

bitpay-checkout-magento2's Introduction

bitpay-checkout-magento2's People

Contributors

bobbrodie avatar danstaver avatar frankielpm avatar mwarzybok-sumoheavy avatar p-maguire avatar thejoshualewis avatar vbuck avatar virtua-wkogut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bitpay-checkout-magento2's Issues

Undefined property: stdClass::$data in Bitpay/BPCheckout/Observer/BPRedirect.php on line 308

Magento 2.2.8, Installed v3.12.1911 with merge from #28.

Following issue appears in Test mode, during checkout when "redirect" is supposed to happen:

1 exception(s):
Exception #0 (Exception): Notice: Undefined property: stdClass::$data in /var/www/html/magento2/app/code/Bitpay/BPCheckout/Observer/BPRedirect.php on line 308

Exception #0 (Exception): Notice: Undefined property: stdClass::$data in /var/www/html/magento2/app/code/Bitpay/BPCheckout/Observer/BPRedirect.php on line 308
<pre>#1 Bitpay\BPCheckout\Observer\BPRedirect->execute(&Magento\Framework\Event\Observer#00000000209e51b5000000000aff4e24#) called at [vendor/magento/framework/Event/Invoker/InvokerDefault.php:72]
#2 Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod(&Bitpay\BPCheckout\Observer\BPRedirect#00000000209e5355000000000aff4e24#, &Magento\Framework\Event\Observer#00000000209e51b5000000000aff4e24#) called at [vendor/magento/framework/Event/Invoker/InvokerDefault.php:60]
#3 Magento\Framework\Event\Invoker\InvokerDefault->dispatch(array('instance' => 'Bitpay\BPCheckou...', 'name' => 'bpcheckout_contr...'), &Magento\Framework\Event\Observer#00000000209e51b5000000000aff4e24#) called at [vendor/magento/framework/Event/Manager.php:66]
#4 Magento\Framework\Event\Manager->dispatch('checkout_onepage...', array('order_ids' => array(41959))) called at [generated/code/Magento/Framework/Event/Manager/Proxy.php:95]
#5 Magento\Framework\Event\Manager\Proxy->dispatch('checkout_onepage...', array('order_ids' => array(41959))) called at [vendor/magento/module-checkout/Controller/Onepage/Success.php:27]
#6 Magento\Checkout\Controller\Onepage\Success->execute() called at [vendor/magento/framework/App/Action/Action.php:107]
#7 Magento\Framework\App\Action\Action->dispatch(&Magento\Framework\App\Request\Http#00000000209e76c3000000000aff4e24#) called at [vendor/magento/module-checkout/Controller/Onepage.php:161]
#8 Magento\Checkout\Controller\Onepage->dispatch(&Magento\Framework\App\Request\Http#00000000209e76c3000000000aff4e24#) called at [vendor/magento/framework/Interception/Interceptor.php:58]
#9 Magento\Checkout\Controller\Onepage\Success\Interceptor->___callParent('dispatch', array(&Magento\Framework\App\Request\Http#00000000209e76c3000000000aff4e24#)) called at [vendor/magento/framework/Interception/Interceptor.php:138]
#10 Magento\Checkout\Controller\Onepage\Success\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#00000000209e76c3000000000aff4e24#) called at [vendor/magento/framework/Interception/Interceptor.php:153]
#11 Magento\Checkout\Controller\Onepage\Success\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#00000000209e76c3000000000aff4e24#), array(array('designLoader', 'customerNotifica...', 'catalog_app_acti...', 'tax-app-action-d...', 'weee-app-action-...', 'storeCheck', 'contextPlugin', 'customer-app-act...', 'Webkul_SellerSub...'))) called at [generated/code/Magento/Checkout/Controller/Onepage/Success/Interceptor.php:26]
#12 Magento\Checkout\Controller\Onepage\Success\Interceptor->dispatch(&Magento\Framework\App\Request\Http#00000000209e76c3000000000aff4e24#) called at [vendor/magento/framework/App/FrontController.php:55]
#13 Magento\Framework\App\FrontController->dispatch(&Magento\Framework\App\Request\Http#00000000209e76c3000000000aff4e24#) called at [vendor/magento/framework/Interception/Interceptor.php:58]
#14 Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', array(&Magento\Framework\App\Request\Http#00000000209e76c3000000000aff4e24#)) called at [vendor/magento/framework/Interception/Interceptor.php:138]
#15 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#00000000209e76c3000000000aff4e24#) called at [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:94]
#16 Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(&Magento\Framework\App\FrontController\Interceptor#00000000209e7798000000000aff4e24#, &Closure#00000000209e7799000000000aff4e24#, &Magento\Framework\App\Request\Http#00000000209e76c3000000000aff4e24#) called at [vendor/magento/framework/Interception/Interceptor.php:135]
#17 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#00000000209e76c3000000000aff4e24#) called at [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:73]
#18 Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(&Magento\Framework\App\FrontController\Interceptor#00000000209e7798000000000aff4e24#, &Closure#00000000209e7799000000000aff4e24#, &Magento\Framework\App\Request\Http#00000000209e76c3000000000aff4e24#) called at [vendor/magento/framework/Interception/Interceptor.php:135]
#19 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#00000000209e76c3000000000aff4e24#) called at [vendor/amasty/aminvisiblecaptcha/Plugin/Predispatch.php:112]
#20 Amasty\InvisibleCaptcha\Plugin\Predispatch->aroundDispatch(&Magento\Framework\App\FrontController\Interceptor#00000000209e7798000000000aff4e24#, &Closure#00000000209e7799000000000aff4e24#, &Magento\Framework\App\Request\Http#00000000209e76c3000000000aff4e24#) called at [vendor/magento/framework/Interception/Interceptor.php:135]
#21 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#00000000209e76c3000000000aff4e24#) called at [vendor/magento/framework/Interception/Interceptor.php:153]
#22 Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#00000000209e76c3000000000aff4e24#), NULL) called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26]
#23 Magento\Framework\App\FrontController\Interceptor->dispatch(&Magento\Framework\App\Request\Http#00000000209e76c3000000000aff4e24#) called at [vendor/magento/framework/App/Http.php:136]
#24 Magento\Framework\App\Http->launch() called at [vendor/magento/framework/App/Bootstrap.php:257]
#25 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#00000000209e762c000000000aff4e24#) called at [index.php:48]
</pre>

Note: this also happens in "modal" mode.

Unable to place order

With the newest version we are getting the following error in our checkout:

"WE ARE UNABLE TO PLACE YOUR ORDER AT THIS TIME"

Magento 2.4.5 and PHP 8.1.

Checkout error

Using the Test environment, upon checking out, our Magento 2.2.9 site goes from the payments screen on checkout directly to order success without redirecting or showing the BitPay modal. On the success page (checkout/onepage/success/), the following error is shown:

1 exception(s):
Exception #0 (Exception): Notice: Undefined property: stdClass::$data in /var/www/html/app/code/Bitpay/BPCheckout/Observer/BPRedirect.php on line 310

We are using version 3.1.1911.0 of the plugin on Magento 2.2.9. Are these two versions compatible? Any tips on how to debug this or figure out where things are going wrong?

Thank you.

Add payment logo in checkout

All our payment methods are having a payment logo in front of their name in the checkout except for Bitpay. I think it would be great if Bitpay would add this as well. This way it gets more attention and it will also help with brand exposure.

Bitpay v3.0.0.1 Undefined property: stdClass::$data BPRedirect.php on line 133

I've installed the newest version 3.0.0.1 and I have the following error on my Magento 2.3.0 Installation:

1 exception(s):
Exception #0 (Exception): Notice: Undefined property: stdClass::$data in /var/domains/asc-amsterdamseedcenter.com/applicatie/app/code/Bitpay/BPCheckout/Observer/BPRedirect.php on line 133

Exception #0 (Exception): Notice: Undefined property: stdClass::$data in /var/domains/asc-amsterdamseedcenter.com/applicatie/app/code/Bitpay/BPCheckout/Observer/BPRedirect.php on line 133
#0 /var/domains/asc-amsterdamseedcenter.com/applicatie/app/code/Bitpay/BPCheckout/Observer/BPRedirect.php(133): Magento\Framework\App\ErrorHandler->handler(8, 'Undefined prope...', '/var/domains/as...', 133, Array)
#1 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/Event/Invoker/InvokerDefault.php(72): Bitpay\BPCheckout\Observer\BPRedirect->execute(Object(Magento\Framework\Event\Observer))
#2 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/Event/Invoker/InvokerDefault.php(60): Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod(Object(Bitpay\BPCheckout\Observer\BPRedirect), Object(Magento\Framework\Event\Observer))
#3 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/Event/Manager.php(66): Magento\Framework\Event\Invoker\InvokerDefault->dispatch(Array, Object(Magento\Framework\Event\Observer))
#4 /var/domains/asc-amsterdamseedcenter.com/applicatie/generated/code/Magento/Framework/Event/Manager/Proxy.php(95): Magento\Framework\Event\Manager->dispatch('checkout_onepag...', Array)
#5 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/module-checkout/Controller/Onepage/Success.php(29): Magento\Framework\Event\Manager\Proxy->dispatch('checkout_onepag...', Array)
#6 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Checkout\Controller\Onepage\Success->execute()
#7 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Checkout\Controller\Onepage\Success\Interceptor->___callParent('execute', Array)
#8 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Checkout\Controller\Onepage\Success\Interceptor->Magento\Framework\Interception{closure}()
#9 /var/domains/asc-amsterdamseedcenter.com/applicatie/generated/code/Magento/Checkout/Controller/Onepage/Success/Interceptor.php(26): Magento\Checkout\Controller\Onepage\Success\Interceptor->___callPlugins('execute', Array, Array)
#10 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/App/Action/Action.php(108): Magento\Checkout\Controller\Onepage\Success\Interceptor->execute()
#11 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/module-checkout/Controller/Onepage.php(161): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))
#12 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Checkout\Controller\Onepage->dispatch(Object(Magento\Framework\App\Request\Http))
#13 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Checkout\Controller\Onepage\Success\Interceptor->___callParent('dispatch', Array)
#14 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Checkout\Controller\Onepage\Success\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))
#15 /var/domains/asc-amsterdamseedcenter.com/applicatie/generated/code/Magento/Checkout/Controller/Onepage/Success/Interceptor.php(39): Magento\Checkout\Controller\Onepage\Success\Interceptor->___callPlugins('dispatch', Array, Array)
#16 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/App/FrontController.php(159): Magento\Checkout\Controller\Onepage\Success\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#17 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/App/FrontController.php(99): Magento\Framework\App\FrontController->processRequest(Object(Magento\Framework\App\Request\Http), Object(Magento\Checkout\Controller\Onepage\Success\Interceptor))
#18 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
#19 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
#20 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))
#21 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#22 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(73): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))
#23 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#24 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))
#25 /var/domains/asc-amsterdamseedcenter.com/applicatie/generated/code/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, NULL)
#26 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#27 /var/domains/asc-amsterdamseedcenter.com/applicatie/generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch()
#28 /var/domains/asc-amsterdamseedcenter.com/applicatie/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http\Interceptor->launch()
#29 /var/domains/asc-amsterdamseedcenter.com/applicatie/pub/index.php(37): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
#30 {main}

Add to Packagist

Can this module be added to packagist.org?

Currently, the only way to install this would be by copying the files into app/code or artifact composer repository in a project.

Update extension for Magento 2.4.1 ?

Hi,

Did you plan to publish in few time an update of your extension for Magento 2.4.1 (php 7.4) ??
Would like to use your company for our website but your plugin seems not updated since a very long time ... so I'm not in confidence to use it.

Error: Call to a member function getMethodInstance()

[2022-11-07T10:12:41.382829+00:00] main.CRITICAL: Error: Call to a member function getMethodInstance() on null in /public_html/vendor/bitpay/module-bpcheckout/Model/BPRedirect.php:80
Stack trace:
#0 /public_html/vendor/bitpay/module-bpcheckout/Plugin/Onepage/SuccessPlugin.php(21): Bitpay\BPCheckout\Model\BPRedirect->execute()
#1 /public_html/vendor/magento/framework/Interception/Interceptor.php(146): Bitpay\BPCheckout\Plugin\Onepage\SuccessPlugin->afterExecute()
#2 /public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Checkout\Controller\Onepage\Success\Interceptor->Magento\Framework\Interception\{closure}()
#3 /public_html/generated/code/Magento/Checkout/Controller/Onepage/Success/Interceptor.php(23): Magento\Checkout\Controller\Onepage\Success\Interceptor->___callPlugins()
#4 /public_html/vendor/magento/framework/App/Action/Action.php(111): Magento\Checkout\Controller\Onepage\Success\Interceptor->execute()
#5 /public_html/vendor/magento/module-checkout/Controller/Onepage.php(161): Magento\Framework\App\Action\Action->dispatch()
#6 /public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Checkout\Controller\Onepage->dispatch()
#7 /public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Checkout\Controller\Onepage\Success\Interceptor->___callParent()
#8 /public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Checkout\Controller\Onepage\Success\Interceptor->Magento\Framework\Interception\{closure}()
#9 /public_html/generated/code/Magento/Checkout/Controller/Onepage/Success/Interceptor.php(32): Magento\Checkout\Controller\Onepage\Success\Interceptor->___callPlugins()
#10 /public_html/vendor/magento/framework/App/FrontController.php(245): Magento\Checkout\Controller\Onepage\Success\Interceptor->dispatch()
#11 /public_html/vendor/magento/framework/App/FrontController.php(212): Magento\Framework\App\FrontController->getActionResponse()
#12 /public_html/vendor/magento/framework/App/FrontController.php(147): Magento\Framework\App\FrontController->processRequest()
#13 /public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch()
#14 /public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent()
#15 /public_html/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(99): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}()
#16 /public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch()
#17 /public_html/vendor/mirasvit/module-push-notification/src/PushNotification/Plugin/Framework/App/FrontController/FirebaseServerWorkerJsResponsePlugin.php(74): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}()
#18 /public_html/vendor/magento/framework/Interception/Interceptor.php(135): Mirasvit\PushNotification\Plugin\Framework\App\FrontController\FirebaseServerWorkerJsResponsePlugin->aroundDispatch()
#19 /public_html/vendor/mirasvit/module-cache-warmer/src/CacheWarmer/Plugin/Debug/OnHitPlugin.php(145): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}()
#20 /public_html/vendor/magento/framework/Interception/Interceptor.php(135): Mirasvit\CacheWarmer\Plugin\Debug\OnHitPlugin->aroundAroundDispatch()
#21 /public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->Magento\Framework\Interception\{closure}()
#22 /public_html/generated/code/Magento/PageCache/Model/App/FrontController/BuiltinPlugin/Interceptor.php(23): Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->___callPlugins()
#23 /public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->aroundDispatch()
#24 /public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}()
#25 /public_html/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins()
#26 /public_html/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch()
#27 /public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http->launch()
#28 /public_html/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->launch()
#29 /public_html/pub/index.php(30): Magento\Framework\App\Bootstrap->run()
#30 {main} [] []

Checkout Issue with Magento 2 Plugin

Using the Test environment with Magento 2.3 when using bitpay checkout it sends an order confirmation email before payment is done by the user.
Expected Outcome
Order Confirmation Email should be sent after payment is complete.

Actual Outcome
Order Confirmation Email is sent as soon as the user clicks checkout.

Technical Details:
Magento Version: 2.3
Plugin Version: 3.14.2002

Warning: Undefined property: stdClass::$data

1 exception(s):
Exception #0 (Exception): Warning: Undefined property: stdClass::$data in /home/xxx/public_html/app/code/Bitpay/BPCheckout/Observer/BPRedirect.php on line 292

Exception #0 (Exception): Warning: Undefined property: stdClass::$data in /home/xxx/public_html/app/code/Bitpay/BPCheckout/Observer/BPRedirect.php on line 292

#1 Bitpay\BPCheckout\Observer\BPRedirect->execute() called at [vendor/magento/framework/Event/Invoker/InvokerDefault.php:88]
#2 Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod() called at [vendor/magento/framework/Event/Invoker/InvokerDefault.php:74]
#3 Magento\Framework\Event\Invoker\InvokerDefault->dispatch() called at [vendor/magento/framework/Event/Manager.php:66]
#4 Magento\Framework\Event\Manager->dispatch() called at [generated/code/Magento/Framework/Event/Manager/Proxy.php:95]
#5 Magento\Framework\Event\Manager\Proxy->dispatch() called at [vendor/magento/module-checkout/Controller/Onepage/Success.php:33]
#6 Magento\Checkout\Controller\Onepage\Success->execute() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#7 Magento\Checkout\Controller\Onepage\Success\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#8 Magento\Checkout\Controller\Onepage\Success\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#9 Magento\Checkout\Controller\Onepage\Success\Interceptor->___callPlugins() called at [generated/code/Magento/Checkout/Controller/Onepage/Success/Interceptor.php:23]
#10 Magento\Checkout\Controller\Onepage\Success\Interceptor->execute() called at [vendor/magento/framework/App/Action/Action.php:111]
#11 Magento\Framework\App\Action\Action->dispatch() called at [vendor/magento/module-checkout/Controller/Onepage.php:161]
#12 Magento\Checkout\Controller\Onepage->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#13 Magento\Checkout\Controller\Onepage\Success\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#14 Magento\Checkout\Controller\Onepage\Success\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#15 Magento\Checkout\Controller\Onepage\Success\Interceptor->___callPlugins() called at [generated/code/Magento/Checkout/Controller/Onepage/Success/Interceptor.php:32]
#16 Magento\Checkout\Controller\Onepage\Success\Interceptor->dispatch() called at [vendor/magento/framework/App/FrontController.php:245]
#17 Magento\Framework\App\FrontController->getActionResponse() called at [vendor/magento/framework/App/FrontController.php:212]
#18 Magento\Framework\App\FrontController->processRequest() called at [vendor/magento/framework/App/FrontController.php:147]
#19 Magento\Framework\App\FrontController->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#20 Magento\Framework\App\FrontController\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#21 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:99]
#22 Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#23 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/mirasvit/module-push-notification/src/PushNotification/Plugin/Framework/App/FrontController/FirebaseServerWorkerJsResponsePlugin.php:74]
#24 Mirasvit\PushNotification\Plugin\Framework\App\FrontController\FirebaseServerWorkerJsResponsePlugin->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#25 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/mirasvit/module-cache-warmer/src/CacheWarmer/Plugin/Debug/OnHitPlugin.php:140]
#26 Mirasvit\CacheWarmer\Plugin\Debug\OnHitPlugin->aroundAroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#27 Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#28 Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->___callPlugins() called at [generated/code/Magento/PageCache/Model/App/FrontController/BuiltinPlugin/Interceptor.php:23]
#29 Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#30 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#31 Magento\Framework\App\FrontController\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:23]
#32 Magento\Framework\App\FrontController\Interceptor->dispatch() called at [vendor/magento/framework/App/Http.php:116]
#33 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:23]
#34 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:264]
#35 Magento\Framework\App\Bootstrap->run() called at [pub/index.php:30]

XML Validation Error on Route Configuration

In developer mode, XML validation fails on etc/frontend/routes.xml because it contains an empty body:

1 exception(s):
Exception #0 (Magento\Framework\Exception\LocalizedException): The XML in file "/vagrant/magento/vendor/bitpay/module-bpcheckout/etc/frontend/routes.xml" is invalid:
Element 'config': Missing child element(s). Expected is ( router ).
Line: 2

Verify the XML and try again.

Steps to Reproduce

  1. Install the module
  2. Enable developer mode
  3. Ensure config cache has been flushed
  4. Attempt to navigate to the frontend
  5. Observe exception

Because there are no actual controllers used on the frontend, this configuration file and be removed, and that will resolve the error.

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.