Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Order] Creating order via custom checkout without customer leads to error #8698

@kate-kate

Description

@kate-kate

Hi guys!
I've created one-page-checkout following instructions from this article

And I've found a few problems:

1. There is a fake action used in example #8697

And it was said, that we take config from ShopBundle/Resources/config/routing/checkout.yml and only remove routing connected with sylius_shop_checkout_select_shipping, so this is an error

2. Fatal error at complete step

Even if I change route of complete step to sylius.controller.order:updateAction, I get Fatal error when trying to save order after being completed
2017-09-19 16 37 33

It is thrown because there is no check, if I have set customer (and I haven't)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Potential BugPotential bugs or bugfixes, that needs to be reproduced.StaleIssues and PRs with no recent activity, about to be closed soon.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions