=== Payment Gateway for PhoeniXGate on WooCommerce === Contributors: wpspin Donate link: Tags: woocommerce, payment-gateway, credit-card, woocommerce-payment-gateway, echeck Requires at least: 4.0.0 Tested up to: 6.9.1 Stable tag: 2.3.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Phoenix's unified e-commerce and multi-channel gateway solution for the payments industry. == Description == ๐Ÿ’ณ **Payment Gateway for PhoeniXGate on WooCommerce** brings the power of Phoenix's omni-channel payment platform directly to your WooCommerce store. Accept credit card and e-check (ACH) payments seamlessly โ€” all through a single, secure connection. PhoeniXGate is a fully managed payment infrastructure built for the modern payments industry. Whether you run a small online shop or a large multi-site network, this plugin gives you everything you need to process payments confidently. = โšก Key Features = * ๐Ÿ’ณ **Credit Card Payments** โ€” Accept Visa, Mastercard, and other major cards at checkout. * ๐Ÿฆ **E-Check / ACH Payments** โ€” Let customers pay directly from their bank account using routing and account numbers. * ๐Ÿ”„ **Easy Refunds** โ€” Process full or partial refunds for credit card transactions right from the WooCommerce order screen. * ๐Ÿงช **Test Mode** โ€” Safely test your entire payment flow using sandbox credentials before going live. Use test card `4111111111111111` to simulate transactions. * ๐Ÿ› **Debug Logging** โ€” Enable detailed API error logs under WooCommerce > Status > Logs for easy troubleshooting. * ๐ŸŒ **WordPress Multisite Support** โ€” Works on single-site and multisite (network) installations. Each site can have its own gateway configuration. * ๐Ÿ”’ **Secure by Design** โ€” Card data is transmitted directly to PhoeniXGate's API and is never stored on your server. * โœ… **Real-Time Validation** โ€” Built-in client-side validation catches card number, expiry, and CVV errors before the form is submitted. * ๐Ÿ› ๏ธ **Independent Gateway Controls** โ€” Enable or disable credit card and e-check gateways separately, each with their own API credentials. * ๐ŸŒ **Translation Ready** โ€” Fully internationalized with a .pot file included for easy localization. = ๐ŸŽฏ Use Cases = 1. ๐Ÿ›’ **Online Retail Store** โ€” Sell physical products (clothing, electronics, home goods) and accept credit card payments at checkout. 2. ๐ŸŽ“ **Online Course Platform** โ€” Collect tuition or course fees from students via credit card or e-check. 3. ๐Ÿ• **Food & Beverage Orders** โ€” Accept online payments for restaurant takeout, catering, or meal-kit deliveries. 4. ๐Ÿ’ผ **Professional Services** โ€” Freelancers, consultants, and agencies can invoice clients and collect payments through their WooCommerce store. 5. ๐Ÿข **B2B Wholesale** โ€” Business buyers often prefer paying via e-check (ACH). Offer both card and bank transfer options on one checkout page. 6. ๐ŸŽŸ๏ธ **Event Tickets & Registrations** โ€” Sell tickets for conferences, workshops, or community events and process payments instantly. 7. ๐Ÿ’ **Nonprofit & Donation Sites** โ€” Accept one-time donations via credit card or e-check through a WooCommerce-powered donation page. 8. ๐Ÿ  **Rent & Fee Collection** โ€” Property managers or HOAs can collect monthly payments via e-check for lower processing fees. 9. ๐ŸŒ **WordPress Multisite Networks** โ€” Agencies or franchises running multiple stores on a single WordPress multisite can configure PhoeniXGate independently per site. 10. ๐Ÿ“ฆ **Subscription Boxes & Memberships** โ€” Use with WooCommerce membership or subscription plugins to collect initial payments via PhoeniXGate at sign-up. 11. ๐Ÿ”ง **Service Booking & Appointments** โ€” Pair with a booking plugin to collect payment when customers schedule appointments (salons, clinics, repair services). 12. ๐Ÿ–ฅ๏ธ **Digital Products & Downloads** โ€” Sell software, eBooks, templates, or digital art and collect payment instantly at checkout. = โš™๏ธ Settings & Configuration Guide = Setting up PhoeniXGate is quick and straightforward. Follow these steps: **Step 1 โ€” Install & Activate** 1. Upload the plugin folder to `/wp-content/plugins/` or install it from the WordPress plugin directory. 2. Go to **Plugins โ†’ Installed Plugins** and click **Activate** on "Payment Gateway for PhoeniXGate on WooCommerce". 3. Make sure **WooCommerce** is already installed and active. **Step 2 โ€” Configure Credit Card Gateway** 1. Go to **WooCommerce โ†’ Settings โ†’ Payments**. 2. Find **"PhoeniXGate Credit Cards"** in the list and click **Manage** (or toggle it on and click **Set up**). 3. Fill in the settings: * โœ… **Enable/Disable** โ€” Check this box to enable the credit card gateway. * ๐Ÿ“ **Title** โ€” The name customers see at checkout (e.g., "Credit Card"). * ๐Ÿ“ **Description** โ€” A short message shown below the title (e.g., "Pay securely with your credit card."). * ๐Ÿงช **Test Mode** โ€” Check this to use sandbox credentials. Uncheck when you are ready to go live. * ๐Ÿ› **Debug Log** โ€” Check this to log API errors. View logs at **WooCommerce โ†’ Status โ†’ Logs**. * ๐Ÿ”— **Test API URL** โ€” Your PhoeniXGate sandbox API endpoint (provided by Phoenix Managed Networks). * ๐Ÿ‘ค **Test Username** โ€” Your sandbox API username. * ๐Ÿ”‘ **Test Password** โ€” Your sandbox API password. * ๐Ÿ”— **Live API URL** โ€” Your production API endpoint. * ๐Ÿ‘ค **Live Username** โ€” Your production API username. * ๐Ÿ”‘ **Live Password** โ€” Your production API password. 4. Click **Save changes**. **Step 3 โ€” Configure E-Check / ACH Gateway (Optional)** 1. On the same **WooCommerce โ†’ Settings โ†’ Payments** page, find **"PhoeniXGate Check Payment"** and click **Manage**. 2. Fill in the same fields as above (the e-check gateway uses its own separate credentials). 3. Click **Save changes**. **Step 4 โ€” Test Your Setup** 1. Make sure **Test Mode** is enabled on whichever gateway you want to test. 2. Go to your store's checkout page and place a test order. * For credit cards, use card number `4111111111111111` with any future expiry date and any 3-digit CVV. * For e-checks, use routing number `123456789` with any account number. 3. Confirm the order is marked as **Completed** in **WooCommerce โ†’ Orders**. 4. Check **WooCommerce โ†’ Status โ†’ Logs** for any error messages if the transaction fails. **Step 5 โ€” Go Live** 1. Go back to the gateway settings and **uncheck Test Mode**. 2. Enter your **Live API URL**, **Live Username**, and **Live Password** (provided by Phoenix Managed Networks). 3. Click **Save changes**. Your store is now processing real payments! **๐Ÿ’ก Tip:** You can enable both credit card and e-check gateways at the same time. Customers will see both options at checkout and can choose their preferred payment method. = ๐Ÿค Works Great With These Popular Plugins = PhoeniXGate integrates with WooCommerce, so it naturally works alongside the entire WooCommerce ecosystem. Here are some popular plugins it pairs well with: * ๐Ÿ›’ **WooCommerce** (required) โ€” The foundation. PhoeniXGate registers as a native WooCommerce payment gateway. * ๐Ÿ“ฆ **WooCommerce Subscriptions** โ€” Collect the initial subscription payment through PhoeniXGate when customers sign up. * ๐Ÿ‘ฅ **WooCommerce Memberships** โ€” Gate content behind membership plans and collect payment at registration. * ๐Ÿ“Š **WooCommerce PDF Invoices & Packing Slips** โ€” Automatically generate invoices for orders paid through PhoeniXGate. * ๐Ÿ“ง **WooCommerce Email Customizer** โ€” Customize the order confirmation and payment receipt emails sent after a PhoeniXGate transaction. * ๐Ÿงพ **WooCommerce Cart & Checkout Add-ons** โ€” Add custom fees, gift wrapping, or special instructions at checkout alongside PhoeniXGate. * ๐Ÿ“… **WooCommerce Bookings** โ€” Accept payments for appointment-based or date-based services through PhoeniXGate at checkout. * ๐Ÿšš **WooCommerce Shipping plugins (Table Rate, Flat Rate, etc.)** โ€” Calculate shipping costs and collect total payment (including shipping) via PhoeniXGate. * ๐Ÿ” **WooCommerce Google Analytics Integration** โ€” Track completed purchases and e-commerce events for transactions processed through PhoeniXGate. * ๐Ÿ’ฐ **WooCommerce Dynamic Pricing & Discounts** โ€” Apply dynamic pricing rules or bulk discounts, and the adjusted total is processed by PhoeniXGate. * ๐ŸŒ **WPML / Polylang** โ€” Translate your checkout page (including the PhoeniXGate payment form title and description) into multiple languages. * ๐Ÿ” **Wordfence / Sucuri Security** โ€” Keep your store secure while processing payments. PhoeniXGate transmits card data directly to the API, so no sensitive data is stored locally. * โšก **WP Super Cache / W3 Total Cache** โ€” Speed up your store pages. The checkout and payment processing are dynamic and work correctly with page caching plugins. * ๐Ÿ“ฑ **Starter Templates / Starter Sites (e.g., Starter Templates by Starter Templates)** โ€” Build your store quickly with pre-designed WooCommerce templates and add PhoeniXGate as the payment method. = ๐Ÿ”’ Security Notes = * Card numbers, CVVs, and bank account details are sent directly to the PhoeniXGate API over HTTPS. They are **never stored** in your WordPress database. * Always use **HTTPS/SSL** on your site when accepting payments. * The plugin sanitizes all user input on the server side using WordPress sanitization functions. * Enable **Debug Mode** only when troubleshooting โ€” disable it in production to avoid logging sensitive request details. == Installation == = ๐Ÿ“ฅ Automatic Installation (Recommended) = 1. Go to **Plugins โ†’ Add New** in your WordPress admin. 2. Search for **"Payment Gateway for PhoeniXGate"**. 3. Click **Install Now**, then **Activate**. 4. Go to **WooCommerce โ†’ Settings โ†’ Payments** to configure your gateway. = ๐Ÿ“‚ Manual Installation = 1. Download the plugin ZIP file. 2. Upload the plugin folder to the `/wp-content/plugins/` directory (or use **Plugins โ†’ Add New โ†’ Upload Plugin**). 3. Activate the plugin through the **Plugins** menu in WordPress. 4. Go to **WooCommerce โ†’ Settings โ†’ Payments** to configure PhoeniXGate. = ๐ŸŒ Multisite Installation = 1. Upload the plugin to `/wp-content/plugins/`. 2. Network Activate the plugin from the **Network Admin โ†’ Plugins** screen, or activate it on individual sites. 3. Make sure WooCommerce is active either network-wide or on the site where you want to use PhoeniXGate. 4. Configure gateway settings on each site independently via **WooCommerce โ†’ Settings โ†’ Payments**. = โœ… Requirements = * WordPress 4.0.0 or higher * WooCommerce plugin installed and active * PHP 7.0 or higher (recommended) * SSL certificate (HTTPS) for live payment processing == Frequently Asked Questions == = ๐Ÿ’ณ What payment methods does this plugin support? = The plugin supports two payment methods: **Credit Card** payments and **E-Check (ACH)** payments. Both can be enabled independently. = ๐Ÿงช How do I test the plugin before going live? = Enable **Test Mode** in the gateway settings and use the sandbox API credentials provided by Phoenix Managed Networks. Use test card number `4111111111111111` for credit cards or routing number `123456789` for e-checks. = ๐Ÿ”‘ Where do I get my API credentials? = Your API URL, username, and password are provided by **Phoenix Managed Networks**. Contact them to set up your merchant account. = ๐ŸŒ Does this plugin work with WordPress Multisite? = Yes! As of version 2.2.0, the plugin fully supports WordPress Multisite (Network) installations. Each site in the network can have its own independent gateway configuration. = ๐Ÿ”„ Can I process refunds? = Yes, you can process refunds for credit card transactions directly from the WooCommerce order screen. E-check refunds are not currently supported through the plugin. = ๐Ÿ”’ Is it safe to use? Where is card data stored? = Card data is **never stored** on your WordPress site. All payment information is transmitted directly to the PhoeniXGate API over a secure connection. Always ensure your site uses HTTPS/SSL. = ๐Ÿ› A transaction failed. How do I debug it? = Enable **Debug Log** in the gateway settings. Then check **WooCommerce โ†’ Status โ†’ Logs** for detailed error messages from the PhoeniXGate API. = ๐Ÿ’ฐ Can I use both credit cards and e-checks at the same time? = Absolutely! Each gateway is independent. Enable both in **WooCommerce โ†’ Settings โ†’ Payments** and customers will see both options at checkout. == Screenshots == 1. โš™๏ธ Enable PhoeniXGate payment gateway in WooCommerce Payments settings 2. ๐Ÿ”ง PhoeniXGate Credit Card gateway settings page 3. ๐Ÿ’ณ Checkout page showing the PhoeniXGate credit card form 4. ๐Ÿฆ E-check (ACH) payment gateway form at checkout == Changelog == = 2.3.0 = * ๐Ÿ› ๏ธ Added support contact banner on gateway settings pages * โœ… Tested with WordPress 6.9.1 = 2.2.0 = * ๐ŸŒ Added WordPress Multisite (Network) support = 2.1.0 = * ๐Ÿ”ง Fixed transaction API response key name * โœ… Tested with WordPress 6.6 = 2.0.0 = * ๐Ÿฆ Added e-check (ACH) payment gateway option = 1.1.0 = * โœ… Tested with WordPress 6.2 = 1.0.1 = * โœ… Tested with WordPress 6.1 = 1.0.0 = * ๐Ÿš€ Initial release of the plugin