• Resolved nathy78

    (@nathy78)


    Hello

    My development website : https://www.sitetest.aventures-culturelles.fr
    Plugins installed : Elementor pro, element pack, Booking and appointment, Enhanced media library, LiteSpeed cache, TinyMCE, Woocommerce, Woocommerce Paypal checkout, Yoast, WPS cleaner, WPS hide login
    PHP/MySQL : 7.2.19/MariaDB 5.7.26

    I made my shop with woocommerce. The payment use Paypal checkout.

    When I tested it with my sandbox, using a free product, the process was ok. After finishing the process, I returned on my website, where I found my downloading files in my account. And that is what I want for my customer.

    But if the product isn’t free, for exemple it costs 10 euros, I returned on my website after the payment, but I could not access to my downloading files. So it’s a real problem for my customer. I’m obliged to attache manually the documents in their account !

    Asking for help in woocommerce forum, someone told me that the issue came from my cache plugin. But I don’t know what the matter is. And I don’t understand neither.

    Is there someone who could help me to understand and correct the mistake please ?

    If needed, I can give a temporary access to better understand my configuration.

    Thanks a lot

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Could you please provide the report number ?

    I returned on my website after the payment, but I could not access to my downloading files

    when you say can not access, do you see any error information ? like file not existed or 404 not found error or something ?

    Best regards,

    Thread Starter nathy78

    (@nathy78)

    Hi

    Thanks a lot for this first answer. I don’t know why, but I don’t have any number, neither a date. But I have a report that I copy hereunder.

    Server Variables
    SERVER_SOFTWARE = LiteSpeed
    DOCUMENT_ROOT = /home/aventuresculture/test.aventures-culturelles.fr
    X-LSCACHE = on,crawler
    LSWCP_TAG_PREFIX = 5e8
    WP_SITEURL = NULL
    WP_HOME = NULL
    WP_CONTENT_DIR = /home/aventuresculture/test.aventures-culturelles.fr/wp-content
    SHORTINIT = false
    LSCWP_CONTENT_DIR = /home/aventuresculture/test.aventures-culturelles.fr/wp-content
    LSCWP_CONTENT_FOLDER = wp-content
    LSCWP_DIR = /home/aventuresculture/test.aventures-culturelles.fr/wp-content/plugins/litespeed-cache/
    LITESPEED_TIME_OFFSET = 7200.0
    LITESPEED_SERVER_TYPE = LITESPEED_SERVER_ENT
    LITESPEED_CLI = NULL
    LITESPEED_ALLOWED = true
    LITESPEED_ON = true
    LITESPEED_ON_IN_SETTING = true
    LSCACHE_ADV_CACHE = true
    LSWCP_TAG_PREFIX = 5e8

    Wordpress Specific Extras
    wordpress version = 5.2.2
    siteurl = https://www.sitetest.aventures-culturelles.fr
    home = https://www.sitetest.aventures-culturelles.fr
    home_url = https://www.sitetest.aventures-culturelles.fr
    locale = en
    active theme = Bstone Child
    active plugins = array (
    0 => ‘bdthemes-element-pack/bdthemes-element-pack.php’,
    1 => ‘duplicate-post/duplicate-post.php’,
    2 => ‘elementor-pro/elementor-pro.php’,
    3 => ‘elementor/elementor.php’,
    4 => ‘enhanced-media-library/enhanced-media-library.php’,
    5 => ‘limit-login-attempts-reloaded/limit-login-attempts-reloaded.php’,
    6 => ‘litespeed-cache/litespeed-cache.php’,
    7 => ‘tinymce-advanced/tinymce-advanced.php’,
    8 => ‘woocommerce-booking/woocommerce-booking.php’,
    9 => ‘woocommerce-gateway-paypal-express-checkout/woocommerce-gateway-paypal-express-checkout.php’,
    10 => ‘woocommerce-product-addons/woocommerce-product-addons.php’,
    11 => ‘woocommerce/woocommerce.php’,
    12 => ‘wordpress-seo/wp-seo.php’,
    13 => ‘wps-cleaner/wps-cleaner.php’,
    14 => ‘wps-hide-login/wps-hide-login.php’,
    15 => ‘wt-smart-coupons-for-woocommerce/wt-smart-coupon.php’,
    )

    LSCache Plugin Options
    version = 2.9.8.2
    radio_select = 1
    auto_upgrade = false
    purge_upgrade = true
    cache_priv = true
    cache_commenter = true
    cache_rest = true
    cache_page_login = true
    timed_urls =
    timed_urls_time = 23:00
    cache_favicon = true
    cache_resources = true
    mobileview_enabled = false
    mobileview_rules = Mobile|Android|Silk/|Kindle|BlackBerry|Opera\ Mini|Opera\ Mobi
    cache_object = false
    cache_object_kind = false
    cache_object_host = localhost
    cache_object_port = 11211
    cache_object_life = 360
    cache_object_persistent = true
    cache_object_admin = true
    cache_object_transients = true
    cache_object_db_id = 0
    cache_object_user =
    cache_object_pswd =
    cache_browser = false
    cache_browser_ttl = 2592000
    login_cookie =
    check_advancedcache = true
    use_http_for_https_vary = false
    debug_disable_all = false
    debug = 0
    admin_ips = 127.0.0.1
    debug_level = false
    log_file_size = 3
    heartbeat = true
    debug_cookie = false
    collaps_qs = false
    log_filters = false
    public_ttl = 604800
    private_ttl = 1800
    front_page_ttl = 604800
    feed_ttl = 0
    403_ttl = 3600
    404_ttl = 3600
    500_ttl = 3600
    purge_by_post = -.H.M.PGSRP.PT.T
    excludes_qs =
    excludes_cat =
    excludes_tag =
    instant_click = false
    css_minify = false
    css_inline_minify = false
    css_combine = false
    css_combined_priority = false
    css_http2 = false
    css_exclude =
    js_minify = false
    js_inline_minify = false
    js_combine = false
    js_combined_priority = false
    js_http2 = false
    js_exclude =
    optimize_ttl = 604800
    html_minify = false
    optm_qs_rm = false
    optm_ggfonts_rm = false
    optm_css_async = false
    optm_ccss_gen = true
    optm_ccss_async = true
    optm_css_async_inline = true
    optm_js_defer = false
    optm_emoji_rm = false
    optm_exclude_jquery = true
    optm_ggfonts_async = false
    optm_max_size = 1.2
    optm_rm_comment = false
    cdn = false
    cdn_ori =
    cdn_exclude =
    cdn_remote_jquery = 0
    cdn_quic = false
    cdn_quic_email =
    cdn_quic_key =
    cdn_cloudflare = false
    cdn_cloudflare_email =
    cdn_cloudflare_key =
    cdn_cloudflare_name =
    cdn_cloudflare_zone =
    media_img_lazy = false
    media_img_lazy_placeholder =
    media_placeholder_resp = false
    media_placeholder_resp_color = #cfd4db
    media_placeholder_resp_async = true
    media_iframe_lazy = false
    media_img_lazyjs_inline = false
    media_optm_auto = false
    media_optm_cron = true
    media_optm_ori = true
    media_rm_ori_bkup = false
    media_optm_webp = false
    media_optm_lossless = false
    media_optm_exif = false
    media_webp_replace = false
    media_webp_replace_srcset = false
    hash = hKAmvaiJUM5x9ToNKvcLQpWMZiUom1BP
    nocache_cookies =
    nocache_useragents =
    crawler_include_posts = true
    crawler_include_pages = true
    crawler_include_cats = true
    crawler_include_tags = true
    crawler_excludes_cpt =
    crawler_order_links = date_desc
    crawler_usleep = 500
    crawler_run_duration = 400
    crawler_run_interval = 600
    crawler_crawl_interval = 302400
    crawler_threads = 3
    crawler_load_limit = 1
    crawler_domain_ip =
    crawler_custom_sitemap =
    crawler_cron_active = false
    esi_enabled = false
    esi_cached_admbar = true
    esi_cached_commform = true
    wc_update_interval = 0
    wc_shop_use_front_ttl = true
    woo_cache_cart = true
    litespeed-cache-vary-group =
    litespeed-cache-exclude-optimization-roles = array (
    )
    litespeed-cache-exclude-cache-roles = array (
    )
    litespeed-optm-css = array (
    )
    litespeed-optm-js-defer-excludes =
    litespeed-media-lazy-img-excludes =
    litespeed-media-lazy-img-cls-excludes =
    litespeed-media-need-pull = false
    litespeed-env-ref = false
    litespeed-cache-drop_qs =
    litespeed-cache-cdn_mapping = array (
    0 =>
    array (
    ‘url’ => false,
    ‘inc_img’ => ‘1’,
    ‘inc_css’ => ‘1’,
    ‘inc_js’ => ‘1’,
    ‘filetype’ => ‘.aac
    .css
    .eot
    .gif
    .jpeg
    .js
    .jpg
    .less
    .mp3
    .mp4
    .ogg
    .otf
    .pdf
    .png
    .svg
    .ttf
    .woff’,
    ),
    )
    litespeed-cdn-ori_dir = wp-content
    wp-includes
    /min/
    litespeed-cache-dns_prefetch =
    litespeed-cache-cloudflare_status = false
    litespeed-log_ignore_filters = gettext
    gettext_with_context
    get_the_terms
    get_term
    litespeed-log_ignore_part_filters = i18n
    locale
    settings
    option
    litespeed-object_global_groups = users
    userlogins
    usermeta
    user_meta
    site-transient
    site-options
    site-lookup
    blog-lookup
    blog-details
    rss
    global-posts
    blog-id-cache
    litespeed-object_non_persistent_groups = comment
    counts
    plugins
    litespeed-crawler-as-uids =
    litespeed-crawler-cookies = array (
    )
    litespeed-adv-purge_all_hooks = switch_theme
    wp_create_nav_menu
    wp_update_nav_menu
    wp_delete_nav_menu
    create_term
    edit_terms
    delete_term
    add_link
    edit_link
    delete_link
    litespeed-forced_cache_uri =
    litespeed-cache_uri_priv =
    litespeed-optm_excludes =
    litespeed-excludes_uri =
    litespeed-media-webp_attribute = img.src
    div.data-thumb
    img.data-src
    div.data-large_image
    img.retina_logo_url
    litespeed-optm-ccss-separate_posttype =
    litespeed-optm-css-separate_uri =

    /home/aventuresculture/test.aventures-culturelles.fr/.htaccess contents:
    # BEGIN LSCACHE
    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    <IfModule LiteSpeed>
    RewriteEngine on
    CacheLookup on
    RewriteRule .* – [E=Cache-Control:no-autoflush]
    RewriteRule ^min/\w+\.(css|js) – [E=cache-control:no-vary]

    ### marker CACHE RESOURCE start ###
    RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php – [E=cache-control:max-age=3600]
    ### marker CACHE RESOURCE end ###

    ### marker FAVICON start ###
    RewriteRule favicon\.ico$ – [E=cache-control:max-age=86400]
    ### marker FAVICON end ###

    </IfModule>
    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    # END LSCACHE
    # BEGIN NON_LSCACHE
    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    ### marker MINIFY start ###
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} ^(.*)/min/(\w+)\.(css|js)$
    RewriteCond %1/wp-content/cache/$2/$1.$2 -f
    RewriteRule min/(\w+)\.(css|js) wp-content/cache/$2/$1.$2 [L]
    </IfModule>
    ### marker MINIFY end ###

    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    # END NON_LSCACHE
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    I have no error information like 404 error, neither file which doesn’t exist.

    To help you to see what I see, I made a print screen. You should be able to see it there
    The account page

    By the way, I noticed that if the product is free, my order status is completed. But if I have paid it, the status is On hold. I don’t know why.

    If you don’t notice any issue in this report, perhaps it comes from another part.

    Please, let me know. I’m far to be a specialist, but with your help, I can search in the right direction until I find the matter and solve it.

    Thanks a lot

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    By logic , if status is not completed but on hold , I believe it is normal behavior that doesn’t display the downloading link, isn’t it ?

    Please test that if you enabel “disable all feature” in debug tab , which is essentially disables LSCWP for debugging purpose , will that work out as you expected ?

    according to WooC doc:

    Any gateways that defaults to On Hold or Pending Payment instead of Processing

    If you manually set it to “complete” instead of “on hold” , will the download link show up ?

    Best regards,

    Thread Starter nathy78

    (@nathy78)

    Hi,

    I understand your remark. But in the Woocommerce setting, under Products – Downloadable Products, I left “Force download” and checked both boxes. According to the guide, the product to download should be available before the order is on the status “Completed”.
    Woo download setting

    I tried what you suggested in debug tab. The result is the same.

    Yes if I manually set the order status on “complete”, then I can see and download the files.

    Thanks a lot

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Asking for help in woocommerce forum, someone told me that the issue came from my cache plugin

    I don’t wanna it sounds like I’m pushing you around , but clearly if you tried with “disable all feature” ,which means this is not LSCWP issue but WooC issue.

    Perhaps this post here could provide you some helpful information.

    Please try keep “disable all features” for the time being until you have fixed this order status issue.

    if after that the issue still happens , we will be glad to assist you for further debug.

    Best regards,

    • This reply was modified 5 years, 8 months ago by qtwrk.
    Thread Starter nathy78

    (@nathy78)

    Thanks a lot.

    You’re probably right. I’m afraid the responder gave me a wrong solution, saying that the issue came from your plugin.

    I’m going to study your link carefully.

    Thanks again for you look and your help

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Woocommerce and Paypal checkout’ is closed to new replies.