Skip to content

Commit 193dfc0

Browse files
author
Fabian Pechstein
committed
[bug-fix] update server_side handler
1 parent 482b2b9 commit 193dfc0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/PayoneBundle/Ecommerce/PaymentManager/BsPayone.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public function __construct(array $options, EngineInterface $templatingEngine, L
215215
$this->configureOptions(new OptionsResolver())->resolve($options)
216216
);
217217
$this->templatingEngine = $templatingEngine;
218-
$this->mode = getenv('PAYONE_MODE');
218+
//$this->mode = getenv('PAYONE_MODE');
219219

220220
$this->logger = $logger;
221221
$this->registry = $registry;
@@ -486,7 +486,7 @@ public function initPayment(PriceInterface $price, array $config)
486486

487487
$params['payoneFrontendScript'] = $this->js;
488488
$params['javascriptUrl'] = $this->js;
489-
489+
$params['mode'] = $this->mode;
490490

491491
$orderIdent = $config['orderIdent'];
492492

0 commit comments

Comments
 (0)