=== Biftpay for WooCommerce ===
Contributors: biftpay
Tags: payments, nigeria, naira, card, bank transfer
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Take card and bank transfer payments in naira (and dollars) with Biftpay's secure hosted checkout.

== Description ==

Customers choose Biftpay at checkout and pay on Biftpay's hosted page by card or bank transfer. The order is marked paid when Biftpay confirms the money, by signed webhook, including bank transfers that arrive after the customer has left.

* Classic and block-based checkout.
* Refunds from the order screen (full or partial).
* Test mode with your bp_test_ key: no real money moves.
* Works with WooCommerce's order tables (HPOS).
* Currencies: NGN and USD.

== Installation ==

1. Upload the plugin and activate it (WooCommerce must be active).
2. Go to WooCommerce → Settings → Payments → Biftpay.
3. Paste your test secret key (Biftpay dashboard → Developers → API keys) and save. The plugin adds this store's webhook endpoint to Biftpay and saves its signing secret (your site needs HTTPS).
4. Place a test order. When you're ready, add your live key and turn off Test mode.

== Frequently Asked Questions ==

= Who pays Biftpay's fee? =

Your fee setting in the Biftpay dashboard (Settings) decides: you, out of each payment, or the customer, on top at checkout.

= My site isn't on HTTPS yet. =

Payments still work: the order is confirmed when the customer comes back from checkout. Webhooks (needed for transfers that land after the customer leaves) need HTTPS.

== Changelog ==

= 1.0.1 =
* Automatic webhook setup replaces an endpoint already registered for this store's address (its secret was no longer known), and a failed attempt no longer blocks later ones.

= 1.0.0 =
* First release.
