<p>Instead of <code>slug</code> try using <code>*</code> in your route definition</p>

CC BY-SA 3.0
2017-03-30T11:08:04.850Z
2017-03-30T11:08:04.850Z
Adam Menczykowski
<p>I keep getting the 404 after successful payment.</p>

<p>I am pretty sure I have everything set up correctly, the thanks template is there, but it seems like Craft won't respond to the request, so the routing is not trigged, Apache is still trying to serve that file directly, it won’t recognize the {hash} part in the URL, so keep return the 404 page.</p>

<p>The only way I find to make this work is manually add another redirect in the Route section (last screenshot), but it's not a nature way. </p>

<p>Any insight would be great.</p>

<p><a href="https://i.sstatic.net/PXpJV.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/PXpJV.png" alt="enter image description here"></a></p>

<redirect><plugin-charge>
Charge plugin thanks page 404
# Charge plugin thanks page 404

(Asked by: username_0 on 2017-02-02)

I keep getting the 404 after successful payment.

I am pretty sure I have everything set up correctly, the thanks template is there, but it seems like Craft won't respond to the request, so the routing is not trigged, Apache is still trying to serve that file directly, it won’t recognize the {hash} part in the URL, so keep return the 404 page.

The only way I find to make this work is manually add another redirect in the Route section (last screenshot), but it's not a nature way.

Any insight would be great.

[![enter image description here](https://i.sstatic.net/PXpJV.png)](https://i.sstatic.net/PXpJV.png)

**Tags:** redirect, plugin-charge


---

## 1 answers

### Answer by username_1 on 2017-03-30. Score: 1

Instead of `slug` try using `*` in your route definition


---

