WP Manifestindependent plugin directory
manifest / ecommerce / woocommerce-pay-later

WooCommerce Pay Later Payment Gateway releases

A Payment Gateway for WooCommerce that allows Customers to Pay Later at Checkout.

by Creative Little Dots · github.com/creativelittledots/woocommerce-pay-later

18stars
1forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/creativelittledots/woocommerce-pay-later/archive/refs/heads/master.zip

Readme

WooCommerce Pay Later Payment Gateway

A Payment Gateway for WooCommerce that allows Customers to Pay Later at Checkout.

After a Customer has checked via Pay Later, the Customer is directed to the Order Received page and is sent an invoice using the built in WooCommerce Customer Invoice email.

There is a filter you can use called wc_pay_later_order_received_url to direct to a custom page if you'd prefer to direct the Customer to a different page:

apply_filters( 'wc_pay_later_order_received_url', $order->get_checkout_order_received_url(), $order, $this )

Which can be used in functions.php like this:

add_filter( 'wc_pay_later_order_received_url', 'redirect_to_custom_page', 10, 3 );

function redirect_to_custom_page( $url, $order, $gateway ) {

    return add_query_arg(array(
        'order_id' => $order->id,
        'gateway_id' => $gateway->id,
        'some_arbitrary' => 'text'
    ), 'http://somedomain.com');

    // results in a redirect to http://somedomain.com?order_id={{order_id}}&gateway_id=pay_later&some_arbitrary=text

}

Orders that are checked out via Pay Later result in the status of pending. Customers can pay for the Order by clicking the Pay button in their My Account > Orders area.

Installation

  1. Upload the plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

Requirements

PHP 5.4+

Wordpress 4+

WooCommerce 2.5+

License

GNU General Public License v3.0

Read the full README on GitHub →

Releases

TagPublished
1.0.3 Oct 27, 2016
1.0.2 Sep 28, 2016
1.0.1 Sep 6, 2016
1.0.0 Sep 6, 2016

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.