Jump to content
Latest News: (loading..)

frankcat

Members
  • Content count

    12
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Martin Barron
  1. frankcat

    paypal changes from GBP to USD

    Any ideas?????????
  2. frankcat

    paypal changes from GBP to USD

    Cannot find the above code on my page My file is paypal_express.php <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2009 osCommerce Released under the GNU General Public License */ chdir('../../../../'); require('includes/application_top.php'); require('../includes/modules/payment/paypal_express.php'); if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'test')) { if (defined(MODULE_PAYMENT_PAYPAL_EXPRESS_STATUS)) { $paypal_express = new paypal_express(); $params = array('CURRENCYCODE' => DEFAULT_CURRENCY, 'AMT' => '1.00'); $response_array = $paypal_express->setExpressCheckout($params); if (($response_array['ACK'] == 'Success') || ($response_array['ACK'] == 'SuccessWithWarning')) { echo '<h1>Success!</h1>'; if (MODULE_PAYMENT_PAYPAL_EXPRESS_TRANSACTION_SERVER == 'Live') { echo '<p>The PayPal Express Checkout credentials have been set up correctly for live production use.</p>'; } else { echo '<p>The PayPal Express Checkout credentials have been set up correctly for the sandbox environment.</p>'; } } else { echo '<h1>Failure!</h1>'; if (MODULE_PAYMENT_PAYPAL_EXPRESS_TRANSACTION_SERVER == 'Live') { echo '<p>The PayPal Express Checkout credentials are not set up correctly for live production use.</p>'; } else { echo '<p>The PayPal Express Checkout credentials are not set up correctly for the sandbox environment.</p>'; } echo '<pre>'; var_dump($response_array); echo '</pre>'; } } else { echo '<p>The PayPal Express Checkout payment module is not yet installed. Please install it to verify your API credentials.</p>'; } } ?> Anyone help?? Cheers Martin
  3. Hi! I have installed Ckeditor. In Configuration > My Store Use Ckeditor is set to True When I go to a product page to edit the description nothing has changed. How do I get Ckeditor to work? osCommerce Online Merchant v2.3.1 Have I got the code in the right place?? template_top.php <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2010 osCommerce Released under the GNU General Public License */ ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <meta name="robots" content="noindex,nofollow"> <title><?php echo TITLE; ?></title> <base href="<?php echo HTTP_SERVER . DIR_WS_ADMIN; ?>" /> <!--[if IE]><script type="text/javascript" src="<?php echo tep_catalog_href_link('ext/flot/excanvas.min.js'); ?>"></script><![endif]--> <link rel="stylesheet" type="text/css" href="<?php echo tep_catalog_href_link('ext/jquery/ui/redmond/jquery-ui-1.8.6.css'); ?>"> <script type="text/javascript" src="<?php echo tep_catalog_href_link('ext/jquery/jquery-1.4.2.min.js'); ?>"></script> <script type="text/javascript" src="<?php echo tep_catalog_href_link('ext/jquery/ui/jquery-ui-1.8.6.min.js'); ?>"></script> <?php if (tep_not_null(JQUERY_DATEPICKER_I18N_CODE)) { ?> <script type="text/javascript" src="<?php echo tep_catalog_href_link('ext/jquery/ui/i18n/jquery.ui.datepicker-' . JQUERY_DATEPICKER_I18N_CODE . '.js'); ?>"></script> <script type="text/javascript"> $.datepicker.setDefaults($.datepicker.regional['<?php echo JQUERY_DATEPICKER_I18N_CODE; ?>']); </script> <?php } ?> <script type="text/javascript" src="<?php echo tep_catalog_href_link('ext/flot/jquery.flot.js'); ?>"></script> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> <script type="text/javascript" src="includes/general.js"></script> </head> <?php // Discount Code 3.1.1 - start if (basename($PHP_SELF) == FILENAME_DISCOUNT_CODES && isset($action) && $action == 'new') { echo '<body onload="onload();">'; } else { echo '<body>'; } // Discount Code 3.1.1 - end ?> <?php if (!defined('USE_CKEDITOR_ADMIN_TEXTAREA')) { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, set_function) values ('', 'Use CKEditor', 'USE_CKEDITOR_ADMIN_TEXTAREA','true','Use CKEditor for WYSIWYG editing of textarea fields in admin',1,99,now(),'tep_cfg_select_option(array(\'true\', \'false\'),' )"); define ('USE_CKEDITOR_ADMIN_TEXTAREA','true'); } if (USE_CKEDITOR_ADMIN_TEXTAREA == "true") { ?> <script type="text/javascript" src="<?php echo tep_href_link('ext/ckeditor/ckeditor.js'); ?>"></script> <script type="text/javascript" src="<?php echo tep_href_link('ext/ckeditor/adapters/jquery.js'); ?>"></script> <script type="text/javascript"> $(function() { var $editors = $('textarea'); if ($editors.length) { $editors.each(function() { var editorID = $(this).attr("id"); var instance = CKEDITOR.instances[editorID]; if (instance) { CKEDITOR.remove(instance); } CKEDITOR.replace(editorID); }); } }); </script> <?php } ?> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <?php if (tep_session_is_registered('admin')) { include(DIR_WS_INCLUDES . 'column_left.php'); } else { ?> <style> #contentText { margin-left: 0; } </style> <?php } ?> <div id="contentText"> Regards, Martin
  4. frankcat

    UK Shipping - HELP

    Hi, Want to set up shipping for UK ONLY and also for United Kingdom to be the default dropdown in checkout for the "Country". Also all product have a shipping rate of £5 Also free delivery for purchases over £50 Can anyone help???? Been trying to sort this out for 4 hours no :mellow: Martin
×