Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter thebrally

    (@thebrally)

    On pro version I think you can use the inline checkout. I do not try to use now, because checkout page of 2checkout give a serious and professional look to my system.

    I have a blog without tons of traffic and customers, and now is a good option send my customers to 2checkout page.

    I read 2checkout support, and delete parameters from index.php in the plugin to hide shipping: (This works only if you are selling virtual products)

    ` // Shipping

    $twoco_args[‘ship_name’] = $order->shipping_first_name.’ ‘.$order->shipping_last_name;
    $twoco_args[‘company’] = $order->shipping_company;
    $twoco_args[‘ship_street_address’] = $order->shipping_address_1;
    $twoco_args[‘ship_street_address2’] = $order->shipping_address_2;
    $twoco_args[‘ship_city’] = $order->shipping_city;
    $twoco_args[‘ship_state’] = $order->shipping_state;
    $twoco_args[‘ship_zip’] = $order->shipping_country;
    $twoco_args[‘ship_country’] = $order->shipping_postcode;

    $twoco_args[‘x_receipt_link_url’] = str_replace( ‘https:’, ‘http:’, add_query_arg( ‘wc-api’, ‘WC_Gateway_NM_TwoCheckout’, home_url( ‘/’ ) ) );
    $twoco_args[‘return_url’] = str_replace(‘https’, ‘http’, $order->get_cancel_order_url());

Viewing 1 replies (of 1 total)