Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2011
    Posts
    14
    Plugin Contributions
    0

    help question After Download Purchase, I see Nothing

    I have set up a product for a PDF download on my Zen Cart. I set it up exactly as suggested by these 2 articles:

    How Do I Add Downloads To Products? http://www.zen-cart.com/content.php?113
    Download Delivery Methods Explained http://www.zen-cart.com/content.php?...hods-explained

    I have tried setting Redirect to True and to False. I have changed all the file permissions on my directories. Each time I try to purchase this, I get a "Thank you for your order!", and nothing else happens. No link, no redirect, just the thank you page.

    Click image for larger version. 

Name:	ZenCartDownloadIssue.jpg 
Views:	102 
Size:	22.4 KB 
ID:	10987

    It seems like I may be missing one simple thing, but can't figure it out. Any help would be GRAND! :)

    -Aurora

  2. #2
    Join Date
    Jul 2011
    Posts
    14
    Plugin Contributions
    0

    Default Re: After Download Purchase, Redirect Does Nothing

    PS - I am testing this in Firefox.

  3. #3
    Join Date
    Jul 2011
    Posts
    14
    Plugin Contributions
    0

    Default Re: After Download Purchase, Redirect Does Nothing

    My back end hosting is on Linux. Same result in both IE and Firefox.

  4. #4
    Join Date
    Jan 2004
    Posts
    58,259
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: After Download Purchase, Redirect Does Nothing

    The problems you're talking about have nothing to do with a "redirect", because you're not even getting to the point where any redirect would even occur.

    Either your custom template has removed all the code that displays the download details on the checkout-success page, or your orders are set to Pending (or some other status that doesn't allow downloads to be authorized).

    Or you haven't actually SELECTED the download attribute items before adding the product to your cart.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jul 2011
    Posts
    14
    Plugin Contributions
    0

    Default Re: After Download Purchase, Redirect Does Nothing

    OK, this makes sense. I have tons of custom junk in here. Does anyone know which files are part of that download module? I still have them all, just renamed. I'll do some hunting myself.

    And, I did check the order status - they are NOT pending, so I suspect the code I need is missing from all my hacking around in there.

    Thank you!

  6. #6
    Join Date
    Jul 2011
    Posts
    14
    Plugin Contributions
    0

    Default Re: After Download Purchase, Redirect Does Nothing

    I found a module that modifies the download scripts, and I read their install file. These are the files that are modified there:

    admin/attributes_controller.php
    admin/downloads_manager.php
    admin/includes/dist-configure.php
    admin/includes/functions/general.php
    includes/dist-configure.php
    includes/modules/pages/download/header_php.php
    includes/templates/template_default/templates/tpl_modules_downloads.php

    The only one I have made changes to is admin/includes/functions/general.php, and I manually added lines to it instead of replacing it. So far, everything else is intact.

    Also, I have one radio button for download as a PDF in the product, and it is selected by default.

  7. #7
    Join Date
    Jan 2004
    Posts
    58,259
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: After Download Purchase, Redirect Does Nothing

    When you look at that completed order on your admin side, it should show not only the product name, but also the selected attributes on bulleted lines below that product ... specifically the optionName+optionValue that were selected by the customer before adding the item to the cart.

    Similarly, the same sort of thing should show in the shopping cart page before checkout and the checkout-confirmation screen before completing final payment.

    Does that (attribute information) show? Or does it only show the product name?

    If it's only showing the product name, then perhaps you've been making customizations to your tpl_product_info_display.php template file that have broken the way the information for attributes is presented, and thus they're not actually being added to the cart during the shopping phase.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Jul 2011
    Posts
    14
    Plugin Contributions
    0

    Default Re: After Download Purchase, Redirect Does Nothing

    Here is a screen shot of an order behind the scenes:

    Click image for larger version. 

Name:	ZenCartBackEndOrder.jpg 
Views:	30 
Size:	23.5 KB 
ID:	11016

    It does NOT show the Option Name and Value, but it does reference a file name. Does that look correct in comparison?

    Also, it does say that it is a download on the checkout page, too:

    Click image for larger version. 

Name:	ZenCartBeforeCheckout.jpg 
Views:	18 
Size:	24.2 KB 
ID:	11018

    I will check out the tpl_product_info_display.php shortly and see if I see any changes in there also. Thanks for the help!

    Aurora

  9. #9
    Join Date
    Jan 2004
    Posts
    58,259
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: After Download Purchase, Redirect Does Nothing

    In both screenshots I *do* see the Option Name ("Download") and Option Value ("PDF File").
    So that suggests that the order is indeed storing the selected download as something the customer is entitled to.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,697
    Plugin Contributions
    6

    Default Re: After Download Purchase, Redirect Does Nothing

    If you go to phpMyAdmin for your site, do you in the table:
    orders_products_download

    a reference for the Order's orders_id that you are looking at?

    If so, what is in the record for that orders_id ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

Similar Threads

  1. Replies: 1
    Last Post: 28 Aug 2010, 10:42 AM
  2. I'm getting this error after a purchase is made for my download
    By CaliforniaKinship in forum Setting Up Categories, Products, Attributes
    Replies: 41
    Last Post: 21 Aug 2009, 12:24 AM
  3. Urgent - How do I make it so people can download my e-Book after they purchase it?
    By ExileJoe in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 28 Apr 2009, 06:27 AM
  4. Allow download ONLY after purchase
    By robsnowden in forum General Questions
    Replies: 0
    Last Post: 29 Jan 2009, 02:11 PM
  5. About file download after purchase
    By harmeet in forum General Questions
    Replies: 5
    Last Post: 5 Jun 2006, 05:38 AM

Bookmarks

Posting Permissions

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