Skip to content

Commit 7bbac33

Browse files
committed
comment bidi feature
1 parent 18f9585 commit 7bbac33

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

Frontend/RpayRatePay/Bootstrap.php

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -332,16 +332,16 @@ private function _createForm()
332332
));
333333

334334
/** BIDIRECTIONAL ORDER SETTINGS **/
335-
$form->setElement('button', 'button2', array(
335+
/*$form->setElement('button', 'button2', array(
336336
'label' => '<b>Bidirektionale RatePAY-Bestellungen:</b>',
337337
'value' => ''
338338
));
339339
$form->setElement('checkbox', 'RatePayBidirectional', array(
340340
'label' => 'Bidirektionalität aktivieren ( Automatische Operationen an RatePAY senden, wenn sich der Bestellstatus einer RatePAY-Bestellung ändert )',
341341
'scope' => Shopware\Models\Config\Element::SCOPE_SHOP,
342-
));
342+
));*/
343343
/** ORDERSTATUS **/
344-
$form->setElement('button', 'button3', array(
344+
/*$form->setElement('button', 'button3', array(
345345
'label' => '<b>Bestellstati:</b>',
346346
'value' => ''
347347
));
@@ -356,7 +356,7 @@ private function _createForm()
356356
'valueField' => 'id',
357357
'scope' => \Shopware\Models\Config\Element::SCOPE_SHOP
358358
)
359-
);
359+
);*/
360360
/*$form->setElement(
361361
'select',
362362
'RatePayPartialDelivery',
@@ -369,7 +369,7 @@ private function _createForm()
369369
'scope' => \Shopware\Models\Config\Element::SCOPE_SHOP
370370
)
371371
);*/
372-
$form->setElement(
372+
/*$form->setElement(
373373
'select',
374374
'RatePayFullCancellation',
375375
array(
@@ -380,7 +380,7 @@ private function _createForm()
380380
'valueField' => 'id',
381381
'scope' => \Shopware\Models\Config\Element::SCOPE_SHOP
382382
)
383-
);
383+
);*/
384384
/*$form->setElement(
385385
'select',
386386
'RatePayPartialCancellation',
@@ -393,7 +393,7 @@ private function _createForm()
393393
'scope' => \Shopware\Models\Config\Element::SCOPE_SHOP
394394
)
395395
);*/
396-
$form->setElement(
396+
/*$form->setElement(
397397
'select',
398398
'RatePayFullReturn',
399399
array(
@@ -404,7 +404,7 @@ private function _createForm()
404404
'valueField' => 'id',
405405
'scope' => \Shopware\Models\Config\Element::SCOPE_SHOP
406406
)
407-
);
407+
);*/
408408
/*$form->setElement(
409409
'select',
410410
'RatePayPartialReturn',
@@ -605,9 +605,9 @@ private function _subscribeEvents()
605605
$this->subscribeEvent(
606606
'Shopware_Controllers_Backend_Order::saveAction::before', 'beforeSaveOrderInBackend'
607607
);
608-
$this->subscribeEvent(
608+
/*$this->subscribeEvent(
609609
'Shopware_Controllers_Backend_Order::saveAction::after', 'onBidirectionalSendOrderOperation'
610-
);
610+
);*/
611611
$this->subscribeEvent(
612612
'Enlight_Controller_Dispatcher_ControllerPath_Frontend_RpayRatepay', 'frontendPaymentController'
613613
);
@@ -646,7 +646,7 @@ private function _subscribeEvents()
646646
}
647647
}
648648

649-
public function onBidirectionalSendOrderOperation(Enlight_Hook_HookArgs $arguments)
649+
/*public function onBidirectionalSendOrderOperation(Enlight_Hook_HookArgs $arguments)
650650
{
651651
$request = $arguments->getSubject()->Request();
652652
$parameter = $request->getParams();
@@ -782,7 +782,9 @@ public function onBidirectionalSendOrderOperation(Enlight_Hook_HookArgs $argumen
782782
}
783783
}
784784
}
785-
}
785+
}*/
786+
787+
786788
/**
787789
* Updates the given binding for the given article
788790
*

0 commit comments

Comments
 (0)