I'm getting the following error:
Parse error: syntax error, unexpected T_EXIT in /home/snh/public_html/AHYRadio/amember/plugins/payment/1shoppingcart/1shoppingcart.inc.php on line 1
Here is what I have - the copying and pasting messed up the formatting - sorry!
It was working fine, but I was told I could edit the line var $title = "1ShoppingCart" to whatever I wanted. I changed it to "Pay with Credit Card" and then I started getting this error.
Any help would be greately appreciated!!
<?phpif (!defined('INCLUDED_AMEMBER_CONFIG')) die("Direct access to this location is not allowed");/**** Author: Alex Scott* Email:
alex@cgi-central.net* Web:
http://www.cgi-central.net* Details: 1ShoppingCart Payment Plugin* FileName $RCSfile: paypal_r.inc.php,v $* Release: 3.0.9PRO ($Revision: 1.8 $)** Please direct bug reports,suggestions or feedback to the cgi-central forums.*
http://www.cgi-central.net/forum/** aMember PRO is a commercial software. Any distribution is strictly prohibited.*/class payment_1shoppingcart extends amember_payment { var $title = "1ShoppingCart"; var $description = "All major credit cards accepted"; var $fixed_price=1; var $recurring=1; var $built_in_trials=1; function do_bill($amount, $title, $products, $u, $invoice){ global $config; $_SESSION['_amember_payment_id'] = $invoice; $vars = array( 'MerchantID' => $this->config['merchant_id'], 'ProductID' => $products[0]['1shoppingcart_id'], 'AMemberID' => $invoice, 'PostBackURL' => $config['root_url'] . "/plugins/payment/1shoppingcart/ipn.php", );