=== CoinStack for WooCommerce ===
Contributors: coinstack
Tags: crypto, bitcoin, usdc, stablecoin, payments
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept crypto on your store and get paid in USDC to your own wallet.

== Description ==

Let your customers pay with the crypto they already hold. They choose the coin and network, send the payment, and it's instantly converted to USDC and settled to your wallet. The order is marked paid automatically, so it moves to Processing just like with any other payment method.

CoinStack is fully non-custodial. Payments settle to a wallet you control, and you can withdraw to any supported network and token at any time.

= Features =

* Customers pay with BTC, ETH, SOL, USDC, USDT, PYUSD, USDG, TRX, BNB or HYPE on Bitcoin, Ethereum, Base, Arbitrum, Optimism, Polygon, Avalanche, BNB Chain, HyperEVM, Solana or TRON
* Every payment settles in USDC, so you're protected from price volatility
* Orders are marked paid automatically, with no manual review
* Works with both the block checkout and the classic checkout
* Supports stores in 146 currencies
* No chargebacks
* Instant sign-up

= Pricing =

0.8% per payment. No setup fees and no monthly fees.

= Getting started =

Setup takes a few minutes. Create an account at [coinstack.net](https://coinstack.net), generate an API key, install the plugin and paste in the key. CoinStack configures payment notifications for you, with no webhooks or secrets to copy.

== Installation ==

1. Create an account at [coinstack.net](https://coinstack.net) and create an API key with write access under Developers.
2. Install and activate the plugin.
3. Go to WooCommerce > Settings > Payments > CoinStack, tick Enable CoinStack, paste the API key and save.

The settings page shows Connected once CoinStack is set up. There is nothing else to configure.

Your site address must start with https:// so CoinStack can send payment updates to your store.

== Frequently Asked Questions ==

= What happens if a customer pays less than the order total? =

The order is put on hold with a note while the customer pays the rest. If the checkout expires before they do, resolve it in your CoinStack dashboard to mark the order paid, or refund the customer.

= How do refunds work? =

Refunds are sent from your own wallet, not from WooCommerce.

= Which currencies are supported? =

146 currencies, including all the major ones. If your store uses a currency CoinStack doesn't accept, CoinStack is not shown at checkout.

= Orders are not being marked paid =

* Your site address (Settings > General) must start with https:// and the certificate must be valid.
* Your firewall or security plugin must allow POST requests from outside to `/wc-api/coinstack/`.
* Errors are recorded under WooCommerce > Status > Logs (source: coinstack), and every payment update is noted on the order.

For help, email support@coinstack.net with your WooCommerce version, the order number, and any related log entries.

== External services ==

This plugin connects to the CoinStack API (https://coinstack.net/api/v1) to take crypto payments. It cannot work without it.

* When a customer places an order with CoinStack, the plugin creates a CoinStack checkout and sends the order total, currency, order number, the customer's email address, links back to your store, and the order ID, customer ID and your site's domain.
* When you save the settings, and every few minutes after that, the plugin checks that CoinStack knows where to send payment updates for your store, and registers your store's address with CoinStack if needed.
* When CoinStack sends a payment update, when a customer returns from the checkout, and every few minutes for recent unpaid orders, the plugin looks up the checkout's status.
* When an unpaid order is cancelled, the plugin closes its CoinStack checkout.

The service is provided by CoinStack: [Terms of service](https://coinstack.net/terms), [Privacy policy](https://coinstack.net/privacy).

== Changelog ==

= 1.0.0 =
* First release.