=== Two - BNPL for businesses ===
Tags: payment request, woocommerce
Requires at least: 6.0
Tested up to: 6.8.1
Requires PHP: 7.4
Stable tag: 2.24.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Two - BNPL for businesses is a WooCommerce plugin that simplifies B2B shopping, allowing merchants to safely offer invoices as a payment method.

== Description ==

**Making it easy for businesses to sell & buy online.**

Two - BNPL for businesses is a WooCommerce plugin that simplifies B2B shopping, allowing merchants to safely offer invoices as a payment method. This standalone add-on complements your checkout, catering to business customers' preferred payment methods, increasing conversion rates, and boosting sales.

= Benefits for Merchants =

Two provides a seamless **Buy Now, Pay Later** option, enhancing the buyer journey and reducing manual tasks in B2B transactions. It offers instant payment terms without credit approval delays, reducing the risk of losing customers.

Simply put, Two is customer-centric, with less friction and higher conversion rates.

= Why use the Two plugin? =

-   70% of business customers prefer to pay by invoice.
-   Automated customer credit check and verification.
-   Real-time credit approval.
-   Full control over checkout adjustments.
-   Customizable payment terms for business customers.
-   Integrated with PEPPOL e-invoicing network.
-   Guaranteed payment regardless of when the buyer pays.

= Benefits for Customers =

**Two Buy Now, Pay Later** offers a frictionless invoice solution, sending invoices directly to accountants through electronic invoicing.

= Compatibility with WooCommerce =

The plugin has been tested for compatibility with WooCommerce version 10.3.5 with
[HPOS](https://woocommerce.com/document/high-performance-order-storage/) enabled, on both the
classic shortcode checkout and the [block-based checkout](https://woocommerce.com/checkout-blocks/).

== Installation ==

Install the plugin via:

-   WordPress built-in installer
-   WordPress Admin
-   Manual upload via SFTP

Find the WordPress installation guide [here](https://wordpress.org/support/article/managing-plugins/#installing-plugins).

= How to Get Your Two Keys =

1.  Sign up at [two.inc](https://two.inc/).
2.  Log in to your Two [merchant portal account](https://portal.two.inc/merchant/integration).
3.  Click "Manage sandbox API keys" to obtain your test keys.
4.  After successful testing, request your production keys to start offering Two to your B2B customers.

Feel free to reach out to [integration@two.inc](mailto:integration@two.inc) for any assistance related to the plugin.

== Changelog ==

= 2.24.0 =

* Block-based checkout: the payment method, company capture and terms consent now work on the WooCommerce Checkout block as well as the classic shortcode checkout.
* Sole traders can check out with Two: autofill from a previous visit first, sign-up only when needed, and the option to pay as a different sole trader.
* Company search is offered only for countries with a supported business registry; buyers elsewhere get the plain company field.
* Payment-term choices are shown as chips on the payment tile, honouring the merchant's default term and preferring 30 days. Any surcharge for a term is shown with it.
* Surcharge pricing requires a merchant tax rule, and amounts are consistent across WooCommerce tax settings.
* The merchant record is refreshed on activation, nightly and on demand. Two is withheld at checkout for a buyer country the merchant's account does not cover, and the admin explains why.
* If the account's payment terms cannot be read, the payment method is still offered: no term choices are shown and the account default applies.
* Settings can be saved even when the Two API cannot be reached.
* Custom request headers can be configured for merchants whose firewall requires them.
* Order-intent notices are unified with Two's other platform plugins and can be switched off.
* Checkout tagline translated into Norwegian and Swedish.

= 2.23.9 =

* Maintenance release: compatibility information updated.

= 2.23.8 =

* Documented how to override the API key.

= 2.23.7 =

* Fixed the payment method icon markup so themes can style it.

= 2.23.6 =

* Fixed product image URLs being sent as a boolean.

= 2.23.5 =

* Maintenance release.

= 2.23.4 =

* Maintenance release.

= 2.23.3 =

* Translation updates.

= 2.23.2 =

* Request logging now goes through WooCommerce's own logger.
* Translation updates.

= 2.23.1 =

* Fixed an error when a cart line item was not an object.

= 2.23.0 =

* Added API key validity status and improved response logging.

= 2.22.0 =

* Removed the personal and sole-trader checkout options. (Sole-trader checkout returns in 2.24.0.)
* Removed the buyer invoice fee and the payment description from checkout.
* Order intents now carry net and tax amounts.
* Fewer notification emails.

= 2.21.1 =

* Maintenance release.

= 2.21.0 =

* Two's checkout fields are shown only when Two is the selected payment method.
* The business account type is always visible.

= 2.20.3 =

* Fall back to the displayed company name when no company is set on the order.

= 2.20.2 =

* Maintenance release.

= 2.20.1 =

* A credit note can be downloaded once an order has refunded payments.

= 2.20.0 =

* Compatible with WooCommerce High-Performance Order Storage (HPOS).
* Refunding an order in WooCommerce now refunds it with Two.
* The API key is validated at checkout, and the Merchant ID setting is no longer needed.
* Rejection reasons are recorded on the order notes.

Older releases are listed at https://github.com/two-inc/woocommerce-plugin/releases

== Upgrade Notice ==

= 2.24.0 =
Adds block-based checkout support and sole-trader checkout. Review the payment-term and surcharge settings after updating.
