=== AllPays.co - Payment Gateway for WooCommerce ===
Contributors: AllPaysCo
Donate link: https://allpays.co
Tags: woocommerce, payment gateway, credit card, google pay, apple pay
Requires at least: 5.0
Tested up to: 6.9.4
Stable tag: 1.2.2
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept card payments, Apple Pay, Google Pay, Venmo, bank transfers, and local payment methods with AllPays.co for WooCommerce.

== Description ==

AllPays.co Payment Gateway for WooCommerce gives merchants two modern checkout flows: a hosted AllPays Gateway experience and a Providers Mode with direct provider redirects. You can accept crypto-friendly payments with no registration and no KYB/KYC requirement while keeping a familiar WooCommerce checkout journey.

**Key Features:**

* **AllPays Gateway (hosted):** One recommended checkout option that opens the hosted AllPays payment experience.
* **Providers Mode:** Shows individual provider options and redirects customers directly to the selected provider payment URL.
* **Classic + Block checkout support:** Works in both WooCommerce classic checkout and Checkout Blocks.
* **Pending and retry-friendly flow:** Unpaid orders stay pending and customers can continue payment from order-pay links.
* **Callback-based completion:** Orders are confirmed after callback validation, including signed callback verification.
* **Reminder emails:** Optional reminder emails for pending AllPays orders (60 minutes, 1 day, 2 days).
* **Checkout appearance controls:** Configure checkout title, description, and logo visibility.
* **Provider routing controls:** Set max providers shown in Providers Mode and let availability update dynamically.
* **No registration / no KYB:** Start accepting payments without merchant KYB onboarding.

**Supported Payment Methods:**

* Credit Cards
* Apple Pay
* Google Pay
* PayPal
* Venmo
* Bank Transfer
* Revolut
* Robinhood
* And more...

Provider/payment-method availability can vary by provider routing, customer context, and temporary provider availability.

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/allpaysco-payment-gateway-for-woocommerce`
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to WooCommerce > Settings > Payments > AllPays.co
4. Enable AllPays.co and configure your Polygon wallet address
5. Choose your **Gateway mode**: **AllPays Gateway (Recommended)** or **Providers Mode**
6. If using Providers Mode, set **Max providers to show**
7. Configure checkout appearance (title, description, logos) and optional reminder emails
8. Save changes and complete a test checkout

== Frequently Asked Questions ==

= Does this require registration? =

No. AllPays.co is designed to work without registration, and no KYB/KYC process for merchants is required to start accepting payments.

= What is the difference between AllPays Gateway and Providers Mode? =

**AllPays Gateway (Recommended)** shows one hosted AllPays checkout option.  
**Providers Mode** shows provider-specific methods and redirects customers directly to the selected provider page.

= What order status is used while waiting for payment? =

Orders stay in **pending** while payment is in progress or awaiting callback confirmation.

= If a customer leaves before finishing payment, can they retry? =

Yes. Customers can continue payment from WooCommerce order-pay links (including My Account and reminder-email retry links when enabled).

= How long can callback confirmation take? =

If payment was already completed on the provider/payment side, blockchain confirmation can take around 30 minutes. Customers are notified by email once the order is confirmed.

= Which payment methods are supported? =

Supported methods include Credit Cards, Apple Pay, Google Pay, PayPal, Venmo, Revolut, Robinhood, Bank Transfer, and more.

= Is KYB (Know Your Business) required? =

No. AllPays.co does not require KYB/KYC to start accepting payments.

= How do I receive payments? =

Payments are processed through AllPays flows and settled to the Polygon wallet address configured in plugin settings.

= Why do provider options sometimes change? =

In Providers Mode, shown providers come from live provider routing and availability. Temporarily unavailable providers are not shown.

= Can I limit how many providers customers see? =

Yes. In Providers Mode, use **Max providers to show** to control how many provider options are displayed at checkout.

= Can I apply a fee or discount? =

Yes. You can configure a fee/discount and choose whether provider-side fees are absorbed by the merchant or passed to the customer.

= Can the plugin send payment reminders? =

Yes. You can enable reminder emails for pending orders and choose when to send them (after 60 minutes, 1 day, and/or 2 days).

= What customer/payment data does this plugin store? =

The plugin stores the order/payment metadata needed to run checkout, callbacks, and retries. See the privacy policy for details.

= Where can I get support? =

For help, visit AllPays.co Support: https://allpays.co/support

== Screenshots ==

1. WooCommerce Payments list with AllPays.co row
2. AllPays.co settings (General)
3. AllPays.co settings (Appearance)
4. Checkout with AllPays Gateway selected
5. Order-pay page with hosted AllPays iframe modal
6. Checkout in Providers Mode
7. Admin order details after successful callback

== Changelog ==

= 1.2.2 =
* Fix fatal checkout availability checks when WooCommerce cart context is not initialized
* Improve retry and order-pay handling in cartless request flows

= 1.2.1 =
* Maintenance improvements across checkout and admin flows
* Compatibility and stability refinements
* Updated bundled translations and plugin directory metadata

= 1.2.0 =
* Hosted gateway and providers mode flow improvements
* Branding and checkout appearance updates
* New reminder email and settings UX refinements
* E2E/testing and callback handling improvements

= 1.0.0 =
* Initial release
* WooCommerce Blocks support
* Multiple payment methods support
* Automatic payment confirmation
* Email notifications
* Transaction logging

== Upgrade Notice ==

= 1.2.2 =
Fixes a fatal checkout availability error for some cartless WooCommerce request flows.

= 1.2.1 =
Maintenance release with general improvements, updated translations, and compatibility refinements.

= 1.2.0 =
Required update: AllPays API flow changed. Please update to keep checkout and payment callbacks working.

= 1.0.0 =
Initial release of AllPays.co Payment Gateway for WooCommerce.

== Additional Info ==

**Privacy Policy**

This plugin does not collect any personal data. All payment requests are redirected securely by AllPays.co and handled by it's payment providers. [Privacy Policy](https://allpays.co/privacy-policy)

**Support**

For more information and support inquiries, please visit [AllPays.co Support](https://allpays.co/support)
