Is this compatible with woocommerce version 2.6.13

Viewing 15 posts - 1 through 15 (of 39 total)
  • Discussion
  •  manju sah #378

    Hi,

    I have woocommerce version 2.6.13 installed on my site. Is this checkout plugin compatible with woocommerce version 2.6.13 ? If not, how can I make this plugin to work with woocommerce version 2.6.13 ? Do you have any instructions that I can follow or have a plugin version which is compatible with woocommerce version 2.6.13 ?

    Thanks

     manju sah #379

    I have purchased this plugin from another account. Username – HBWSL

     collizo4sky #380

    I can’t guarantee it work with a WooCommerce version as old as 2.6.13. Try it and let me know if it works for you.

    I am sure it work flawlessly with recent WooCommerce version.

     manju sah #381

    Hi,

    Thanks for the reply. I checked with latest woocommerce but still its not working.
    I placed one order but in 2checkout account its not showing any sales.

    I am checking with sandbox account and have added the code in functions.php file too.

    add_filter(‘woocommerce_2checkout_enable_sandbox’, function () {
    return true;
    });

    Can you please help me to fix this issue ?

    Thanks

     collizo4sky #382

    Where did you buy the plugin from? Can i have your purchase key and the version of the plugin you are using?

     manju sah #383
    This reply has been marked as private.
     collizo4sky #385
    This reply has been marked as private.
     manju sah #386

    Hi,

    Thanks for the reply. I will check with parameter setting and will let you know.

    I have one question though – does this work for subscription products ? I purchased one subscription product with recurring $8 per year but in 2co it is showing recurring as No

    also does it support renewal orders ?

    Please let me know. Thanks

     collizo4sky #387

    It does support subscription with “WooComemrce subscription” plugin activated.

     manju sah #391

    Hi,

    I have woocommerce subscription plugin active on my site but after placing order its showing recurring as “NO ” in 2checkout sandbox account.

    I have updated woocommerce to its latest version.

    I have setup header redirect as mentioned here – https://www.2checkout.com/documentation/checkout/passback/return-setup/

    also left the approved url field as blank.

    How can I fix this issue ? Please help

     collizo4sky #392

    Hello, WooCommerce sandbox has issues. For example, using the offsite checkout to place an order won’t display the order in sandbox dashboard.

    I advice you test with a live 2checkout credentials.

    Over a 100 stores rely on this same plugin including that of our clients and it works perfectly with live account.

     manju sah #393

    Hi,

    I checked with live account but still its showing recurring as ” No”.

    I have latest version of woocommerce and woocommerce subscription plugin. For the notifications I have entered this url https://cyberchimps.com/?wc-api=WC_2Checkout_Gateway in global setting.

    and direct return is set to header redirect. In the approved url setting I have entered this url https://cyberchimps.com/?wc-api=WC_2Checkout_Gateway

    why its not setting the recurring ? How can I fix this ? I need to fix this urgently. Please help me to fix this.

     collizo4sky #394
    This reply has been marked as private.
     manju sah #395

    Hi,

    I will create test site and will share admin details with you. Meanwhile I was debugging locally and found that its setting product id as 0 and hence not executing subscription code. I have set product type to Simple Subscription also attached screenshot of product setitng.

    In Function process_off_site_payment() this condition is checked

    if (isset($product[‘variation_id’])) {
    $product_id = $product[‘variation_id’];
    }

    file – class.wc-2checkout.php
    Line no 296

    In error log dump – variation_id is set to 0 and its assigning 0 value to product ID. If I remove this condition its working fine for subscription products and also setting the recurring as Yes in 2checkout.

    Here’s $product dump log

    [21-Nov-2017 09:40:18 UTC] product dumpWC_Order_Item_Product Object
    (
    [extra_data:protected] => Array
    (
    [product_id] => 0
    [variation_id] => 0
    [quantity] => 1
    [tax_class] =>
    [subtotal] => 0
    [subtotal_tax] => 0
    [total] => 0
    [total_tax] => 0
    [taxes] => Array
    (
    [subtotal] => Array
    (
    )

    [total] => Array
    (
    )

    )

    )

    [data:protected] => Array
    (
    [order_id] => 262005
    [name] => CyberChimps Club
    [product_id] => 260272
    [variation_id] => 0
    [quantity] => 1
    [tax_class] =>
    [subtotal] => 57
    [subtotal_tax] => 0
    [total] => 57
    [total_tax] => 0
    [taxes] => Array
    (
    [total] => Array
    (
    )

    [subtotal] => Array
    (
    )

    )

    )

    [cache_group:protected] => order-items
    [meta_type:protected] => order_item
    [object_type:protected] => order_item
    [id:protected] => 251
    [changes:protected] => Array
    (
    )

    [object_read:protected] => 1
    [default_data:protected] => Array
    (
    [order_id] => 0
    [name] =>
    [product_id] => 0
    [variation_id] => 0
    [quantity] => 1
    [tax_class] =>
    [subtotal] => 0
    [subtotal_tax] => 0
    [total] => 0
    [total_tax] => 0
    [taxes] => Array
    (
    [subtotal] => Array
    (
    )

    [total] => Array
    (
    )

    )

    )

    [data_store:protected] => WC_Data_Store Object
    (
    [instance:WC_Data_Store:private] => WC_Order_Item_Product_Data_Store Object
    (
    [internal_meta_keys:protected] => Array
    (
    [0] => _order_id
    [1] => _name
    [2] => _product_id
    [3] => _variation_id
    [4] => _quantity
    [5] => _tax_class
    [6] => _subtotal
    [7] => _subtotal_tax
    [8] => _total
    [9] => _total_tax
    [10] => _taxes
    [11] => _product_id
    [12] => _variation_id
    [13] => _qty
    [14] => _tax_class
    [15] => _line_subtotal
    [16] => _line_subtotal_tax
    [17] => _line_total
    [18] => _line_tax
    [19] => _line_tax_data
    )

    [meta_type:protected] => order_item
    [object_id_field_for_meta:protected] => order_item_id
    )

    [stores:WC_Data_Store:private] => Array
    (
    [coupon] => WC_Coupon_Data_Store_CPT
    [customer] => WC_Customer_Data_Store
    [customer-download] => WC_Customer_Download_Data_Store
    [customer-session] => WC_Customer_Data_Store_Session
    [order] => WC_Order_Data_Store_CPT
    [order-refund] => WC_Order_Refund_Data_Store_CPT
    [order-item] => WC_Order_Item_Data_Store
    [order-item-coupon] => WC_Order_Item_Coupon_Data_Store
    [order-item-fee] => WC_Order_Item_Fee_Data_Store
    [order-item-product] => WC_Order_Item_Product_Data_Store
    [order-item-shipping] => WC_Order_Item_Shipping_Data_Store
    [order-item-tax] => WC_Order_Item_Tax_Data_Store
    [payment-token] => WC_Payment_Token_Data_Store
    [product] => WC_Product_Data_Store_CPT
    [product-grouped] => WC_Product_Grouped_Data_Store_CPT
    [product-variable] => WC_Product_Variable_Data_Store_CPT
    [product-variation] => WC_Product_Variation_Data_Store_CPT
    [shipping-zone] => WC_Shipping_Zone_Data_Store
    [subscription] => WCS_Subscription_Data_Store_CPT
    [product-variable-subscription] => WC_Product_Variable_Data_Store_CPT
    [product-subscription_variation] => WC_Product_Variation_Data_Store_CPT
    [order-item-line_item_pending_switch] => WC_Order_Item_Product_Data_Store
    )

    [current_class_name:WC_Data_Store:private] => WC_Order_Item_Product_Data_Store
    [object_type:WC_Data_Store:private] => order-item-product
    )

    [meta_data:protected] => Array
    (
    )

    )

    Is it a bug in plugin ? You can check this by setting product type to Simple subscription

    I need to fix this issue ASAP. Can you please let me know why its setitng $product_id to 0 ?

    Attachments:
    You must be logged in to view attached files.
     collizo4sky #397
    if (isset($product[‘variation_id’])) {
    $product_id = $product[‘variation_id’];
    }
    

    That if condition above detect if the product is a variable subscription product.

    Can you please confirm to me if removing the code allows your subscription to work?

    What version of WooCommerce are you using?

Viewing 15 posts - 1 through 15 (of 39 total)

You must be logged in to reply to this topic.