Viewing 3 replies - 1 through 3 (of 3 total)
  • My client has been using this PayHub plugin and when updated to woocommerce 2.1 it broke this plugin.

    I fixed this plugin to work with Woocommerce 2.1 using the below code edit:

    I replaced this code:

    return array(
    					'result' 	=> 'success',
    					'redirect'	=> add_query_arg('key', $order->order_key, add_query_arg('order', $order_id, get_permalink(get_option('woocommerce_thanks_page_id'))))
    					);

    With this code:

    $result = array(
    				'result' => 'success',
    				'redirect' => $this->get_return_url($this->order)
    				);
    				return $result;

    and yes it requires an SSL cert.

    Plugin Author PayHub, Inc

    (@payhub)

    Thank you xian06 for answering this post.

    We will be submitting v1.0.9 of this plugin that will fix the aforementioned issue with WooCommerce 2.1.x later today.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Does this plugin work with WooCommerce 2.0? What about 2.1?’ is closed to new replies.