BPOINT (WooCommerce Payment Gateway)
The Commonwealth Bank’s BPOINT solution allows businesses to easily and securely accept payments online.
by Josiah Troup · github.com/jotroup/bpoint-for-woocommerce · website
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/jotroup/bpoint-for-woocommerce/archive/refs/heads/main.zipBPoint for WooCommerce is a payment gateway plugin that integrates the BPoint payment system into your WooCommerce store. It allows customers to securely pay using their credit cards directly on your website.
Features
- Seamless integration with WooCommerce.
- Supports major credit card types (Visa, MasterCard, American Express, etc.).
- Real-time validation of credit card details.
- Secure payment processing using BPoint's API.
- Custom error handling and user-friendly error messages.
Installation
- Download the plugin files and upload them to the
/wp-content/plugins/bpoint-for-woocommercedirectory of your WordPress installation. - Activate the plugin through the 'Plugins' menu in WordPress.
- Navigate to WooCommerce > Settings > Payments and enable the BPoint payment gateway.
Usage
- Ensure the BPoint payment gateway is enabled in WooCommerce settings.
- Configure the BPoint API credentials in the plugin settings.
- During checkout, customers can select the BPoint payment method and enter their credit card details.
- The plugin validates the card details and processes the payment securely.
Development Notes
- The plugin uses jQuery for client-side validation and AJAX for server-side communication.
- Key functions include:
bpointFormHandler: Handles form submission and validation.validateCreditCardNumber: Validates the credit card number using the Luhn algorithm.validateCVN: Validates the card verification number (CVN).validateExpiryDate: Ensures the card's expiry date is valid.
- Error messages are displayed in a user-friendly format using WooCommerce's error message styling.
Support
For support or feature requests, please contact the plugin developer or submit an issue on the plugin's repository.
License
This plugin is licensed under the GPLv2 or later. You are free to use, modify, and distribute it under the terms of this license.