=== A1L Pay for WooCommerce ===
Contributors: a1ltechnologies, soteripanagou
Tags: woocommerce, payment, payment-gateway, a1lpay, eftcorp, eclipse, ukheshe
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: Proprietary
WC requires at least: 8.0
WC tested up to: 9.4

Accept payments via A1L Pay (Eclipse/Ukheshe) using hosted checkout. Customers are redirected to A1L Pay to complete payment.

== Description ==

A1L Pay for WooCommerce integrates the A1L Pay payment gateway (powered by EFT Corp / Eclipse / Ukheshe) into WooCommerce checkout.

Key features:

* Hosted checkout flow — A1L Pay handles card entry on their secure page
* Supports both classic shortcode checkout and the new block-based checkout
* High-Performance Order Storage (HPOS) compatible
* Sandbox mode with test card 4242 4242 4242 4242
* Configurable payment link expiry (seconds, minutes, hours, days)
* Live and sandbox credentials kept separate
* Optional organisation ID support
* Cancel-on-PENDING handling — if the customer cancels at the gateway but the payment status hasn't yet propagated, the plugin explicitly cancels it
* Diagnostic information logged to order notes; full request/response logging available via WooCommerce > Status > Logs

== Installation ==

1. Upload the plugin folder to /wp-content/plugins/ or upload the zip via Plugins > Add New > Upload Plugin
2. Activate the plugin through the Plugins menu
3. Go to WooCommerce > Settings > Payments > A1L Pay
4. Configure your API credentials, tenant ID, and wallet ID
5. Copy the displayed Landing URL into your Eclipse admin portal configuration if required
6. Enable the gateway and save

== Frequently Asked Questions ==

= Which credentials do I need? =

You need an API identity (username) and password for both live and sandbox environments. These are issued by your A1L Pay onboarding contact at EFT Corp.

= How do I test it? =

Enable Sandbox Mode in the settings. Place a test order and use card number 4242 4242 4242 4242 with any future expiry date at the A1L Pay hosted checkout.

= Where do I see what happened with a payment? =

The status, paymentId, and tracing context for every payment attempt are logged as order notes. For more detailed API call logs, enable Debug Logging and view at WooCommerce > Status > Logs (source: a1lpay).

== Changelog ==

= 1.0.0 =
* Initial release
