Donation Manager [Paid] [Deleted]

My host is horrible. I am raging at their support and going to have to work today on moving the site to my new host. Hopefully it will be back up later today. Sorry about this.
 
Now this awesome host has blocked my IP. So I can't even get everything to move hosts. I will probably finally upgrade XenForo at the same time to remove the spam on there.
 
In the meantime does anyone have a copy of donation_callback.php they could post the contents from? We're facing the issue caused by Xenporta overwriting with the same filename and I dont have the original. Cheers!
PHP:
<?php

$startTime = microtime(true);
$fileDir = dirname(__FILE__);

require($fileDir . '/library/XenForo/Autoloader.php');
XenForo_Autoloader::getInstance()->setupAutoloader($fileDir . '/library');

XenForo_Application::initialize($fileDir . '/library', $fileDir);
XenForo_Application::set('page_start_time', $startTime);

$response = new Zend_Controller_Response_Http();
$request = new Zend_Controller_Request_Http();

$deps = new XenForo_Dependencies_Public();
$deps->preLoadData();

/*if ($request->getParam('log'))
{
        $logs = XenForo_Application::get('db')->fetchAll('SELECT * FROM merc_donation_log ORDER BY donation_log_id DESC');
        foreach ($logs as &$log)
                $log['transaction_details'] = unserialize($log['transaction_details']);

        Zend_Debug::dump($logs);
        exit;
}*/

try
{
        $transaction = new Merc_DonationManager_Transaction_PayPal($request);

        $output = $transaction->run();

        if ($transaction->hasErrors())
        {
                $errors = implode("<br />\n", $transaction->getErrors());
                $response->setBody(htmlspecialchars($errors));
                $response->setHttpResponseCode(400);
        }
        else
        {
                $response->setBody($output);
        }
}
catch (Exception $e)
{
        XenForo_Error::logException($e);

        $response->setHttpResponseCode(500);
        $response->setBody('Exception: ' . $e->getMessage());
}

$response->sendResponse();
 
Correct. Version 2 will support as many as we can. But that will come with a recode of certain components which are pretty much "PayPal only". So it has been put off to get the current build and other add-ons stable first.
 
With this addon:

1. Can/do users get placed into a special user group?
2. Can a "supporter" badge be applied to those who have donated?
3. Will the admin be notified when someone has donated?

Is there a complete list of features somehwhere?

Thanks.
 
With this addon:

1. Can/do users get placed into a special user group?
2. Can a "supporter" badge be applied to those who have donated?
3. Will the admin be notified when someone has donated?

Is there a complete list of features somehwhere?

Thanks.
1. yes, using the XenForo user group promotions
2. yes, using the XenForo user group promotions
3. no, planned feature. PayPal notifies you anyway?

Site is still waiting updates to the product pages to show feature lists.
 
Back
Top Bottom