Skip to content

Custom Payment Method doesn't uncheck 'My billing and shipping address are the same' #14819

Closed
@eduard13

Description

@eduard13

In Magento 2.2.2, 2.2.3 there is no way to get the Magento behavior on My billing and shipping address are the same checkbox when a new custom Offline Payment Method is used.

Preconditions

  1. Magento 2.2.3 EE (on Magento 2.2.2 CE as well)
  2. PHP 7.1

Steps to reproduce

  1. Create an offline payment method
  2. Add a product to cart
  3. Go to Checkout
  4. Fill in the shipping address
  5. Go to Payment Step
  6. We have our new payment method, and one more - Checkmo
  7. Select Checkmo
  8. Under Selected Payment Method - My billing and shipping address are the same is checked and below we have the billing address = shipping address
    4d0833cc22
  9. Go back to shipping step and change some fields
  10. Come back on the Payment Step

Expected result

  1. My billing and shipping address are the same it should be unchecked
    20e4fedd4b

Actual result

  1. My billing and shipping address are the same is checked, but the address information below doesn't reflect the last changes.
    a67191078b

Also noticed that if the Custom Payment Method is marked as Unavailable, then everything works as needed

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CheckoutFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: 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 validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced 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 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions