Skip to content

Sprangular skips state-machine callbacks triggered between delivery and payment. #168

@DanielWright

Description

@DanielWright

Because the checkout service manually sets the state to "payment" in setDeliveryAndPayment, Spree assigns the "payment" state to the order while loading it. This skips related state-machine callbacks, which is Not Good™ because it skips this callback. This can lead to various order totals becoming confusingly out-of-sync:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions