Close
  • Home
  • About
  • Online Tools
  • Blog
  • Contact
  • Skip to primary navigation
  • Skip to main content

Walter Pinem

WordPress Projects

Home » WordPress Plugins » Indonesian Banks, My Very First WordPress Plugin
indonesian banks for woocommerce

Indonesian Banks, My Very First WordPress Plugin

January 17, 2019 by Walter Pinem Leave a Comment

In 2016, I started writing a custom plugin for my own online store, De Quixote, which was built using WordPress and WooCommerce.

At that time, Indonesian payment methods available on WordPress were not as diversed as now, and the built-in WooCommerce has only one Bank Account Clearing System (BACS) method.

In Indonesian market at that time, using a credit card through Paypal or Stripe was not the right choice, and it was quite hard to find customers who possess a credit card.

Then again, it was difficult to expand the market and boost our monthly sales if our infrastructure only supports payments through credit card. Certainly not wise.

To solve the limitation, I came up with an idea to create my own plugin. By extending the BACS function in WooCommerce, I’m able to multiply BACS choices and use Indonesian major banks names instead of Direct Transfer.

The final result is known as Indonesian Banks for WooCommerce, my very first WordPress and WooCommerce plugin, which is available in two versions: Free and Premium.

Indonesian Banks for WooCommerce (Free Version)


The Code Overview

The code I’m using is very simple and straightforward. Each bank has its own class defined, and after declaring $methods function, we can then add each bank available on WooCommerce => Payments menu as an option.

function add_indonesian_banks_gateway( $methods ) {
	$methods[] = 'WC_Gateway_Mandiri';
	$methods[] = 'WC_Gateway_bni';
	$methods[] = 'WC_Gateway_bri';
	return $methods;
}

The final output then looks like this:

indonesian banks for woocommerce - banks

You can create as many banks as you need for your online store.


Payment Code Feature on the Free Version

indonesian banks for woocommerce - payment code

The Payment Code feature is available on both free and premium version. Once activated, it will add additional 3 unique digits into the total price, helps store owners easily identify payments made by their customers by looking into the 3-digit payment code.

indonesian banks for woocommerce - payment code-2


The Premium Version of Indonesian Banks Premium

The premium version contains some additional features which will boost the payment option. Numerous Indonesian banks on request, payment code, custom logo on checkout page, and dynamic discount per payment method are available on the premium version.

Learn more about the free and premium version here:

Indonesian Banks: Plugin WooCommerce untuk Toko Online Indonesia

To purchase the Indonesian Banks for WooCommerce Premium, go straight to:

Indonesian Banks for WooCommerce Premium


Further Readings:

  • Introduce Sabina WordPress Theme, A Theme for Writers
  • Enter Datar WordPress Theme! A Minimalistic Theme for Writers

Share This!
Share
on Facebook
Tweet
Share on Twitter
Share
on Google

Filed Under: WordPress Plugins

About Walter Pinem

A traveler and WordPress Developer, also a web designer. Sometimes can be a translator and writer.

View all posts by Walter Pinem

Reader Interactions

Introduce Sabina WordPress Theme, A Theme for Writers
Introduction to OneClick Chat to Order: Just Another WooCommerce Plugin

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2023 - Coded with ❤ and by Walter Pinem. Powered by Genesis.