• Resolved palojan

    (@palojan)


    When Im logged in as admin Im able to add product to cart and make a purchase and get the download link immediately. Nobody else gets the download link even thogh they are able to make the purchase.
    When I look at the order details in woocommerce panel there are no downloadable products assigned to the orders of the guests but there are on admin orders.

    For downloadable product I use redirect option to .html file which uses php script to get 4 digit access code that is generated as file and downloaded automatically. Link below:

    https://www.tehosportareena.fi/wp-content/uploads/kulkukoodi/kulkukoodi.html

    I already tried completely removing Woocommerce from wordpress with adding the define( ‘WC_REMOVE_ALL_DATA’, true ); line to wp-config.php file but that did not help.

    Is this a bug or is this something else? Is it possible to make this work?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter palojan

    (@palojan)

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.tehosportareena.fi
    Site address (URL): https://www.tehosportareena.fi
    WC Version: 4.7.1
    REST API Version: ✔ 4.7.1
    WC Blocks Version: ✔ 3.6.0
    Action Scheduler Version: ✔ 3.1.6
    WC Admin Version: ✔ 1.6.3
    Log Directory Writable: ✔
    WP Version: 5.5.3
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: fi
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.3.20
    PHP Post Max Size: 128 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 10000
    cURL Version: 7.71.0
    OpenSSL/1.1.1g
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.2.32-MariaDB-cll-lve
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 4.7.1
    WC Database Prefix: wp_
    Tietokannan kokonaiskoko: 5.30MB
    Tietokannan tietojen koko: 4.85MB
    Tietokannan hakemiston koko: 0.45MB
    wp_woocommerce_sessions: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_woocommerce_api_keys: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_woocommerce_attribute_taxonomies: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_woocommerce_downloadable_product_permissions: Tiedot: 0.00MB + Indeksi: 0.01MB + Moottori MyISAM
    wp_woocommerce_order_items: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_woocommerce_order_itemmeta: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_woocommerce_tax_rates: Tiedot: 0.00MB + Indeksi: 0.01MB + Moottori MyISAM
    wp_woocommerce_tax_rate_locations: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_woocommerce_shipping_zones: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_woocommerce_shipping_zone_locations: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_woocommerce_shipping_zone_methods: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_woocommerce_payment_tokens: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_woocommerce_payment_tokenmeta: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_woocommerce_log: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_actionscheduler_actions: Tiedot: 0.02MB + Indeksi: 0.02MB + Moottori MyISAM
    wp_actionscheduler_claims: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_actionscheduler_groups: Tiedot: 0.00MB + Indeksi: 0.01MB + Moottori MyISAM
    wp_actionscheduler_logs: Tiedot: 0.01MB + Indeksi: 0.01MB + Moottori MyISAM
    wp_commentmeta: Tiedot: 0.00MB + Indeksi: 0.01MB + Moottori MyISAM
    wp_comments: Tiedot: 0.00MB + Indeksi: 0.01MB + Moottori MyISAM
    wp_links: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_options: Tiedot: 0.99MB + Indeksi: 0.13MB + Moottori MyISAM
    wp_postmeta: Tiedot: 0.27MB + Indeksi: 0.07MB + Moottori MyISAM
    wp_posts: Tiedot: 3.55MB + Indeksi: 0.07MB + Moottori MyISAM
    wp_termmeta: Tiedot: 0.00MB + Indeksi: 0.01MB + Moottori MyISAM
    wp_terms: Tiedot: 0.00MB + Indeksi: 0.01MB + Moottori MyISAM
    wp_term_relationships: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_term_taxonomy: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_usermeta: Tiedot: 0.01MB + Indeksi: 0.02MB + Moottori MyISAM
    wp_users: Tiedot: 0.00MB + Indeksi: 0.01MB + Moottori MyISAM
    wp_wc_admin_notes: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_wc_admin_note_actions: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_wc_category_lookup: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_wc_customer_lookup: Tiedot: 0.00MB + Indeksi: 0.01MB + Moottori MyISAM
    wp_wc_download_log: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_wc_order_coupon_lookup: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_wc_order_product_lookup: Tiedot: 0.00MB + Indeksi: 0.01MB + Moottori MyISAM
    wp_wc_order_stats: Tiedot: 0.00MB + Indeksi: 0.01MB + Moottori MyISAM
    wp_wc_order_tax_lookup: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_wc_product_meta_lookup: Tiedot: 0.00MB + Indeksi: 0.01MB + Moottori MyISAM
    wp_wc_reserved_stock: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    wp_wc_tax_rate_classes: Tiedot: 0.00MB + Indeksi: 0.01MB + Moottori MyISAM
    wp_wc_webhooks: Tiedot: 0.00MB + Indeksi: 0.00MB + Moottori MyISAM
    
    ### Post Type Counts ###
    
    attachment: 137
    custom_css: 1
    customize_changeset: 3
    nav_menu_item: 15
    page: 18
    post: 3
    product: 1
    revision: 374
    shop_order: 3
    wp_block: 3
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (6) ###
    
    Feed Them Social - for Twitter feed, Youtube, Pinterest and more: -- SlickRemix – 2.9.0
    Site Kit by Google: -- Google – 1.21.0
    Google XML Sitemaps: -- Auctollo – 4.1.1
    Limit Login Attempts Reloaded: -- Limit Login Attempts Reloaded – 2.16.0
    Vello varauskalenterin asetukset: -- Vello – 1.0.0
    WooCommerce: -- Automattic – 4.7.1
    
    ### Inactive Plugins (0) ###
    
    ### Must Use Plugins (1) ###
    
    installatron_hide_status_test.php: --  –
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: left
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    
    ### WC Pages ###
    
    Kaupan polkutunnus: #711 - /?page_id=711
    Ostoskori: #467 - /?page_id=467
    Kassa: #469 - /?page_id=469
    Oma tili: #471 - /?page_id=471
    Tilaus- ja sopimusehdot: ❌ Sivua ei ole asetettu
    
    ### Theme ###
    
    Name: Twenty Seventeen
    Version: 2.4
    Author URL: https://wordpress.org/
    Child Theme: ❌ – Suositus: jos muokkaat WooCommercen isäntäteemaa jota et itse ole tehnyt
    suosittelemme käyttämään lapsiteemaa. Katso: Kuinka luodaan lapsiteema
    
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Valmis: 67
    Oldest: 2020-11-23 09:25:55 +0000
    Newest: 2020-11-25 14:08:46 +0000
    
    
    Thread Starter palojan

    (@palojan)

    Tried re-installing the woocommerce again. Still the same problem. If I make a purchase logged in as wp-admin I get the link. If Im not logged in and try to make the order as customer Im able to make the purchase but I dont get the link in confirmation page or in the email.

    Thread Starter palojan

    (@palojan)

    Any ideas anyone?

    Hi there!

    I tried testing the above scenario and the files were downloadable.

    May I know if the Redirect only mode works on your end if you take the custom part out of the current scenario?

    Warm regards,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thread Starter palojan

    (@palojan)

    I never got this working when using the redirect to website link option on downloadable product. Only Administrator was able to get the link after purchase. I had to use several weeks to re-design the system. Now there is no links and customer gets the access code directly to email after purchase. In our case I still would have preferred the download link option but now it´s too late.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Only admin creates download link’ is closed to new replies.