Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SpankyAndy

Pioneers
  • Posts

    65
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by SpankyAndy

  1. Hi Johnny,

     

    Have you tried Dynamo Effects Paypal Pro module? v1.0.8 was added 5 days ago and says it supports Cardinal 3D Secure !!

     

    I'm always a little dubious about installing something so new, but the install file has really been well thought out and with the Paypal Maestro deadline looming, I might be willing to give it a shot. I was sort of hoping somebody else might test the water first though ... :)

     

    Cheers

     

    Andy

  2. Hi all,

     

    I've had to roll back to v1.07 as I had some issues with all the later versions. However, its all working fine aside from the shipping address.

     

    The customer is able to enter a shipping address and it goes through to checkout success without error, but the order comes through with identical billing and shipping addresses (both are the entered billing address).

     

    Does anyone know what might be causing this?

     

    Cheers

     

    Andy

  3. Hi,

     

    Try setting require login to true, now try a test order and see what happens if it works, then its something wrong on the create account

     

    Steve

     

    I've tried this too, but unfortunately it doesn't work. However, the checkout does complete and move to checkout_success if I log in using a previously created account. Again, if I manually create an account, then go to checkout, it also works with no problems.

     

    It does appear to be related to creating the account using One Page Checkout, but I'm not sure where to look ... ?

     

    Cheers

     

    Andy

  4. Hi Andy

     

    Have you added the code to checkout_process.php also check one page setting in configuration for create account you should have 3 options i

     

    Steve

     

    Yes, I've added the code to checkout_process.php twice now and even tried the file from my working RC2a install as a test. I get 3 options for the create account, of which I've tried it with optional and create.

     

    In every instance, I get thrown back to a blank checkout page when attempting to confirm the checkout. My server error logs show all of the GET and POST requests, but no errors. Do you have any idea how I can debug this?

     

    Cheers

     

    Andy

  5. Hi Andy

     

    in includes/classes/onepage_checkout.php

    find this code and amend it as it says

    	function setPaymentMethod($method){
    	global $payment_modules, $language, $order, $cart, $payment, $onepage;
    	/* Comment IF statement below for oscommerce versions before MS2.2 RC2a */
    	if (tep_session_is_registered('payment') && tep_not_null($payment) && $payment != $method){
    		$GLOBALS[$payment]->selection();
    	}
    
    	if (!tep_session_is_registered('payment')){
    		tep_session_register('payment');
    	}
    	$payment = $method;
    	$onepage['info']['payment_method'] = $method;
    
    	$order->info['payment_method'] = $GLOBALS[$payment]->title;
    
    	/* Comment line below for oscommerce versions before MS2.2 RC2a */
    	$confirmation = $GLOBALS[$payment]->confirmation();
    
    	/* Uncomment line below for oscommerce versions before MS2.2 RC2a */
    	//$confirmation = $GLOBALS[$payment]->selection();

     

    Hi Steve,

     

    Thanks for the quick response ! Unfortunately though, my problem still exists after commenting/uncommenting the various lines.

     

    Have you any idea what else might be causing it?

     

    Cheers

     

    Andy

  6. Hi all,

     

    I've got two stores, similar but with the following minor differences:

     

    Store 1: RC2a ... Simple Template System v4.5.8 installed ... store is located in site root

    Store 2: MS2.2 ... Columns and header hard coded ... store is located in sub folder /store/

     

    Store 1 has been running One Page Checkout v1.05 for about 5 months, then later upgraded to v1.08, again with no problems.

     

    I've just installed OPC v1.09 on Store 2 and its not working. I've also tried downgrading to v1.08, but the same problem exists as follows:

     

    Once all billing details have been completed, pressing the 'Continue' button at the bottom of the checkout screen moves onto the "Processing order, please wait..." screen for a couple of seconds, then goes back to the checkout screen again and blanks out all of the details.

     

    I can see the "Processing order" screen attempts to post the form with hidden values as below:

     

    <form name="redirectForm" action="XXXXXXX/store/checkout_process.php?osCsid=0mjol444f5inivkk9r6lh3cbq4" method="POST">

    <input type="image" src="includes/languages/english/images/buttons/button_continue.gif" border="0" alt="IMAGE_CONTINUE" title=" IMAGE_CONTINUE " style="display:none;"><input type="hidden" name="action" value="process"><input type="hidden" name="3084" value="1">

    ...(code removed)... <input type="hidden" name="formUrl"><script>

    redirectForm.submit();

    </script></form>

     

    Can anyone see why it is failing and not giving an error? If anybody is able to advise, here is a link to test (remove the two instances of XXX for the correct URL):

     

    http://www.ajXXXcanvasXXXprints.co.uk/store/test-product-p-3084.html

     

    Please add the test product to the cart and go straight to checkout. Use the "cheque/postal order" payment method to complete the order. Please note that I'm using a shared SSL host, but please ignore this fact as it is identical to my first store which works fine.

     

    Any help or pointers of where I need to look would be much appreciated !

     

    Cheers

     

    Andy

  7. Hi all,

     

    Just wondering whether anybody could give me a little pointer here ...

     

    My One Page Checkout has been working absolutely fine up until recently. It still allows customers to make purchases as normal, so that side is ok, but the following two problems have developed:

     

    1. Customers make orders, but then go into their account and it shows no order history. Two customers have launched a ranting complaint about this so far as they think we've stolen their money, despite us having the full order details in the database.

     

    2. Since our web host changed the server our site was on yesterday (configure.php files have been updated accordingly), the order details aren't added to the database when a purchase is made. However, OSC sends out the relevant emails to customer and admin addresses with full order/customer info. The customer details are added to the database as normal. We're using the Paypal direct payments Pro module and have our checkout located on a shared SSL server, for info (both of these have been working perfectly before now).

     

    Can anybody give me any clues as to where I should be looking for the problem? I've scanned what I thought were the obvious .php's for tep_db update queries, but can't find anything. I'm at a bit of a loss with this one ... !

     

    Cheers

     

    Andy

  8. Its ok, I figured out how to work around the problem. I added the page name directly into includes/header_tags.php rather than using its FILENAME_XXXX reference. It's worked, but now I can't add pseudo pages based on the same file... nothing is ever easy ! :)

     

    Jack, is there a variable I can pass from my page to header tags so that it picks up the page title/description dynamically rather than me manually adding it in ?

     

    Cheers

     

    Actually, I've worked around that too now. I put an if statement on line 573 of includes/header_tags.php, picked up the variables from my page and echo'd them to the page title/description.

     

    Thanks for taking the time to read my posts, Jack.

     

    Cheers

     

    Andy

  9. You probably have the default tags enabled or the checkboxes for that page set incorrectly.

     

    Jack

     

    Its ok, I figured out how to work around the problem. I added the page name directly into includes/header_tags.php rather than using its FILENAME_XXXX reference. It's worked, but now I can't add pseudo pages based on the same file... nothing is ever easy ! :)

     

    Jack, is there a variable I can pass from my page to header tags so that it picks up the page title/description dynamically rather than me manually adding it in ?

     

    Cheers

  10. If it doesn't show in page control, then it is missing the <head> changes.

     

    Jack

     

    Hi Jack,

     

    My page is showing in page control. It allows me to enter the header information, which goes into the DB row correctly, but when checking "View Result" it displays the default tags with a yellow background. I'm not sure where I should be looking for the issue.

     

    Cheers

  11. Hi all,

     

    I've written a PHP page for displaying articles from a Wordpress DB (heavily modified version of Wordpress Article Manager - my version is available as the latest download), but header tags SEO is only displaying the default header info.

     

    The file is represented within includes/header_tags.php and has an entry that matches within includes/filenames.php, but I still can't seem to get it to display anything other than the default tags.

     

    Any ideas where I should be looking ?

     

    Cheers

  12. Hi all,

     

    Just thought I'd give my 2 pence worth and advise on an issue I've been struggling with for a while. I've had the issue a lot of people have mentioned whereby Header Tags SEO (v3.1.5 in my case) and Ultimate SEO URL's (v2.1d on mine) only display the default header information on pages based around index.php. All other pages work fine.

     

    I figured it was only pages that had been rewritten to .html, so started playing around. I eventually figured that changing PHP_SELF to $_SERVER[php_self] on line 32 of includes/header_tags.php resolves the issue.

     

    Hope this helps a lot of people out as I've read all 150+ pages of this forum thread and been scouring the interweb for days.

     

    Cheers

     

    Andy

  13. Hi,

     

    I'm using STS v4.5.8 with the index module enabled and its working absolutely perfectly. However, I'm now looking to create a template for the first page of results for a specific category.

     

    While obviously I can create a template named index.php_11.html for category 11, this template will then be used for each set of results pages within this category. To avoid any Google penalties for duplicate content on pages 2, 3, etc within the category, I want the template to apply only to page 1.

     

    Does anybody know if this is possible? If so, how would I got about it?

     

    Cheers

     

    Andy

     

    Hi All !

     

    Does anybody have any feedback on the above? I've been playing with it, but no joy. I'm worried that Google is going to penalise me and not index some of the pages due to duplicate text content.

     

    Any help is always appreciated guys !

     

    Cheers

     

    Andy

  14. Hi all !

     

    I've got Ultimate SEO URL's 2.1d installed and working fine, but I've now discovered I need to move and rename one of my categories for SEO purposes. A 301 redirect is in order, but this is confusing me big time while USEO URL's is involved. Basically, I'm trying to do this ...

     

    Current setup:

    Name: Category1 (parent)

    Real URL: /index.php?cPath=10

    USEO Rewritten URL: /category1-c-10.html

     

    Category1 is to be renamed Category2 and moved to a sub category as follows:

    Name: Category2 (sub category)

    Real URL: /index.php?cPath=20_10

    USEO Rewritten URL: /[parent]-category2-c-20_10.html

     

    Now, I realise I need a 301 dynamic page redirect in my .htaccess for either index.php?cPath=10 or category1-c-10.html, but I'm totally unsure of the syntax given the USEO contribution rewrites the URL in the first place, so there's no HTML file to redirect.

     

    As I said... I'm very confused. If anyone's able to help me out, I'd really appreciate it !

     

    Cheers

     

    Andy

  15. I've posted Wordpress Article Manager v2.0 on the contribution page:

     

    http://addons.oscommerce.com/info/4522

     

    Updates for v2.0 :

     

    - Now works with Wordpress v2.7.1. Previous version used incorrect

    table structure and failed.

     

    - URL generated for page now uses the Wordpress category slug and post

    name to ensure URLs are search engine friendly.

    e.g.

    Original URL... http://www.yourdomain.com/content.php?postid=5

    v2.0 URL... http://www.yourdomain.com/articles.html?po...r-category-name

     

    - Wordpress categories are listed in a table at the bottom of each article

    page, complete with a list of articles which belong to each category. All

    category and article listings are clickable links.

     

    - Latest 10 posts are listed on main articles page with 150 character

    snippets. All articles belonging to a specific category are listed on the

    respective category page with snippets.

     

    - Random products from catalog are displayed down left side of the page to

    coax customer into purchases while reading articles.

     

    Full credits to Dan Brown (GMTTDAN) for the original contribution !

     

    Cheers

     

    Andy

  16. Hi Andy,

    Simplest solution would be to just add extra text to checkout_success.php in includes/languages/xxx/checkout_success.php

     

    Hi Steve,

     

    Yeah, I figured that would be the simplest option, but I was hoping for something a little more dynamic. Its no major problem though. Maybe something you can include in one of your future release, eh? :)

     

    Cheers

  17. Hi,

     

    I'm using STS v4.5.8 with the index module enabled and its working absolutely perfectly. However, I'm now looking to create a template for the first page of results for a specific category.

     

    While obviously I can create a template named index.php_11.html for category 11, this template will then be used for each set of results pages within this category. To avoid any Google penalties for duplicate content on pages 2, 3, etc within the category, I want the template to apply only to page 1.

     

    Does anybody know if this is possible? If so, how would I got about it?

     

    Cheers

     

    Andy

  18. Hi guys,

     

    My checkout is working great at the moment on a fixed up v1.04 and I've even now moved over to Paypal Pro with the checkout on a Windows shared SSL server... and all is well !! However, the small issue I have left is that when a customer selects the cash/cheque payment method, the customer is taken straight to the standard checkout_success.php page with no indication of where to post the cheque to. Does anyone know how I can divert customers who select this payment method to a different success page ?

     

    Cheers

     

    Andy

  19. Hi all,

     

    I've got some fantastic news for those of you using STS (Simple Template System contribution - I'm using v4.5.8) ...

     

    I was desperate to get this contribution working due to a number of bailed carts at login.php and I spent a couple of days scratching my head, but eventually gave up. Instead, I hired a PHP/Javascript developer to look at the issue. The community has given me all the contributions I've ever needed, so I thought it was time to give something back. Here's the fix:

     

    • Firstly, I created an includes/sts_templates/xxxxx/checkout.php.html template file (obviously xxxxx is your template folder). I simply used a copy of my sts_default.html file and renamed it. I then added the following within the <head> tag as recommended by tokyoguy :

    <link rel="stylesheet" type="text/css" href="ext/jQuery/themes/smoothness/ui.all.css">

     

    • Then the developer stepped in and found that in the shopping cart Javscript file (includes/checkout/checkout.js) there were php tags, which were simply comments like <?php //this is a comment?> and so entirely unnecessary. IE was bombing out at this point, whereas other browsers ignored them. However, they can simply be removed.

    • For those who are using the "Pay by check (or cheque in English)/cash" payment method, the tep_validate() function was being declared twice. It was being declared in checkout_success.php and in application_top.php. To get around this, within checkout_success.php, find and modify the declaration around line 24 as follows:

    require_once('includes/functions/password_funcs.php');

     

    • UK shops may also have a problem with the £ (UK pound) symbol. To correct this, change the encoding within english.php to UTF-8, then within the admin panel, change the £ (UK pound) and Euro symbols to their UTF-8 decimal equivalents (Google this if needed).

     

    Enjoy guys. I've already had several successful sales go through the new checkout and nobody has bailed at this screen so far.

     

    Cheers

  20. In regards to my post above, it turns out there was an echo in the Header Tags SEO install I used that shouldn't have been there. For reference, its in includes/functions/header_tags.php. Comment out or remove:

    echo 'path '.HEADER_TAGS_ADD_CATEGORY_PARENTS;

     

    However, my categories still don't work !

     

    I've since noticed that if I delete the "cache" table, it doesn't automatically get inserted back into the database. I'd assume this means that seo.class.php isn't being executed ... ? If this is the case, does anybody know why this might happen ?

     

    Cheers

     

    I've finally worked this out for myself. My own stupid mistake unfortunately, but I'll share with everyone in case anybody follows in my foot steps.

     

    I have STS v4.5.8 installed and using the index module. I had two files; sts_template.html and index.php.html within the templates folder. The latter of the files is meant to display the home page only and mainly contains static content, i.e. it doesn't have a $content place holder. As I jumped straight in and installed the Ultimate SEO URLs contrib before testing my STS install correctly, I didn't realise that it wasn't working as I'd expected and wrongly assumed that USEO URL's was causing the problem... but it wasn't.

     

    I've since learned that the index.php.html template is used to display all of the category listings too and as mine contained static content, the categories/products weren't displaying and giving the impression that it was just refreshing the home page every time. What confused and caused me to start barking up several of the wrong trees, was that it worked fine if I switched on the standard OSC "Search Engine Friendly URLs", but this is disabled by default when USEO URL's is installed.

     

    To work around the index template problem, I've now discovered that you need to have two files within the templates folder:

     

    index.php.html - This is the template for the category/product listings and needs to contain the $content place holder

    index.php_0.html - This is the site home page and can contain anything you want

     

    I simply renamed my original homepage template to index.php_0.html and made a copy of sts_template.html called index.php.html and all of a sudden everything works fine. I've now reinstalled USEO URLs 2.1d and all is peachy !

     

    Thanks to anyone who took the time to read my original posting, regardless of whether you were able to help or not. Hopefully my explanation of the problem will help others who've made the same stupid mistake as I did. Sadly I've just lost most of my weekend to this, but I've learnt a few valuable lessons from it.

     

    Cheers

     

    Andy

  21. In regards to my post above, it turns out there was an echo in the Header Tags SEO install I used that shouldn't have been there. For reference, its in includes/functions/header_tags.php. Comment out or remove:

    echo 'path '.HEADER_TAGS_ADD_CATEGORY_PARENTS;

     

    However, my categories still don't work !

     

    I've since noticed that if I delete the "cache" table, it doesn't automatically get inserted back into the database. I'd assume this means that seo.class.php isn't being executed ... ? If this is the case, does anybody know why this might happen ?

     

    Cheers

  22. Hi all,

     

    I've recently changed my site to OSC 2.2rc2a with Ultimate SEO URL's installed and working. However, I've now installed USEO URLs 2.1d (23rd Nov 08 - Jack MCS) and its doing odd things ...

     

    If I click on a category within the categories box, e.g. http://www.mysite.com/category-c-1.html, I get redirected to index.php. My server error logs show nothing.

     

    I'm able to open a product directly from its rewritten HTML link with no problems, but the product_info page displays "path Standard " at the very start of the page. Looking at the HTML page code shows it is written in front of the <title> tag.

     

    I've disabled caching to no avail and now find that disabling USEO URL's through the admin panel prevents any link from working whatsoever !

     

    Does anybody have any idea what might be happening or could anybody advise how I would go about debugging this ? I've also installed "Header Tags SEO v3.1.3" which I didn't have before, so I'm wondering if this could be causing the issue ... ?

     

    As always, any help is very much appreciated !

     

    Cheers

     

    Andy

  23. You most likely had an older version of STS installed at one time and did not completely delete it. The older versions of STS made changes to the configuration files so you will need to look in there.

     

    Thanks Bill ! You were most definitely correct. I didn't realise there were lines within configure.php as I was using attempting to upgrade using the install guide for a much later version than I had installed previously.

     

    Your help is much appreciated !

     

    Cheers

     

    Andy

  24. Hi all,

     

    I've had a shop going using a basic STS template for about 3 years and its well overdue a change. Unfortunately, whatever I do, I can't get the template to change. It always displays my old one.

     

    The only part of the STS module within admin that responds is setting "Use Templates" to false, which causes the site to lose all formatting, as expected. Anything else I amend, always keeps the old style.

     

    I've tried emptying my cache and tmp directories, but it makes no difference whatsoever. Does anybody know where the hell it is getting this template from ?!

     

    Cheers

     

    Andy

×
×
  • Create New...