changed git call from https to git readonly
[atutor.git] / mods / ecomm / failure_beanstream.php
1 <?php
2 /************************************************************************/
3 /* ATutor                                                                                                                               */
4 /************************************************************************/
5 /* Copyright (c) 2002-2010                                              */
6 /* Inclusive Design Institute                                           */
7 /* http://atutor.ca                                                     */
8 /* This program is free software. You can redistribute it and/or        */
9 /* modify it under the terms of the GNU General Public License          */
10 /* as published by the Free Software Foundation.                        */
11 /************************************************************************/
12
13
14 $_user_location = 'users';
15 define('AT_INCLUDE_PATH', '../../include/');
16 require(AT_INCLUDE_PATH.'vitals.inc.php');
17 require('include/payments.lib.php');
18 require (AT_INCLUDE_PATH.'header.inc.php');
19 ?>
20 <h3><?php echo _AT('ec_payment_failed'); ?></h3><br /><br />
21 <div class="payerrbox">
22
23 <?php $msg->printErrors('EC_PAYMENT_FAILED') ?>
24
25 <br />
26
27 <strong><?php echo $_GET['messageText']; ?></strong>
28 </div><br /><br />
29
30 <?php
31 //uncomment to output error message from payment service
32 //print_r($_GET);
33
34 ?>
35 <!--<p align="center"><a href="/payment">Return to ATutor Payments</a></p>-->
36 <?php
37 require (AT_INCLUDE_PATH.'footer.inc.php');
38 ?>