I am attempting to add Tabsa's "Bitcoin payment via mybitcoin.com" gateway to OpenCart 22.214.171.124. It is hosted on a linux based hosting company. I was able to install OpenCart with out any problems. All functions work fine.
The problem arises when I installed : http://www.opencart.com/index.php?route=extension/extension/info&extension_id=1981&filter_search=bitcoin&sort=e.date_modified&order=DESC
The installation steps for the Bitcoin payment gateway were as follows:
1. In mybitcoin.com enable merchant tools, checkbox "Enable SCI Payment Automation"
2. In mybitcoin.com "SCI Receipt URL:" fill in [http://YOUR_OPENCART_URL/index.php?route=payment/btc_mybitcoin/callback]
3. Upload files into your opencart installationSteps 1 through 3 no problem
, step 4 is when it craps out.
4. Go to your opencart administration. Extensions -> Payments -> "BTC mybitcoin.com" click [Install]
When I go to Extensions -> Payments
that is when an error screen is generated:Parse error: syntax error, unexpected T_VARIABLE in /home/bitcoinz/public_html/shop/admin/language/english/payment/btc_mybitcoin.php on line 1
The path listed in the above error is correct. I have looked at the btc_mybitcoin.php file but have no idea why it is failing.
This is the text from the btc_mybitcoin.php file:
<?php$_['heading_title'] = 'BTC mybitcoin.com';// Text$_['text_payment'] = 'Payment';$_['text_success'] = 'Success: You have modified BTC (via mybitcoin.com) payment module!';$_['text_btc_mybitcoin'] = '<a onclick="window.open(\'https://www.mybitcoin.com/\');
"><img src="view/image/payment/bitcoin.png" alt="Mybitcoin.com" title="Mybitcoin.com" style="border: 1px solid #EEEEEE;" /></a>';// Entry$_['entry_order_status'] = 'Order Status:';$_['entry_status'] = 'Status:';$_['entry_sort_order'] = 'Sort Order:';$_['entry_username'] = 'SCI Username:';$_['entry_autokey'] = 'SCI Automation Key:';$_['entry_btc_address'] = 'Your Bitcoin address at mybitcoin.com:';// Error$_['error_permission'] = 'Warning: You do not have permission to modify payment BTC (via mybitcoin.com) module!';$_['error_username'] = 'Warning: SCI Username is required';$_['error_autokey'] = 'Warning: SCI Automation Key is required';?>
Can anybody shed some light on what is happening and why it is failing.
Many thanks in advance