Skip to content

order.success.additional.info container rendered twice on checkout success page #4999

@roma84

Description

@roma84

Steps to reproduce

  1. Install Magento from develop branch.
  2. Enable and configure Paypal Express and billing agreements.
  3. Sign in.
  4. Add Product to cart.
  5. Go to checkout.
  6. Select Paypal.
  7. Check Billing Agreement checkbox.
  8. You will be redirected to success page after payment completed.

Expected result

  1. Billing agreement number rendered in page content

Actual result

  1. Billing agreement number rendered twice: in page content and page bottom.
  2. Screenshot:
    success-page-bug

Possible solution

in app/code/Magento/Checkout/view/frontend/layout/checkout_onepage_success.xml move order.success.additional.info inside checkout.success block:

<referenceContainer name="content">
    <block class="Magento\Checkout\Block\Onepage\Success" name="checkout.success" template="success.phtml" cacheable="false">
        <container name="order.success.additional.info" label="Order Success Additional Info"/>
    </block>
        ...
</referenceContainer>

Metadata

Metadata

Assignees

Labels

Fixed in 2.2.xThe issue has been fixed in 2.2 release lineIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions