Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIPRES-261: Mixed cart checkout for subscriptions #803

Merged
merged 9 commits into from
Sep 11, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
stan
  • Loading branch information
mandan2 committed Sep 11, 2023
commit e7ea2eb1ec60edc6066663029dc6348d5b126fe2
7 changes: 0 additions & 7 deletions subscription/Handler/RecurringOrderHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,6 @@ private function createSubscription(Payment $transaction, MolRecurringOrder $rec
$newCart->setDeliveryOption([(int) $recurringOrder->id_address_delivery => sprintf('%d,', 8)]);
$newCart->update();

$newCart->getDeliveryOption(null, false, false)[$cart->id_address_delivery];

// $this->assertNotEquals(
// sprintf('%d,', (int) $carrier->id),
// $this->contextBuilder->getContext()->cart->getDeliveryOption(null, false, false)[$cart->id_address_delivery]
// );

$this->mollie->validateOrder(
(int) $newCart->id,
(int) $this->configuration->get(Config::MOLLIE_STATUS_AWAITING),
Expand Down