removed mods directory from the ATutor codebase
[atutor.git] / mods / ecomm / response_paypal_user.php
diff --git a/mods/ecomm/response_paypal_user.php b/mods/ecomm/response_paypal_user.php
deleted file mode 100644 (file)
index 045bbfa..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-$_user_location        = 'users';
-define('AT_INCLUDE_PATH', '../../include/');
-require(AT_INCLUDE_PATH.'vitals.inc.php');
-require('include/payments.lib.php');
-$transaction_id = $addslashes($_REQUEST['tx']);
-$payment_id = intval($_REQUEST['item_number']);
-
-if ($_GET['st'] == "Completed"){
-
-       approve_payment($payment_id, $transaction_id);
-       $msg->addFeedback('ACTION_COMPLETED_SUCCESSFULLY');
-
-} else if ($_GET['st'] == "Pending"){
-       approve_payment($payment_id, $transaction_id);
-       $msg->addFeedback('ACTION_COMPLETED_SUCCESSFULLY');
-       $msg->addFeedback('ACTION_PENDING_CC_CONFIRM');
-
-}else {
-       $msg->addError('EC_PAYMENT_FAILED');
-}
-
-//print_r($_GET);
-header('Location: index.php');
-exit;
-?>
\ No newline at end of file