diff --git a/app/code/community/Meanbee/Shippingrules/Model/Carrier.php b/app/code/community/Meanbee/Shippingrules/Model/Carrier.php index 85f085b..bbd657e 100644 --- a/app/code/community/Meanbee/Shippingrules/Model/Carrier.php +++ b/app/code/community/Meanbee/Shippingrules/Model/Carrier.php @@ -327,7 +327,7 @@ public function addPaymentDataToRequest(Mage_Shipping_Model_Rate_Request $reques $requestItems = $request->getAllItems(); if (count($requestItems) > 0) { $quote = $requestItems[0]->getQuote(); - $quote->setData('payment_method', $quote->getPayment()->getMethod()); + $request->setData('payment_method', $quote->getPayment()->getMethod()); } return $request; }