<p>Are you testing from a local domain or on a remotely accessible server? </p>

<p>If it is a local domain then the return cannot work since Worldpay doesn't know where 'local' is.</p>

<p>If this is a remote server then:</p>

<ol>
<li>Is the site turned 'on'? i.e. do you need to be logged in to view the front end</li>
<li>Do you have http auth in place (for instance to stop robots crawling a staging site). </li>
</ol>

<p>If either of the above is true then it's likely that Worldpay can't get to the site.</p>

<p>Finally, do you have CSRF protection turned on? Try turning it off. If that solves the problem then you will need to bypass it in some way in order for Worldpay to work.</p>

CC BY-SA 4.0
2018-09-04T14:24:28.423Z
One issue solved!  Thank you. Turning off CSRF helped to put order placed. Another issue that after payment still not redirecting to summary screen. How to force it?
Marcin
CC BY-SA 4.0
2018-09-04T15:02:43.643Z
This problem is also solved. I had to enable shopper response. Dunno how I missed that...
Marcin
CC BY-SA 4.0
2018-09-04T14:11:45.187Z
2018-09-04T14:11:45.187Z
foamcow
<p>I have live site with PayPal payment Gateway and works flawless. Problem appears when I want to use also WorldPay.
Payment is going throught but after payment browser is not redirecting to Order Summary Screen and order doesn't appear as placed order in CP.
I set up everything as stated in Craft Commerce doc. I really don't know what I can do else :(</p>

<p>Orders only appears in ACTIVE CARTwith status REDIRECT.
<a href="https://i.sstatic.net/XT33z.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/XT33z.jpg" alt="enter image description here"></a></p>

<p>Another order is adding to the same order that's the problem to identify what has been bought.</p>

<worldpay>
Worldpay Gateway not redirecting to Customer Order screen on successful transaction
# Worldpay Gateway not redirecting to Customer Order screen on successful transaction

(Asked by: username_0 on 2018-09-04)

I have live site with PayPal payment Gateway and works flawless. Problem appears when I want to use also WorldPay.
Payment is going throught but after payment browser is not redirecting to Order Summary Screen and order doesn't appear as placed order in CP.
I set up everything as stated in Craft Commerce doc. I really don't know what I can do else :(

Orders only appears in ACTIVE CARTwith status REDIRECT.
[![enter image description here](https://i.sstatic.net/XT33z.jpg)](https://i.sstatic.net/XT33z.jpg)

Another order is adding to the same order that's the problem to identify what has been bought.

**Tags:** worldpay

---

## 1 answers

### Answer by username_1 on 2018-09-04. Score: 1 | Accepted answer

Are you testing from a local domain or on a remotely accessible server?

If it is a local domain then the return cannot work since Worldpay doesn't know where 'local' is.

If this is a remote server then:

1. Is the site turned 'on'? i.e. do you need to be logged in to view the front end
2. Do you have http auth in place (for instance to stop robots crawling a staging site).

If either of the above is true then it's likely that Worldpay can't get to the site.

Finally, do you have CSRF protection turned on? Try turning it off. If that solves the problem then you will need to bypass it in some way in order for Worldpay to work.

> **Comments:**
> **username_0**: One issue solved!  Thank you. Turning off CSRF helped to put order placed. Another issue that after payment still not redirecting to summary screen. How to force it?  
> **username_0**: This problem is also solved. I had to enable shopper response. Dunno how I missed that...  

---

