=== OfferPay for WooCommerce ===
Contributors: offerwallgg
Tags: woocommerce, payment gateway, offers, rewards, offerwall
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
WC requires at least: 7.6
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Let customers pay for an order by completing offers.

== Description ==

Adds "Pay with offers" to your checkout. The customer sees the order total, a bar that fills as each offer confirms, and the offers that cover it fastest. When the offers cover the order it is marked paid on its own.

* Works with the classic checkout and the block checkout
* Supports WooCommerce order storage (HPOS)
* An order is only marked paid once OfferPay confirms it
* Test mode lets you try the whole flow before you take real orders

You are paid what the offers earn, into your Offerwall.GG publisher balance, on your usual payout terms. If an advertiser later reverses an offer, it comes off that balance and a note is added to the order.

OfferPay has to be approved for your account. Apply on your Offerwall.GG publisher dashboard under OfferPay. You can use test mode while the application is reviewed.

== Installation ==

1. Upload the plugin and activate it.
2. On offerwall.gg, add your store as a placement and apply for OfferPay.
3. In WooCommerce → Settings → Payments → OfferPay, paste the placement's public key and secret key, and enable it.
4. Leave test mode on, place an order with "Pay with offers" and press "Mark this test as paid" on the checkout page. The order should move to Processing.
5. Turn test mode off once your application is approved.

== Frequently Asked Questions ==

= Which currencies work? =

USD, and every currency the European Central Bank publishes a daily rate for, including EUR and GBP. The rate is fixed when the checkout opens.

= What happens if the customer does not finish? =

The checkout closes after the time you set (72 hours by default) and the order is cancelled. If an offer the customer started in time confirms later, the order is marked paid with a note asking you to check stock.

= What if an advertiser reverses an offer after I shipped? =

The order stays paid. A note is added to it saying how much the offers now cover, so you can decide what to do.

== Changelog ==

= 1.0.0 =
* First release.
