Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

- fixed addPaymentDataToRequest method, adding data to request instead of quote #7

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

pknap
Copy link

@pknap pknap commented Mar 2, 2018

Hi, thank you for this great plugin. I tried to use it with payment method conditions, which I suppose is not used very often, as stated in documentation: https://meanbee.atlassian.net/wiki/spaces/EXT/pages/35160074/Shipping+Rules#ShippingRules-Conditions in payment conditions section. However, even after changing checkout flow, so payment method is selected before shipping method it did not work properly. I found out that getSanitisedValue method of Meanbee_Shippingrules_Model_Rule_Condition returns null for payment_method attribute, and then I found, that payment_method data is not saved to $request, but to $quote in Carrier model. I think it's a typo, and since this functionality is not 100% in scope of extension no one found it before, but maybe it will be useful for someone in the future.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant