Results 1 to 10 of 21

Hybrid View

  1. #1
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Sorry, we are not accepting payments from your region at this time.

    Quote Originally Posted by Lmichael View Post
    The final error message;
    [15-Nov-2010 17:33:43] PHP Parse error: syntax error, unexpected T_STRING in
    /home/*/public_html/MYSTORE/includes/languages/english/modules/payment/paypal.php on line 24

    Replacing the file did not work.
    What does this file read?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #2
    Join Date
    Nov 2006
    Location
    Mansfield, Ohio
    Posts
    26
    Plugin Contributions
    0

    Default Re: Sorry, we are not accepting payments from your region at this time.

    Quote Originally Posted by Ajeh View Post
    What does this file read?
    Not sure what you mean. Should I post the code from this file?

    public_html/MYSTORE/includes/languages/english/modules/payment/paypal.php on line 24

    So you can see it?

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Sorry, we are not accepting payments from your region at this time.

    That would be easiest ...

    You could post just lines 20-30 if you like so that we can see the code above and below the error ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Nov 2006
    Location
    Mansfield, Ohio
    Posts
    26
    Plugin Contributions
    0

    Default Re: Sorry, we are not accepting payments from your region at this time.

    Quote Originally Posted by Ajeh View Post
    That would be easiest ...

    You could post just lines 20-30 if you like so that we can see the code above and below the error ...
    from notepad

    19_ define('MODULE_PAYMENT_PAYPAL_TEXT_ADMIN_TITLE', 'PayPal Website Payments Standard - IPN');
    20_
    21_ define('MODULE_PAYMENT_PAYPAL_TEXT_CATALOG_TITLE', 'PayPal');
    22_
    23_ if (IS_ADMIN_FLAG === true) {
    24_
    25_ define('MODULE_PAYMENT_PAYPAL_TEXT_DESCRIPTION', '<strong>PayPal Website Payments Standard (IPN)</strong> (Basic PayPal service)<br /><a href="http://www.zen-cart.com/partners/paypal-std" target="_blank">Manage your PayPal account.</a><br /><br /><font color="green">Configuration Instructions:</font><br />1. <a href="http://www.zen-cart.com/partners/paypal-std" target="_blank">Sign up for your PayPal account - click here.</a><br />2. In your PayPal account, under "Profile",<ul><li>set your <strong>Instant Payment Notification Preferences</strong> URL to:<br /><nobr><pre>'.str_replace('index.php?main_page=index','ipn_main_handler.php',zen _catalog_href_link(FILENAME_DEFAULT, '', 'SSL')) . '</pre></nobr><br />(If another valid URL is already entered, you may leave it alone.)<br /><span class="alert">Be sure that the Checkbox to enable IPN is checked!</span><br /><br /></li><li>in <strong>Website Payments Preferences</strong> set your <strong>Automatic Return URL</strong> to:<br /><nobr><pre>'.zen_catalog_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL',false).'</pre></nobr></li>' . (defined('MODULE_PAYMENT_PAYPALSTD_STATUS') ? '' : '<li>... and click "install" above to enable PayPal Standard support... and "edit" to tell Zen Cart your PayPal settings.</li>') . '</ul><font color="green"><hr /><strong>Requirements:</strong></font><br /><hr />*<strong>PayPal Account</strong> (<a href="http://www.zen-cart.com/partners/paypal-std" target="_blank">click to signup</a>)<br />*<strong>*<strong>Port 80</strong> is used for bidirectional communication with the gateway, so must be open on your host\'s router/firewall<br />*<strong>Settings</strong> must be configured as described above.' );
    26_
    27_
    28_
    29_ } else {
    30_
    31_ define('MODULE_PAYMENT_PAYPAL_TEXT_DESCRIPTION', '<strong>PayPal</strong>');
    32_
    33_ }

 

 

Similar Threads

  1. PHP Parse error: syntax error, unexpected T_STRING
    By absoluteblock in forum General Questions
    Replies: 4
    Last Post: 2 Oct 2011, 03:40 AM
  2. PHP Parse error: syntax error, unexpected T_STRING
    By derek53 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Apr 2011, 08:09 PM
  3. Install: Parse error: syntax error, unexpected '/' in /includes/application_top.php
    By dlucarelli in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 26 Aug 2010, 02:08 PM
  4. Replies: 9
    Last Post: 5 Feb 2010, 01:12 AM
  5. Replies: 3
    Last Post: 13 Mar 2009, 05:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg