Describe your bug or feature request.

Submitting the checkout flow configuration form using the main submit button without first submitting the pane configuration form leads to unexpected results.

Steps to reproduce

  1. Open any checkout flow configuration
  2. Open the "Completion message" pane configuration form
  3. Submit the main form without changing anything
  4. Notice the completion message got moved to the Review step and the "Payment process" pane got moved to the complete step

This is due to the $pane_id variable being updated by reference in CheckoutFlowWithPanesBase::submitConfigurationForm().
Will open an MR to fix this.

Issue fork commerce-3558557

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jsacksick created an issue. See original summary.

  • jsacksick committed dd805cf1 on 3.x
    fix: #3558557 Submitting the checkout flow while editing a pane messes...
jsacksick’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.