• Resolved realpashy

    (@realpashy)


    Hello

    I am trying to setup the payment gateway for 2Checkout and everything is good and I’ve talked with 2Checkout and they said the problem is coming from Woocommerce. Therefore, I am trying to resolve the issue but I see no errors visible to me.

    Basically when I enter the credit card details and click pay, a javascript message pops ups and says: “Request failed” and if I configure the plugin to sandbox, it says unauthorized in the popup message.
    Note: Currently using Woocommerce 3.0.4

    This is my website

    System Status:

    ### WordPress Environment ###

    Home URL: https://hipstasy.com
    Site URL: https://hipstasy.com
    WC Version: 3.0.4
    Log Directory Writable: ?
    WP Version: 4.7.4
    WP Multisite: –
    WP Memory Limit: 768 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US

    ### Server Environment ###

    Server Info: LiteSpeed
    PHP Version: 7.0.18
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.36.0
    OpenSSL/1.0.1e

    SUHOSIN Installed: –
    MySQL Version: 5.6.23
    Max Upload Size: 128 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    WC Database Version: 3.0.4
    WC Database Prefix: hip_
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?
    woocommerce_shipping_zones: ?
    woocommerce_shipping_zone_locations: ?
    woocommerce_shipping_zone_methods: ?
    woocommerce_payment_tokens: ?
    woocommerce_payment_tokenmeta: ?
    MaxMind GeoIP Database: ?

    ### Security ###

    Secure connection (HTTPS): ?
    Hide errors from visitors: ?

    ### Active Plugins (18) ###

    AfterShip – WooCommerce Tracking: by AfterShip – 1.6.8
    Beeketing For WooCommerce: by Beeketing – 2.9.1
    Caldera Forms: by Caldera Labs – 1.5.0.8
    WooCommerce Single Product Page Builder: by SiteSao Team – 3.0.7
    WPBakery Visual Composer: by Michael M – WPBakery.com – 5.1
    Kaswara Modern VC Addons: by SayenThemes – 1.1.2
    Loginizer: by Raj Kothari – 1.3.4
    Nextend Facebook Connect: by Nextendweb – 2.0.2
    Really Simple SSL: by Rogier Lankhorst – 2.5.13
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 2.2.6
    Slider Revolution: by ThemePunch – 5.4.1
    Sticky Menu (or Anything!) on Scroll: by Mark Senff – 2.0.1
    2Checkout Payment Gateway: by Craig Christenson – 0.0.2
    W3 Total Cache: by Frederick Townes – 0.9.5.2
    WooCommerce PayPal Express Checkout Gateway: by WooCommerce – 1.2.1
    WooCommerce: by Automattic – 3.0.4 – 3.0.5 is available
    WP-Optimize: by David Anderson
    Ruhani Rabin
    Team Updraft – 2.1.1

    YITH WooCommerce Wishlist: by YITHEMES – 2.1.1

    ### Settings ###

    API Enabled: ?
    Force SSL: ?
    Currency: USD ($)
    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)

    ### WC Pages ###

    Shop base: #10 – /shop/
    Cart: #11 – /cart/
    Checkout: #12 – /checkout/
    My account: #13 – /my-account/

    ### Theme ###

    Name: Flatsome
    Version: 3.3.2
    Author URL: https://www.uxthemes.com/
    Child Theme: ? – If you’re modifying WooCommerce on a parent theme you didn’t build personally
    then we recommend using a child theme. See: How to create a child theme

    WooCommerce Support: ?

    ### Templates ###

    Overrides: flatsome/woocommerce/archive-product.php
    flatsome/woocommerce/cart/cart-empty.php
    flatsome/woocommerce/cart/cart.php version 3.0.0 is out of date. The core version is 3.0.3
    flatsome/woocommerce/checkout/form-checkout.php
    flatsome/woocommerce/checkout/form-coupon.php
    flatsome/woocommerce/checkout/thankyou.php
    flatsome/woocommerce/content-product.php
    flatsome/woocommerce/content-product_cat.php
    flatsome/woocommerce/content-single-product.php version 1.6.4 is out of date. The core version is 3.0.0
    flatsome/woocommerce/global/breadcrumb.php
    flatsome/woocommerce/global/quantity-input.php
    flatsome/woocommerce/global/wrapper-end.php
    flatsome/woocommerce/global/wrapper-start.php
    flatsome/woocommerce/loop/loop-end.php
    flatsome/woocommerce/loop/loop-start.php
    flatsome/woocommerce/loop/orderby.php
    flatsome/woocommerce/loop/pagination.php
    flatsome/woocommerce/loop/result-count.php
    flatsome/woocommerce/loop/sale-flash.php
    flatsome/woocommerce/myaccount/form-login.php
    flatsome/woocommerce/myaccount/navigation.php
    flatsome/woocommerce/notices/error.php
    flatsome/woocommerce/notices/notice.php
    flatsome/woocommerce/notices/success.php
    flatsome/woocommerce/product-searchform.php
    flatsome/woocommerce/single-product/photoswipe.php
    flatsome/woocommerce/single-product/price.php
    flatsome/woocommerce/single-product/product-image.php version 3.0.0 is out of date. The core version is 3.0.2
    flatsome/woocommerce/single-product/product-thumbnails.php version 3.0.0 is out of date. The core version is 3.0.2
    flatsome/woocommerce/single-product/related.php
    flatsome/woocommerce/single-product/review.php
    flatsome/woocommerce/single-product/sale-flash.php
    flatsome/woocommerce/single-product/share.php
    flatsome/woocommerce/single-product/short-description.php
    flatsome/woocommerce/single-product/tabs/tabs.php
    flatsome/woocommerce/single-product/title.php
    flatsome/woocommerce/single-product/up-sells.php
    flatsome/woocommerce/single-product-reviews.php
    flatsome/woocommerce/single-product.php

    Outdated Templates: ?Learn how to update
    `
    _______________________________

    Also, when I have updated to Woocommerce 3.0.5 I was getting the wierd error that says Invalid value posted for (size, color, etc…). So I’ve downgraded to 3.0.4 until we can solve the issue as I see it hasn’t been resolved yet.
    More reference: https://www.ads-software.com/support/topic/invalid-value-posted-for-size/

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @realpashy

    Were you able to figure out the error source? One of my customers encountered the same error and your thread was the only one I could find in search.

    Thread Starter realpashy

    (@realpashy)

    @ahmednabi58 you should make sure that the tokens are right in 2CO, the settings are also right, the test mode is on or off (depends on your sitiuation) and lastly check your JS code which makes this problem. Mine was affected by Cloudflare. (In the speed section dunno the name).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“Request failed” using 2Checkout payment gateway’ is closed to new replies.