We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ea1b9e + 06e9376 commit e983cd2Copy full SHA for e983cd2
Model/RecurringOrder/CreateRecurringOrder.php
@@ -362,6 +362,7 @@ public function placeRecurringOrder(array $data)
362
$shippingAddress->setCollectShippingRates(true)
363
->collectShippingRates()
364
->setShippingMethod('flatrate_flatrate');
365
+
366
$quote->setPaymentMethod($validateTokenData['method']);
367
$quote->setInventoryProcessed(false);
368
$quote->setIsMultiShipping(0);
@@ -387,6 +388,7 @@ public function placeRecurringOrder(array $data)
387
388
389
$extraPaymentData = $this->createRecurringOrderHelper->createPaymentMethodNonce($validateTokenData, $customerInfo['customerId']);
390
$quote->getPayment()->importData($extraPaymentData);
391
+ $quote->setTotalsCollectedFlag(false);
392
$quote->collectTotals();
393
$this->quoteRepository->save($quote);
394
// Create Order From Quote
0 commit comments