URBO Payment Initiation Service (PIS) for WooCommerce

Description

URBO Payment Initiation Service (PIS) enables your WooCommerce store to accept direct bank payments.

Features:

  • Secure bank payments via PIS
  • Sandbox and production environments
  • Automatic order status updates via webhooks
  • WooCommerce Blocks checkout support
  • HPOS (High-Performance Order Storage) compatible

External services

This plugin connects to the URBO Payment Initiation Service (PIS) API at mip.urbo.lt to initiate and track bank payments. The service is required for the plugin to function: it is what processes the customer’s payment.

When a customer places an order using the URBO bank payment method, the plugin sends the following order data to the API to create the payment: order reference, order total, currency, country, locale, the return URL the customer is sent back to, an optional webhook URL, and the customer’s billing email. The plugin also sends the payment order ID when it queries payment status, and receives payment status notifications from the service via a webhook.

When sandbox mode is enabled in the settings, the sandbox environment (mip.urbo.lt/api/v1/sandbox) is used instead and no real payments are processed.

A URBO PIS merchant account and API credentials are required.

Screenshots

Blocks

This plugin provides 1 block.

  • URBO Payment Initiation Service (PIS) Bank payment via URBO Payment Initiation Service (PIS)

Installation

  1. Upload the urbo-mip-for-woocommerce folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Go to WooCommerce Settings Payments and configure the URBO Payment Initiation Service (PIS) settings.
  4. Enter your API credentials and select the environment.
  5. Enable the Bank Payment method.

FAQ

What is URBO Payment Initiation Service?

URBO Payment Initiation Service (PIS) allows customers to pay directly from their bank account.

Do I need a merchant account?

Yes, a URBO Payment Initiation Service (PIS) merchant account is required. Contact URBO at info@urbo.lt.

Does this plugin support WooCommerce Blocks?

Yes, the plugin is fully compatible with the WooCommerce Blocks-based checkout.

Where is the source code for the checkout block script, and how is it built?

The minified file assets/blocks/urbo-mip-bank/index.js is the compiled production output. The corresponding human-readable source is included in the plugin package at includes/blocks/urbo-mip-bank/index.js, so the uncompressed code ships alongside the compiled version.

The build uses @wordpress/scripts. The build tooling (package.json and webpack.config.js) is not included in the distributed plugin package, so to regenerate the compiled file, create the two files below in the plugin directory, then run npm install followed by npm run build. No external repository is needed.

package.json:

{
  "name": "urbo-mip-for-woocommerce",
  "private": true,
  "scripts": {
    "build": "wp-scripts build",
    "start": "wp-scripts start"
  },
  "devDependencies": {
    "@woocommerce/dependency-extraction-webpack-plugin": "^2.2.0",
    "@wordpress/scripts": "^30.0.0"
  }
}

webpack.config.js:

const defaultConfig = require( '@wordpress/scripts/config/webpack.config' );
const WooCommerceDependencyExtractionWebpackPlugin = require( '@woocommerce/dependency-extraction-webpack-plugin' );
const path = require( 'path' );

module.exports = {
  ...defaultConfig,
  entry: {
    'urbo-mip-bank/index': path.resolve( __dirname, 'includes/blocks/urbo-mip-bank/index.js' ),
  },
  output: {
    path: path.resolve( __dirname, 'assets/blocks' ),
    filename: '[name].js',
  },
  plugins: [
    ...defaultConfig.plugins.filter(
      ( plugin ) =>
        plugin.constructor.name !== 'DependencyExtractionWebpackPlugin'
    ),
    new WooCommerceDependencyExtractionWebpackPlugin(),
  ],
};

Reviews

There are no reviews for this plugin.

Contributors & Developers

“URBO Payment Initiation Service (PIS) for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • Initial release.
  • Initial support for direct bank payments via URBO Payment Initiation Service (PIS).