=== Feemaker Crypto Payment Gateway for WooCommerce ===
Contributors: Feemaker
Tags: bitcoin, ethereum, payments, feemaker, cryptocurrency, payment gateway
Requires at least:       5.5
Tested up to:            5.9.3
WC requires at least:    4.9.4
WC tested up to:         6.9.4

Feemaker is a service that allows users to [accept online crypto payments](https://feemaker.io/) with numerous supported cryptocurrencies. The service is non-custodial with low transaction fees and extremely simple integration. The crypto payment gateway can be added easily to websites, social media accounts, and the largest e-commerce platforms by using cryptocurrency payment plugins.

Feemaker has created a plugin for all major e-commerce including WooCommerce. The plugin enables users to pay for items in your online store using any of the supported cryptocurrencies. Installing the plugin creates a new payment method in your store. We provide a simple step-by-step guide on installing the plugin and setting up your Feemaker account to start accepting crypto payments.

Customers will be thrilled to have a place to spend their hard-mined coins, especially since they're constantly growing in value. Also, the process is much simpler without having to enter credit card info or go through PayPal. The future is crypto, and if your customers prefer a [Bitcoin payment](https://feemaker.io/) you should be among the first to offer this option!

Feemaker does the heavy lifting, and all you need to do is register an account, configure your owner address, and install the plugin. Let us do the rest and power your store with crypto payments!


The easiest way to accept online payments in a wide variety of cryptocurrencies. Custody-free, zero-fee and easy to implement anywhere.

== Description ==

== Feemaker Crypto Payments Gateway plugin for WooCommerce ==


== Account & Pricing ==
Before installing the plugin, you should [sign up](https://app.feemaker.io/create-account) for a Feemaker account. The process is simple, and you can use this account for other purposes, like adding a crypto payment gateway to other online stores or websites. Creating an account is simple and free.

After that, you will need your **Owner Address** (your merchant EVM address) and a **Session Private Key** (a 32-byte hex EVM private key you registered against that owner via `POST /auth/register-pubkey`). Go to [Account Settings](https://app.feemaker.io/store-settings) to obtain or rotate the session key. The plugin signs every API request with this key — keep it secret. The PHP `gmp` and `curl` extensions must be enabled for the signing client to work.

Feemaker provides low transaction fees for all payments.

== Security & Privacy ==
The details you provide during the account creation are confidential and securely encrypted. The details sent to the Feemaker platform only include your owner address, order ID, and the amount involved. Customers never leave the page of your online store. We take privacy seriously, and we never share your account or transaction details with anyone.

= Key features =

* Receive crypto payments on your e-commerce store
* Multiple supported cryptocurrencies
* Very simple integration
* Low transaction fees
* Unique payment addresses generated per order
* All sensitive data is encrypted
* No info is shared with third parties, except the data needed for the transaction

== Installation ==

= Requirements =

* A  [Feemaker](https://feemaker.io/) account
* An installed  [Woocommerce](https://wordpress.org/plugins/woocommerce/) plugin


= Plugin installation =

1. Upload the feemaker-gateway-for-woocommerce directory to the /wp-content/plugins/ directory.
2. Activate the plugin through the "Plugins" menu in WordPress.

After the plugin is activated, Feemaker will appear in the WooCommerce>Payments section.

= Plugin configuration =

After you have installed the Feemaker plugin, the configuration steps are:

1. On the WooCommerce "Settings" page, go to the "Payment Gateways" tab, then click "Feemaker".
2. Check "Enable Feemaker" and enter your **Owner Address**.
3. Paste your **Session Private Key** (32-byte hex; will be stored as a password field).
4. Set the default **Chain ID** (e.g. `1` for Ethereum, `11155111` for Sepolia, `728126428` for TRON).
5. Fill **Accepted Tokens** — one `{chainId}:{tokenAddress}` per line. Use `0x0000000000000000000000000000000000000000` for the native coin.
6. Pick **Order Update Mode**: `Polling` (default) drains `/poll/events` from a WordPress cron tick every minute. `Webhook` expects Feemaker to POST invoice events to `/?wc-api=WC_Gateway_feemaker` — register that URL via `POST /auth/register-callback`.
7. Click "Save changes" and the gateway will be active.

When a customer chooses Feemaker, the plugin calls `POST /invoice` and redirects them to the returned `paymentUrl` on `app.feemaker.io`. Order status flips to `completed` when the invoice transitions to `paid`, `on-hold` on `partialPaid`, and `cancelled` on `expired`.

== Support ==
If you run into any problems, or if you simply wish to discuss something with our experts, make sure you [contact us](https://feemaker.io/contact-us/) with your query, and someone will help you shortly. Before contacting us, you can check the [frequently-asked questions](https://feemaker.io/help/) to see if the answer to your problem is already available.

== Changelog ==

= 3.0.0 =
* Switched from `getAddress` + `events` long-polling to the Feemaker invoice API.
* Plugin now calls `POST /invoice` on checkout and redirects to the hosted `paymentUrl`.
* Replaced "Secret Session ID" with a session private key signed via EIP-191 on every request.
* Added `Accepted Tokens` (one `{chainId}:{tokenAddress}` per line) instead of a single token field.
* Added Polling vs Webhook update mode; polling runs on a WordPress 1-minute cron via `/poll/events`.
* Bundled self-contained signing client (requires PHP `gmp` extension).

= 2.0.0 =
* Rebranded from NOWPayments to Feemaker.
* Replaced API key and IPN secret configuration with Owner Address and Secret Session ID.
* Payment flow now generates unique addresses via Feemaker getAddress API instead of redirecting to external payment pages.
* Replaced IPN callback with long polling via Feemaker events API.
* Removed invoice-based payment option (no longer needed with direct address generation).

= 1.7.0 =
* Added support for creating payments via invoices (enabled by the "Use invoices" setting, disabled by default).
* Fixed incorrect IPN signature generation due to insufficient `serialize_precision`.
* Fixed IPN signature header validation.
* Fixed the issue with receiving IPN notifications after changing the "Invoice prefix".
* Added validation for "Invoice prefix" setting.
* Changed "Api Key" and "IPN Secret" settings field type from "text" to "password".

= 1.6.3 =
* edit path to logo

= 1.6.2 =
* added screenshot

= 1.6.1 =
* improved Compatibility

= 1.4.0 =
* Precision improvements

= 1.3.0 =
* Added redirect to process payments.

= 1.2.0 =
* Added IPN support

= 1.1.0 =
* Added NZD and EUR currencies support

= 1.0.0 =
* Initial commit
