Sandbox mode is not working

Viewing 3 posts - 1 through 3 (of 3 total)
  • Discussion
  •  mrasharirfan #86

    Hi,

    I just purchased Better 2Checkout Payment Gateway for WooCommerce. My purchase code is: a7300f6a-a39e-4a09-8378-e4896cba6560

    I am trying to test the payment method in the sandbox mode as you can see in the settings of the plugin: http://jmp.sh/uryl0sE

    But it is taking me to live site of 2Checkout i.e. https://www.2checkout.com/checkout/purchase instead of https://www.sandbox.2checkout.com/checkout/purchase

    Can you please look into this issue?

    Best Regards

     mrasharirfan #88

    Hi,

    Why is no one replying?

    Any issues?

    Regards,
    Ashar

     collizo4sky #90

    Sorry for the late reply.

    Sandbox works albeit you have to add this code to your theme’s functions.php file or a site specific plugin.

    add_filter('woocommerce_2checkout_enable_sandbox', function () {
        return true;
    });
    
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.