cancel
Showing results for 
Search instead for 
Did you mean: 

Checkout onepage success

Checkout onepage success

Hi, i have a problem at checkout. I created Namespace\Module\view\frontend\layout\checkout_onepage_success.xml like this

 

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd">
    <body>
         <referenceContainer name="content">
            <block class="Namespace\Module\Block\Widget\Redirect" template="Namespace_Module::html/rk.phtml" cacheable="false"/>
        </referenceContainer>
        <container name="order.success.additional.info" label="Order Success Additional Info"/>
    </body>
</page>

 and when i complete the ckeckout, rk.phtml shows only if i am logged in the client account.

 

What is the problem and how can i fix it?