Support » Plugin: WooCommerce Redsys Gateway Light » Pending payment on Hostinger y RedSys

  • Resolved lucacdq

    (@lucacdq)


    Hola,
    tenemos la web en Hostinger, con plan Vps, certificado SSL y Cloudflare (todo desde ellos).
    Como muchas personas, tenemos el problema del Pending payment.
    Con el plugin oficial de Redsys da este error:
    /?wc-api=WC_redsys
    -1 Server returned HTTP response code: 403 for URL: /?wc-api=WC_redsys

    Acabo de instalar el tuyo. HTTPS SNI Compatibility:Activo
    pero sigue dando error:
    http://www.aerial-living.com/?wc-api=WC_Gateway_redsys
    -1 Server returned HTTP response code: 403 for URL: /?wc-api=WC_Gateway_redsys

    
    Really Simple SSL debug:
    Options:
    * htaccess redirect
    * WordPress redirect
    * Mixed content fixer
    SERVER: litespeed
    SSL is enabled for this site
    ** Detecting configuration **
    plugin version: 3.1.5
    Already on SSL, start detecting configuration
    SSL type: LOADBALANCER
    ** Configuring SSL **
    testing htaccess rules...
    test page url, enter in browser to check manually: https://www.aerial-living.com/wp-content/plugins/really-simple-ssl/testssl/loadbalancer/ssl-test-page.html
    htaccess rules tested successfully.
    checking if .htaccess can or should be edited...
    converting siteurl and homeurl to https
    

    Este es el estatus de WC:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.aerial-living.com
    Site address (URL): https://www.aerial-living.com
    WC Version: 3.6.4
    Log Directory Writable: ✔
    WP Version: 5.2.1
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.3.5
    PHP Post Max Size: 512 MB
    PHP Time Limit: 240
    PHP Max Input Vars: 1000
    cURL Version: 7.62.0
    OpenSSL/1.0.2k
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.2.24-MariaDB
    Max Upload Size: 512 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.6.4
    WC Database Prefix: wp_
    Total Database Size: 69.58MB
    Database Data Size: 44.07MB
    Database Index Size: 25.51MB
    wp_woocommerce_sessions: Data: 0.27MB + Index: 0.02MB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.06MB + Index: 0.13MB
    wp_woocommerce_order_items: Data: 1.14MB + Index: 0.44MB
    wp_woocommerce_order_itemmeta: Data: 5.39MB + Index: 4.14MB
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    wp_ceceppa_ml: Data: 0.02MB + Index: 0.00MB
    wp_ceceppa_ml_cats: Data: 0.02MB + Index: 0.00MB
    wp_ceceppa_ml_relations: Data: 0.02MB + Index: 0.00MB
    wp_ceceppa_ml_trans: Data: 0.02MB + Index: 0.00MB
    wp_commentmeta: Data: 0.25MB + Index: 0.27MB
    wp_comments: Data: 2.05MB + Index: 1.17MB
    wp_failed_jobs: Data: 0.02MB + Index: 0.00MB
    wp_huge_itgallery_gallerys: Data: 0.00MB + Index: 0.00MB
    wp_huge_itgallery_images: Data: 0.01MB + Index: 0.00MB
    wp_huge_itgallery_like_dislike: Data: 0.00MB + Index: 0.00MB
    wp_huge_it_videogallery_galleries: Data: 0.00MB + Index: 0.00MB
    wp_huge_it_videogallery_videos: Data: 0.01MB + Index: 0.00MB
    wp_links: Data: 0.00MB + Index: 0.00MB
    wp_mailchimp_carts: Data: 0.05MB + Index: 0.00MB
    wp_ngg_album: Data: 0.00MB + Index: 0.00MB
    wp_ngg_gallery: Data: 0.00MB + Index: 0.00MB
    wp_ngg_pictures: Data: 0.01MB + Index: 0.00MB
    wp_options: Data: 1.12MB + Index: 0.13MB
    wp_postmeta: Data: 20.74MB + Index: 14.75MB
    wp_posts: Data: 3.25MB + Index: 1.07MB
    wp_queue: Data: 0.02MB + Index: 0.00MB
    wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB
    wp_spbc_auth_logs: Data: 0.00MB + Index: 0.00MB
    wp_spbc_firewall_data: Data: 0.00MB + Index: 0.00MB
    wp_spbc_firewall_logs: Data: 0.00MB + Index: 0.00MB
    wp_spbc_scan_links_logs: Data: 0.00MB + Index: 0.00MB
    wp_spbc_scan_results: Data: 0.00MB + Index: 0.00MB
    wp_spbc_scan_signatures: Data: 0.02MB + Index: 0.02MB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB
    wp_terms: Data: 0.01MB + Index: 0.02MB
    wp_term_relationships: Data: 0.02MB + Index: 0.05MB
    wp_term_taxonomy: Data: 0.01MB + Index: 0.01MB
    wp_usermeta: Data: 2.30MB + Index: 1.58MB
    wp_users: Data: 0.12MB + Index: 0.15MB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB
    wp_wc_product_meta_lookup: Data: 0.27MB + Index: 0.64MB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB
    wp_wfblockediplog: Data: 0.05MB + Index: 0.00MB
    wp_wfblocks7: Data: 0.02MB + Index: 0.05MB
    wp_wfconfig: Data: 0.45MB + Index: 0.00MB
    wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB
    wp_wffilechanges: Data: 0.02MB + Index: 0.00MB
    wp_wffilemods: Data: 2.52MB + Index: 0.00MB
    wp_wfhits: Data: 1.52MB + Index: 0.23MB
    wp_wfhoover: Data: 0.02MB + Index: 0.02MB
    wp_wfissues: Data: 0.05MB + Index: 0.06MB
    wp_wfknownfilelist: Data: 1.52MB + Index: 0.00MB
    wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB
    wp_wflocs: Data: 0.02MB + Index: 0.00MB
    wp_wflogins: Data: 0.09MB + Index: 0.03MB
    wp_wfnotifications: Data: 0.02MB + Index: 0.00MB
    wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB
    wp_wfreversecache: Data: 0.02MB + Index: 0.00MB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB
    wp_wfstatus: Data: 0.13MB + Index: 0.09MB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB
    wp_wiki_subscriptions: Data: 0.02MB + Index: 0.00MB
    wp_wpsc_also_bought: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_cart_contents: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_cart_item_meta: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_checkout_forms: Data: 0.00MB + Index: 0.01MB
    wp_wpsc_claimed_stock: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_coupon_codes: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_currency_list: Data: 0.02MB + Index: 0.01MB
    wp_wpsc_download_status: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_meta: Data: 0.00MB + Index: 0.01MB
    wp_wpsc_product_rating: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_purchase_logs: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_purchase_meta: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_region_tax: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_submited_form_data: Data: 0.00MB + Index: 0.00MB
    wp_wpsc_visitors: Data: 0.00MB + Index: 0.01MB
    wp_wpsc_visitor_meta: Data: 0.00MB + Index: 0.01MB
    wp_yoast_seo_links: Data: 0.02MB + Index: 0.02MB
    wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 731
    custom_css: 1
    display_type: 7
    gal_display_source: 5
    incsub_wiki: 1
    lightbox_library: 7
    nav_menu_item: 13
    oembed_cache: 1
    page: 21
    polylang_mo: 8
    post: 36
    product: 151
    product_variation: 3235
    revision: 293
    scheduled-action: 6
    shop_coupon: 40
    shop_order: 6243
    shop_order_refund: 20
    wc_afrsm: 2
    wooframework: 148
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (12) ###
    
    Query Monitor: by John Blackbourn – 3.3.6
    Enable Gzip Compression: by Moki-Moki Ios – 1.0.1
    Facebook for WooCommerce: by Facebook – 1.9.12 – Not tested with the active version of WooCommerce
    Google Analytics Dashboard for WP (GADWP): by ExactMetrics – 5.3.8
    Mailchimp for WooCommerce: by Mailchimp – 2.1.16 – Not tested with the active version of WooCommerce
    Really Simple SSL: by Rogier Lankhorst
    Mark Wolters – 3.1.5
    
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.14
    
    W3 Total Cache: by Frederick Townes – 0.9.7.4
    WooCommerce Blocks: by Automattic – 2.1.0
    WooCommerce Redsys Gateway Light: by José Conti – 1.3.4 – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.6.4
    Yoast SEO: by Team Yoast – 11.2.1 – Not tested with the active version of WooCommerce
    
    ### Inactive Plugins (1) ###
    
    Redsys WooCommerce: by Redsys – 3.0.1 – Not tested with the active version of WooCommerce
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.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 ###
    
    Shop base: #2134 - /
    Cart: #5 - /cart/
    Checkout: #6 - /checkout/
    My account: #7 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Storefront
    Version: 2.5.0
    Author URL: https://woocommerce.com/
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Complete: 5
    Oldest: 2019-04-27 14:33:58 +0000
    Newest: 2019-05-25 14:39:16 +0000
    
    Pending: 1
    Oldest: 2019-06-01 14:39:16 +0000
    Newest: 2019-06-01 14:39:16 +0000
    
    Canceled: 0
    Oldest: –
    Newest: –
    
    In-progress: 0
    Oldest: –
    Newest: –
    
    Failed: 0
    Oldest: –
    Newest: –
    

    espero pudedes aiyudarnos,
    gracias,
    Luca

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

