Installation

There are 2 ways to install the plugin:

Install via Marketplace

  1. Navigate to Add plugins and search for "two - bnpl"
Screenshot of woocommerce dashboard
  1. Press install now
Screenshot of plugin search
  1. Press "Activate"
Screenshot showing how to activate the Two plugin

Install using ZIP File

  1. Download a ZIP file of our plugin from Wordpress plugin directory.
Screenshot of download button on our plugin homepage
  1. Navigate to the Plugins section of your Wordpress admin console and click Add New.
Screenshot showing where to add new plugin on Wordpress admin console
  1. Click Upload Plugin to display the upload interface.
Screenshot showing where to add plugin
  1. Click Choose file and select the downloaded ZIP file from Step 1 then click Install Now.
Screenshot showing how to upload the Two plugin

Configuration

Plugin

After activation, you need to enable the payment method. From the dashboard, go to WooCommerce → Settings → Payments.
  1. Under payment methods, click the toggle next to Two to enable it.
  2. Then, click Manage.
Screenshot showing how to configure plugin

Fill in the form to complete the integration

General settings and API credentials

  1. Setting to activate Two as payment option.
  2. This is the text that appears in field 2 of the checkout page pictured below.
  3. This is the text that appears in field 3 of the checkout page pictured below.
  4. URL to the API environment. Production environment: api.two.inc/v1.
  5. Clear all of these settings when deactivating the plugin.
  6. Username is provided by Two.
  7. API key is provided by Two.
Screenshot showing input fields to complete #1

Checkout Page

Screenshot of checkout user interface

Payment and invoice settings

  1. Select the type of invoice that is agreed with Two.
  2. Select the number of payment days agreed with Two.
  3. Upload your company logo.
Screenshot showing input fields to complete #2

Checkout options

  1. Enables credit check before Two is available as a payment option. It is recommended that this is checked.
  2. Let customer select option for private customers.
  3. Let customer select option for sole trader or other types of customers.
  4. Let customer select business customer option.
  5. Set all input fields related to Two to be required.
  6. Adds a new input field to specify the department of the company.
  7. Adds a new input field to specify the project.
  8. Replace radio buttons with buttons for the different account types (Sole trader, private, business).
Screenshot showing input fields to complete #3

Checkout options and auto-complete

  1. Link to a page which describes the Two payment solution in detail.
  2. Changes the default view to business checkout.
  3. Makes the buyer pay a flat fee on the purchase.
  4. Starts a process to refund the money to the buyer if the purchase is refunded.
  5. Enables all other available payment methods.
  6. Enables fallback to other payment method if Two is not available.
  7. Enables company search which auto-completes company name and address.
  8. Enables company search which auto-completes org.id.
Screenshot showing input fields to complete #4
After all inputs are filled, click on Save Changes. Two will now be enabled and live in your check-out.

Taxes

Most merchants already have configured taxes as part of normal operation. However, if you have not enabled taxes, you will have to enable it before offering Two as payment method.

Two requires at least one tax to be enabled. Most likely this will be VAT for your shop. Find it under WooCommerce → Settings → Tax
Screenshot showing first part of configuring taxes
Screenshot showing second part of configuring taxes

Search API

The Two Search API in action

Screenshot showing Two search API

WooCommerce Refunds

In order to refund an order, you must navigate to your WooCommerce orders from WooCommerce > Orders.

Select an order that has a Completed state in order to issue a refund. In this example we are selecting the top most order to edit.
Screenshot of Magento backend showing how to disable via composer

Selecting an order will show the edit order page. Scrolling down will then display a item breakdown for the order. In this instance our order is made up of 2 items. In order to issue a refund, click the button labelled 'Refund'.

Screenshot of Magento backend showing how to disable via composer

This has now made the order line items editable. In order to refund a particular item simply set the quantity for the amount of items you want to issue a refund for. In this example we are refunding a single 'Old Lady Cactus'. The 'Total' and 'Tax' feilds are automatically populated by selecting the quantity. Finally to refund simply click 'Refund via Two'

Screenshot of Magento backend showing how to disable via composer

After clicking 'Refund via Two' you will get a window alert with the message 'Are you sure you wish to process this refund? This action cannot be undone.' which you can accept or decline. Accepting the alert will trigger the refund. Note that this action cannot be undone.