Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Command/TreatOrderMultiPaymentCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use PayPlugModule\Model\OrderPayPlugMultiPayment;
use PayPlugModule\Model\OrderPayPlugMultiPaymentQuery;
use Propel\Runtime\ActiveQuery\Criteria;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Thelia\Command\ContainerAwareCommand;
Expand Down Expand Up @@ -45,5 +46,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$todayPlannedOrderPayment->setPaymentId($paymentEvent->getPaymentId())
->save();
}

return Command::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion Config/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<language>en_US</language>
<language>fr_FR</language>
</languages>
<version>3.0.0</version>
<version>3.1.0</version>
<authors>
<author>
<name>Vincent Lopes-Vicente</name>
Expand Down
6 changes: 3 additions & 3 deletions Service/PaymentService.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ public function isPayPlugAvailable()
*/
public function sendOrderPayment(
Order $order,
bool $capture = false,
bool $allowSaveCard = false,
int $paymentSlice = 1,
bool $capture,
bool $allowSaveCard,
int $paymentSlice,
float $totalOrder
) {
$paymentEvent = (new PayPlugPaymentEvent())
Expand Down
Binary file not shown.
408 changes: 0 additions & 408 deletions templates/backOffice/default/PayPlugModule/configuration.html

This file was deleted.

168 changes: 0 additions & 168 deletions templates/backOffice/default/PayPlugModule/order_pay_plug.html

This file was deleted.

21 changes: 0 additions & 21 deletions templates/backOffice/default/PayPlugModule/order_pay_plug.js

This file was deleted.

Loading