Viewing 15 replies - 1 through 15 (of 21 total)
  • Hola,
    has tenito tiemo para mirar a mi ticket?

    te pego el htaccess (es normal que no tenga nada que refiere al siplessl?)
    # BEGIN W3TC Browser Cache
    <IfModule mod_mime.c>
    AddType text/css .css
    AddType text/x-component .htc
    AddType application/x-javascript .js
    AddType application/javascript .js2
    AddType text/javascript .js3
    AddType text/x-js .js4
    AddType video/asf .asf .asx .wax .wmv .wmx
    AddType video/avi .avi
    AddType image/bmp .bmp
    AddType application/java .class
    AddType video/divx .divx
    AddType application/msword .doc .docx
    AddType application/vnd.ms-fontobject .eot
    AddType application/x-msdownload .exe
    AddType image/gif .gif
    AddType application/x-gzip .gz .gzip
    AddType image/x-icon .ico
    AddType image/jpeg .jpg .jpeg .jpe
    AddType image/webp .webp
    AddType application/json .json
    AddType application/vnd.ms-access .mdb
    AddType audio/midi .mid .midi
    AddType video/quicktime .mov .qt
    AddType audio/mpeg .mp3 .m4a
    AddType video/mp4 .mp4 .m4v
    AddType video/mpeg .mpeg .mpg .mpe
    AddType video/webm .webm
    AddType application/vnd.ms-project .mpp
    AddType application/x-font-otf .otf
    AddType application/vnd.ms-opentype ._otf
    AddType application/vnd.oasis.opendocument.database .odb
    AddType application/vnd.oasis.opendocument.chart .odc
    AddType application/vnd.oasis.opendocument.formula .odf
    AddType application/vnd.oasis.opendocument.graphics .odg
    AddType application/vnd.oasis.opendocument.presentation .odp
    AddType application/vnd.oasis.opendocument.spreadsheet .ods
    AddType application/vnd.oasis.opendocument.text .odt
    AddType audio/ogg .ogg
    AddType application/pdf .pdf
    AddType image/png .png
    AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
    AddType audio/x-realaudio .ra .ram
    AddType image/svg+xml .svg .svgz
    AddType application/x-shockwave-flash .swf
    AddType application/x-tar .tar
    AddType image/tiff .tif .tiff
    AddType application/x-font-ttf .ttf .ttc
    AddType application/vnd.ms-opentype ._ttf
    AddType audio/wav .wav
    AddType audio/wma .wma
    AddType application/vnd.ms-write .wri
    AddType application/font-woff .woff
    AddType application/font-woff2 .woff2
    AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
    AddType application/zip .zip
    </IfModule>
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType text/css A31536000
    ExpiresByType text/x-component A31536000
    ExpiresByType application/x-javascript A31536000
    ExpiresByType application/javascript A31536000
    ExpiresByType text/javascript A31536000
    ExpiresByType text/x-js A31536000
    ExpiresByType video/asf A31536000
    ExpiresByType video/avi A31536000
    ExpiresByType image/bmp A31536000
    ExpiresByType application/java A31536000
    ExpiresByType video/divx A31536000
    ExpiresByType application/msword A31536000
    ExpiresByType application/vnd.ms-fontobject A31536000
    ExpiresByType application/x-msdownload A31536000
    ExpiresByType image/gif A31536000
    ExpiresByType application/x-gzip A31536000
    ExpiresByType image/x-icon A31536000
    ExpiresByType image/jpeg A31536000
    ExpiresByType image/webp A31536000
    ExpiresByType application/json A31536000
    ExpiresByType application/vnd.ms-access A31536000
    ExpiresByType audio/midi A31536000
    ExpiresByType video/quicktime A31536000
    ExpiresByType audio/mpeg A31536000
    ExpiresByType video/mp4 A31536000
    ExpiresByType video/mpeg A31536000
    ExpiresByType video/webm A31536000
    ExpiresByType application/vnd.ms-project A31536000
    ExpiresByType application/x-font-otf A31536000
    ExpiresByType application/vnd.ms-opentype A31536000
    ExpiresByType application/vnd.oasis.opendocument.database A31536000
    ExpiresByType application/vnd.oasis.opendocument.chart A31536000
    ExpiresByType application/vnd.oasis.opendocument.formula A31536000
    ExpiresByType application/vnd.oasis.opendocument.graphics A31536000
    ExpiresByType application/vnd.oasis.opendocument.presentation A31536000
    ExpiresByType application/vnd.oasis.opendocument.spreadsheet A31536000
    ExpiresByType application/vnd.oasis.opendocument.text A31536000
    ExpiresByType audio/ogg A31536000
    ExpiresByType application/pdf A31536000
    ExpiresByType image/png A31536000
    ExpiresByType application/vnd.ms-powerpoint A31536000
    ExpiresByType audio/x-realaudio A31536000
    ExpiresByType image/svg+xml A31536000
    ExpiresByType application/x-shockwave-flash A31536000
    ExpiresByType application/x-tar A31536000
    ExpiresByType image/tiff A31536000
    ExpiresByType application/x-font-ttf A31536000
    ExpiresByType application/vnd.ms-opentype A31536000
    ExpiresByType audio/wav A31536000
    ExpiresByType audio/wma A31536000
    ExpiresByType application/vnd.ms-write A31536000
    ExpiresByType application/font-woff A31536000
    ExpiresByType application/font-woff2 A31536000
    ExpiresByType application/vnd.ms-excel A31536000
    ExpiresByType application/zip A31536000
    </IfModule>
    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/bmp application/java application/msword application/vnd.ms-fontobject application/x-msdownload image/x-icon image/webp application/json application/vnd.ms-access video/webm application/vnd.ms-project application/x-font-otf application/vnd.ms-opentype application/vnd.oasis.opendocument.database application/vnd.oasis.opendocument.chart application/vnd.oasis.opendocument.formula application/vnd.oasis.opendocument.graphics application/vnd.oasis.opendocument.presentation application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.text audio/ogg application/pdf application/vnd.ms-powerpoint image/svg+xml application/x-shockwave-flash image/tiff application/x-font-ttf application/vnd.ms-opentype audio/wav application/vnd.ms-write application/font-woff application/font-woff2 application/vnd.ms-excel
    <IfModule mod_mime.c>
    # DEFLATE by extension
    AddOutputFilter DEFLATE js css htm html xml
    </IfModule>
    </IfModule>
    <FilesMatch “\.(css|htc|less|js|js2|js3|js4|CSS|HTC|LESS|JS|JS2|JS3|JS4)$”>
    FileETag MTime Size
    <IfModule mod_headers.c>
    Header unset Set-Cookie
    </IfModule>
    </FilesMatch>
    <FilesMatch “\.(html|htm|rtf|rtx|svg|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|TXT|XSD|XSL|XML)$”>
    FileETag MTime Size
    <IfModule mod_headers.c>
    Header append Vary User-Agent env=!dont-vary
    </IfModule>
    </FilesMatch>
    <FilesMatch “\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|webp|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|webm|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|_ttf|wav|wma|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|WEBP|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|WEBM|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|_TTF|WAV|WMA|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW|ZIP)$”>
    FileETag MTime Size
    <IfModule mod_headers.c>
    Header unset Set-Cookie
    </IfModule>
    </FilesMatch>
    <FilesMatch “\.(bmp|class|doc|docx|eot|exe|ico|webp|json|mdb|webm|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|pot|pps|ppt|pptx|svg|svgz|swf|tif|tiff|ttf|ttc|_ttf|wav|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|BMP|CLASS|DOC|DOCX|EOT|EXE|ICO|WEBP|JSON|MDB|WEBM|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|POT|PPS|PPT|PPTX|SVG|SVGZ|SWF|TIF|TIFF|TTF|TTC|_TTF|WAV|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW)$”>
    <IfModule mod_headers.c>
    Header unset Last-Modified
    </IfModule>
    </FilesMatch>
    <IfModule mod_headers.c>
    Header set Referrer-Policy “no-referrer-when-downgrade”
    </IfModule>
    # END W3TC Browser Cache
    # BEGIN W3TC Page Cache core
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTPS} =on
    RewriteRule .* – [E=W3TC_SSL:_ssl]
    RewriteCond %{SERVER_PORT} =443
    RewriteRule .* – [E=W3TC_SSL:_ssl]
    RewriteCond %{HTTP:X-Forwarded-Proto} =https [NC]
    RewriteRule .* – [E=W3TC_SSL:_ssl]
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteRule .* – [E=W3TC_ENC:_gzip]
    RewriteCond %{HTTP_COOKIE} w3tc_preview [NC]
    RewriteRule .* – [E=W3TC_PREVIEW:_preview]
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} =””
    RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
    RewriteCond %{REQUEST_URI} \/$
    RewriteCond “%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}” -f
    RewriteRule .* “/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}” [L]
    </IfModule>
    # END W3TC Page Cache core

    # 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

    gracias,
    Luca

    Plugin Author Jose Conti

    (@jconti)

    Hola,

    El problema es CloudFlare. Tengo que realizar pruebas, pero creo que si se quiere utilizar CloudFlare, hay que adquirir un certificado dedicado con ellos ($5/mes), o es simplemente imposible utilizar CloudFlare junto a SSL. El motivo es que al utilizar CloudFlare junto a Let’s Encrypt, no hay forma de marcar páginas para que no estén bajo certificado, por lo tanto Redsys se ve obligado a contactar con un certificado que no acepta con ser SNI.

    Por otro lado, el error 403 en Prohibido, lo que quiere decir que probablemente CloudFlare esté confundiendo a Redsys con un bot malintencionado y lo esté bloqueando.

    Ya digo que tengo que mirar de investigar bien cómo arreglar todos estos problemas que hay entre CloudFlare y Redsys, que nos son por el plugin, si no por culpa de CloudFlare por bloquear a Redsys, y por Redsys por no aceptar un certificado SNI como Let’s Encrypt.

    Saludos

    Plugin Author Jose Conti

    (@jconti)

    Bueno, he estado investigando un poco ahora.

    Haz lo siguiente en CloudFlare,

    1. Accede a la configuración del dominio
    2. Ve a Crypto
    3. Pon SSL en Flexible
    4. Always Use HTTPS en off
    5. Automatic HTTPS Rewrites en off
    6. Ve a Page Rules
    7. Crea una primera regla y pon en esa regla http://*tudominio.com/?wc-api=WC_Gateway_redsys y seleccionas Automatic HTTPS Rewrite y lo pones a off y guardas.
    8. Añades otra regla que sea http://*tudominio.com/* seleccionas Always Use HTTPS y seleccionas last y guardas.

    En un principio, ahora ya no debería haber problema con el redireccionamiento.

    Me falta el tema del bloqueo, ya que ahora mismo desconozco la IP, pero la idea es ir a Firewall > Tools > y añadir la IP y seleccionar Whitelist y guardar.

    • This reply was modified 5 months, 3 weeks ago by Jose Conti.

    Hola Jose,
    muchisimas gracias por tu ayuda.
    si comprendo correctamente, es muy difícil que redsys trabaje con Hostinger, ya que funcionan con Clouflare y Let’s Encrypt. O al menos hay varias modificaciones por hacer.
    Ya que podemos solicitar un reembolso y cambiar el alojamiento, ¿qué servicio de alojamiento puede sugerir?
    Con Hostinger tenemos el plan Emprendedor:
    https://www.hostinger.es/cloud-hosting
    (Cloudflare y SSL y mucho mas están incluidos en el precio)

    gracias,
    Luca

    Plugin Author Jose Conti

    (@jconti)

    Mirando el precio, los otros hosting son más caros. Ten en cuenta, que Let’s Encrypt te lo vas a encontrar en todos lados, y eso quiere decir que hay que realizar una serie de modificaciones. Es decir, que de realizar modificaciones o configuraciones particulares, no te vas a librar.

    Si quieres, intentamos dejar funcionando con CloudFlare a Redsys, que lo único que faltaría es saber la IP desde donde llega Redsys, que hoy voy a intentar averiguarla.

    De momento solo deberías seguir las indicaciones que te he indicado en CloudFlare, activar la compatibilidad con SNI en el Plugin y provar si se marcan como pagados o no, aunque el 403 que habías comentado me huele mal, y creo que habrá que poner la IP de Redsys en el whitelist.

    En el caso en que no quieras esperar y mirar de solucionarlo, hostings buenos (pero más caros por precio y lo que ofrecen) tienes HostFusion o SiteGround, y más económicos pero solo para empezar, OVH en hosting compartido.

    Plugin Author Jose Conti

    (@jconti)

    Vale, ya está, robado y funciona.

    Aparte de hacer lo anterior, debes dar permisos en el Firewall de CloudFlare.

    1. Ve a CloudFlare
    2. Entra en la configuración del dominio
    3. Aprieta sobre Firewall
    4. Aprieta sobre Tools
    5. Escribe sobre «Enter an IP» -> 195.76.9.0/24
    6. Selecciona en el primer desplegable «whitelist», luego «This website» y aprieta «add»

    Con los cambios anteriores y este del firewall, ya no deberías tener problemas.

    Sobre todo, nada de redireccionamientos forzados a nivel de servidor o de htaccess, cualquiera de estos, rompería toda la configuración que te he explicado.

    Saludos

    • This reply was modified 5 months, 3 weeks ago by Jose Conti.
    • This reply was modified 5 months, 3 weeks ago by Jose Conti.
    • This reply was modified 5 months, 3 weeks ago by Jose Conti.

    JOSE ERES UN GENIO!!!

    gracias gracias gracias

    Plugin Author Jose Conti

    (@jconti)

    De nada,

    Me alegro que ya esté solucionado. Me ha servido a mí también para averiguar cómo trabajar con el dolor de cabeza de CloudFlare y Redsys 🙂

    Saludos

    Jola Jose,
    son unos dias que los ordenes figuran como “canceladas”.
    Quizas ha pasado algo con una actualizacion?

    Como podemos mirarlo?

    gacias,
    Luca

    Plugin Author Jose Conti

    (@jconti)

    Hola,

    No, no afecta en nada la actualización. Puede que te estén llegando las notificaciones desde otra IP de Redsys. Miraré a ver si me entran desde una nueva. El problema es que hay que poner en la lista blanca de CloudFlare las IPs para que no sean bloqueadas, es realmente esto en un problema.

    El «navegador» que utiliza Redsys, es Java, al igual que la inmensa mayoría de bots, por eso es bloqueado la inmensa mayoría de veces si no se le da luz verde.

    • This reply was modified 4 months, 4 weeks ago by Jose Conti.

    Hola Jose,
    como se hace para saber los ip?
    hay unas paginas que te lo dicen pero mirando a redsys.com no creo salga lo que se necesita.

    Plugin Author Jose Conti

    (@jconti)

    Yo lo suelo mirar aquí https://digwebinterface.com/

    Pero ya te lo digo yo, este rango es nuevo 193.16.243.0/24

    El rango que ya tenías añadido era 195.76.9.0/24

    Añádelo y a ver si así desaparecen los problemas.

    Hola Jose,
    desde la ultima vez, todo funciona!

    en caso pase otra vez, en https://digwebinterface.com/
    che hay que seleccionar?

    muchas gracias!
    Luca

    Plugin Author Jose Conti

    (@jconti)

    Hola,

    Estuve investigando y preguntando a Redsys, y las he añadido todas aquí:

    https://redsys.joseconti.com/redsys-para-woocommerce/

    Mira el apartado de CloudFlare, así están.

    Es complicado sacarlas todas, ya que podría ser que alguna IP no estuviera registrada en su red.

    Saludos

    Hola Jose,
    de nuevo no funciona…

    Puede ser que hay que añadir otro ip?

    gracias,
    Luca

Viewing 15 replies - 1 through 15 (of 21 total)
  • You must be logged in to reply to this topic.