thank you redirect

This commit is contained in:
Chris Smith
2019-03-07 17:53:04 -06:00
parent 516715313d
commit 2a91ad1838

View File

@@ -160,7 +160,7 @@ $router->post('/checkout', function () {
unset($guest, $uuid);
}
header('Location: /manage/' . $redirectUuid->toString());
header('Location: /thank-you/' . $redirectUuid->toString());
});
$router->get('/manage/{uuid}', function ($uuid) {
@@ -209,7 +209,7 @@ $router->post('/manage/{uuid}', function ($uuid) {
}
}
header('Location: /thank-you/'.$uuid);
header('Location: /manage/'.$uuid);
});
// Run it!