Download the PHP package k1sul1/woocommerce-installment-gateway without Composer
On this page you can find all versions of the php package k1sul1/woocommerce-installment-gateway. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download k1sul1/woocommerce-installment-gateway
More information about k1sul1/woocommerce-installment-gateway
Files in k1sul1/woocommerce-installment-gateway
Package woocommerce-installment-gateway
Short Description WooCommerce plugin that adds a new payment gateway meant for paying in parts.
License GPL-2.0
Informations about the package woocommerce-installment-gateway
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.
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.
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§ion=installments) and add this code to your location of choice.
Payment options are configured on the same options page. Don't be intimidated by the syntax.
First, there's the the part amount, how many parts will the order be paid in?
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.
Third, there's the text that's displayed to the customer inside the payment option. %installment% contains the result of your formula.
Using this formula, if you were to buy a cat with 600$ + 5$ of shipping fees, you would pay 19.14$ / month.
Other fields on the settings page control the text displayd on the payment form.
Contributing
Yes please!
Licence
GPL-2.0