Skip to content

Instantly share code, notes, and snippets.

@elmarputz
Created December 16, 2016 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elmarputz/5bcb45c47af777c82ddeb85f3e304255 to your computer and use it in GitHub Desktop.
Save elmarputz/5bcb45c47af777c82ddeb85f3e304255 to your computer and use it in GitHub Desktop.
success.php
<?php
$orderId = isset($_REQUEST['orderId']) ? $_REQUEST['orderId'] : null;
require_once('views/partials/header.php');
?>
<div class="page-header">
<h2>Success!</h2>
</div>
<p>Thank you for your purchase.</p>
<?php if ($orderId != null) : ?>
<p>Your order number is <?php echo Util::escape($orderId); ?>.</p>
<?php endif; ?>
<?php /* TODO order Summary */ ?>
<?php
require_once('views/partials/footer.php');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment