Forums

Covering OroCommerce topics, B2B eCommerce trends, community updates and company announcements.

Forums OroCommerce Adding attribute in checkout payment step

This topic contains 2 replies, has 2 voices, and was last updated by  Vincent Pietri 2 months, 2 weeks ago.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #26696
    Andrey Yatsenko
    Andrey Yatsenko
    Moderator

    Hi Vincent,

    How can I alter an existing workflow (b2b_flow_checkout) to add my attribute?

    You can’t extend the workflow as the only way to modify it is create new workflow and use it instead of the built-in one.

    However payment methods itself are pretty extendable and you probably can do all the stuff without modifying workflow, check out the documentation first

    Add a New Payment Method

    Also you can add new field to Order and Checkout entity from another bundle as extended fields using migrations, for example check how it’s done in InfinitePayBundle. Here vat_id added to Customer entity as extended field.

    #26697

    Vincent Pietri
    Participant

    Hi Andreys,

    I’ve already read the tutorial “Add a New Payment Method” but no found information how to add new fields.

    The bundle InfinitePayBundle seems to fit my needs.

    Many thanks for your quick answer.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
ssossossosso