2017 © Pedro Peláez
 

wordpress-plugin woocommerce-installment-gateway

WooCommerce plugin that adds a new payment gateway meant for paying in parts.

image

k1sul1/woocommerce-installment-gateway

WooCommerce plugin that adds a new payment gateway meant for paying in parts.

  • Sunday, December 31, 2017
  • by k1sul1
  • Repository
  • 0 Watchers
  • 3 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Installment payment gateway for WooCommerce

If you're not code savvy, you might want to steer clear of this plugin, unless the defaults work for you.

This plugin is useful for stores that want to utilize a part time payment provider that doen't have an official gateway., (*1)

Out of the box, every single order will complete ~instantly, but there's a lot of hooks buried in the 400ish lines of code that this plugin has., (*2)

If you want or need to check each order manually before marking it as processing, uncheck "Use direct payment?" on the plugin settings page (/wp-admin/admin.php?page=wc-settings&tab=checkout&section=installments) and add this code to your location of choice., (*3)

add_action("plugins_loaded", function() {
  /* Disable default payment callback action */
  remove_action("woocommerce_api_callback", "k1sul1_wcigw_callback_handler");
  remove_action("k1sul1-wcigw-callback", "k1sul1_wcigw_demo_callback");
}, 11);

Payment options are configured on the same options page. Don't be intimidated by the syntax., (*4)

60 : ((%total% + 70) * 1.079 / 60) + 7 : Pay in 60 months, %installment% / month.

First, there's the the part amount, how many parts will the order be paid in?, (*5)

Second, there's the formula, it's up to you how you want it. The formula here takes the total order amount, and adds 70 to it, as a one time fee. The interest rate is 7.9%, so the sum is multiplied with 1.079, and then divided with 60. Each installment will cost an additional 7($), so it's added to the final sum that is displayed to the customer., (*6)

Third, there's the text that's displayed to the customer inside the payment option. %installment% contains the result of your formula., (*7)

Using this formula, if you were to buy a cat with 600$ + 5$ of shipping fees, you would pay 19.14$ / month., (*8)

Other fields on the settings page control the text displayd on the payment form., (*9)

Contributing

Yes please!, (*10)

Licence

GPL-2.0, (*11)

The Versions

31/12 2017

dev-master

9999999-dev

WooCommerce plugin that adds a new payment gateway meant for paying in parts.

  Sources   Download

GPL-2.0

The Requires

 

by Christian Nikkanen

31/12 2017

1.0.1

1.0.1.0

WooCommerce plugin that adds a new payment gateway meant for paying in parts.

  Sources   Download

GPL-2.0

The Requires

 

by Christian Nikkanen