failure test case
This commit is contained in:
parent
a3d8257a31
commit
d6464a9c4c
|
|
@ -16,10 +16,8 @@ class EventServiceProvider extends ServiceProvider
|
|||
*/
|
||||
public function boot()
|
||||
{
|
||||
if (core()->getConfigData('sales.paymentmethods.paypal_smart_button.active')) {
|
||||
Event::listen('bagisto.shop.layout.body.after', static function(ViewRenderEventManager $viewRenderEventManager) {
|
||||
$viewRenderEventManager->addTemplate('paypal::checkout.onepage.paypal-smart-button');
|
||||
});
|
||||
}
|
||||
Event::listen('bagisto.shop.layout.body.after', static function(ViewRenderEventManager $viewRenderEventManager) {
|
||||
$viewRenderEventManager->addTemplate('paypal::checkout.onepage.paypal-smart-button');
|
||||
});
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue