Skip to content

CarrierInterface additional requirement #1779

@joshpennington

Description

@joshpennington

When creating a shipping module, your class should implement \Magento\Shipping\Model\Carrier\CarrierInterface

However, in order for your shipping module to actually be used, you have to implement a method called proccessAdditionalValidation that is not required by the CarrierInterface

Failure to implement this method causes your module to be ignored in /app/code/Magento/Shipping/Model/Shipping.php because on line 250, $result will equal false because that method is not called because it does not exist in your module.

Metadata

Metadata

Assignees

Labels

Issue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releasebug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions