=== SkinsFlow for WooCommerce ===
Contributors: skinsflow
Tags: payments, skins, cs2, steam, payment gateway
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Let customers pay with CS2, Dota 2 and Rust skins. The value lands on your SkinsFlow balance in USD.

== Description ==

SkinsFlow adds "Pay with skins (CS2, Dota 2, Rust)" to your checkout. Customers pick items from their Steam inventory, accept one Steam trade, and you get the value on your SkinsFlow balance in USD.

* Classic checkout and the block checkout.
* Redirect to the SkinsFlow checkout page, or open it in a window on your store.
* Orders complete on their own when the payment is confirmed by a signed webhook.
* Steam Trade Protection handled: protected payments put the order on hold until they settle.
* Test mode with your test API secret.
* Compatible with High-Performance Order Storage.

You need a SkinsFlow account and a project: https://dashboard.skinsflow.com

== Installation ==

1. Plugins > Add New > Upload Plugin, choose skinsflow-woocommerce.zip, then Activate.
2. WooCommerce > Settings > Payments > SkinsFlow.
3. Paste your project's Client ID, API secret and webhook signing secret (SkinsFlow dashboard > Projects & API keys).
4. In the SkinsFlow dashboard, set your project's webhook URL to the address shown under the webhook secret field: https://your-store.example/?wc-api=skinsflow
5. Enable the method and place a small test order.

== Frequently Asked Questions ==

= Which currencies work? =

The ones SkinsFlow supports at checkout (USD, EUR and more). The method hides itself in store currencies that are not supported. Your SkinsFlow balance is always in USD.

= When is an order marked as paid? =

When SkinsFlow confirms the payment: the plugin checks the webhook signature and reads the payment again from the SkinsFlow API before it changes the order. A customer's browser can never mark an order as paid.

= What is "on hold" for? =

Steam can hold traded items for up to 7 days (Trade Protection) and return them to the customer in that window. Those orders stay on hold and complete on their own when the hold ends. You can release a payment early in your SkinsFlow dashboard.

= How does test mode work? =

Turn on Test mode and paste your test API secret (sk_test_…). No real items or money move; order notes are marked [Test].

= Where are the logs? =

Turn on Debug log, then WooCommerce > Status > Logs, source "skinsflow". Secrets are never logged.

== External services ==

This plugin connects to SkinsFlow (operated by Skinsflow Limited) to take payments:

* api.skinsflow.com — to create and read payments when a customer checks out with skins, and to list supported currencies. The order number, order total, currency and your store's return URLs are sent.
* pay.skinsflow.com — the checkout page your customers use, and, in "window" mode, the pay button script loaded on the order-pay page.

Terms: https://skinsflow.com/legal/terms · Privacy: https://skinsflow.com/legal/privacy

== Changelog ==

= 1.0.0 =
* First release.
