=== ALATPay Payment Gateway === Contributors: alatpay Tags: alatpay, wemabank, alat, payment gateway, payment, woocommerce, e-commerce, fintech, naira, nigeria Requires at least: 5.6 Tested up to: 6.7 Requires PHP: 7.4 Stable tag: 1.1.0 License: GPL-2.0+ License URI: http://www.gnu.org/licenses/gpl-2.0.txt ALATPay Payment Gateway allows you to accept seamless and secure payments in your WooCommerce store using AlatPay. == Description == **ALATPay Payment Gateway** integrates the AlatPay payment gateway into your WooCommerce store, providing a secure and user-friendly checkout experience for your customers. ### Features: - Accept payments directly via AlatPay. - Secure and fast transactions. - Supports local currency (NGN). - Easy setup with API Key and Business ID. - Responsive design for mobile and desktop. - Option to auto-complete orders after payment. This plugin is ideal for merchants who want to provide a seamless payment experience using AlatPay. ### External Services: This plugin connects to the AlatPay API to process payments. - **What it does:** Facilitates secure transactions for WooCommerce orders. - **Data sent:** Transaction details, including the order amount and currency. - **Third-party service:** [AlatPay](https://alatpay.ng) - Terms of Service: [https://alatpay.ng/terms-and-conditions](https://alatpay.ng/terms-and-conditions) - Privacy Policy: [https://alatpay.ng/privacy-policy](https://alatpay.ng/privacy-policy) ### Documentation and Support: - Plugin homepage: [https://docs.alatpay.ng](https://docs.alatpay.ng) - For setup instructions and FAQs, visit the **Installation** section below. == Installation == 1. Download the plugin's `.zip` file from [Plugin Page](https://docs.alatpay.ng/woo-commerce). 2. In your WordPress admin dashboard, navigate to Plugins > Add New. 3. Click on "Upload Plugin" and select the `.zip` file you downloaded. 4. Click "Install Now" and then "Activate." 5. Go to WooCommerce > Settings > Payments. 6. Enable the "AlatPay" payment gateway and enter your API Key and Business ID. == Frequently Asked Questions == = How do I get my AlatPay API Key? = Log in to your AlatPay account and navigate to the Developer section to find your API Key and Business ID. = What currencies are supported? = Currently, AlatPay supports payments in Nigerian Naira (NGN) and United State of America Dollar (USD). = How do I enable Auto-Complete Orders? = In the plugin settings (WooCommerce > Settings > Payments > AlatPay), enable the "Auto Complete Order" checkbox. == Screenshots == 1. **AlatPay Settings in WooCommerce Admin** Configure your API Key, Business ID, Webhook Secret and other options. 2. **Checkout Page with AlatPay** Customers can select AlatPay as a payment method. 3. **AlatPay Payment Window** Secure payment processing with AlatPay's interface. == Changelog == = 1.1.0 = * Hardened payment verification with server-side transaction requery before order updates. * Added transaction idempotency to prevent duplicate processing of the same transaction. * Added order token validation and stricter webhook/checkout callback checks (method, transaction, order, currency, amount). * Improved admin payment settings with dynamic webhook URL guidance and visibility based on configured credentials. * Improved checkout popup flow handling to avoid false failure redirects after successful payment resolution. = 1.0.0 = * Initial release of the ALATPay Payment Gateway plugin. == Upgrade Notice == = 1.0.0 = This is the first release of the plugin. No previous versions exist. = 1.0.1 = Added support for webhook integration. = 1.1.0 = Security and reliability improvements: webhook and callback transactions are now server-verified (requery, token/order/currency/amount checks), duplicate transaction processing is prevented, and admin webhook setup guidance is improved. == License == This plugin is licensed under the GPL-2.0+ license. See the License URI for details: [http://www.gnu.org/licenses/gpl-2.0.txt](http://www.gnu.org/licenses/gpl-2.0.txt)