Created
July 10, 2013 14:42
-
-
Save wvega/5966880 to your computer and use it in GitHub Desktop.
Template file for AWPCP's Payment Completed page.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="post" action=<?php echo esc_attr($action) ?>> | |
<h3><?php _ex('Transaction Details', 'payment completed page', 'AWPCP') ?></h3> | |
<?php echo $this->render_transaction_items($transaction) ?> | |
<h3><?php echo $title ?></h3> | |
<p><?php echo $text ?></p> | |
<?php echo $this->render_transaction_errors($transaction) ?> | |
<?php if ($success): ?> | |
<p class="form-submit"> | |
<input class="button" type="submit" value="<?php _e('Continue', 'AWPCP') ?>" id="submit" name="submit"> | |
<input type="hidden" value="<?php echo esc_attr($transaction->id) ?>" name="awpcp-txn"> | |
<?php foreach ($hidden as $name => $value): ?> | |
<input type="hidden" value="<?php echo esc_attr($value) ?>" name="<?php echo esc_attr($name) ?>"> | |
<?php endforeach ?> | |
</p> | |
<?php endif ?> | |
</form> | |
<?php if ( $transaction->was_payment_successful() ): ?> | |
<!-- GA code here --> | |
<?php endif ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment