Vortex Crypto Payment Gateway
WooCommerce payment gateway for USDC cryptocurrency payments on Solana blockchain. TOLA incentive system for rewards.
by Vortex AI Team · github.com/mariannenems/vortex-tola-pay · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/mariannenems/vortex-tola-pay/archive/refs/heads/main.zipVortex Crypto Payment Gateway v4.1.0
WooCommerce payment gateway for USDC cryptocurrency payments
Overview
Complete payment gateway allowing customers to pay with:
- USDC - Primary stablecoin for all purchases (1 USDC = $1 USD)
- Backend TOLA - Hidden incentive system (rewards)
Integrates with WooCommerce checkout and connects to Solana blockchain for real-time payment verification.
Integrated with: Vortex USDC Transaction Manager for seamless balance management.
Features
Primary Payment Method:
- ✅ USDC (Stablecoin - user-facing, 1:1 USD value)
Backend Integration:
- ✅ Vortex USDC Transaction Manager
- ✅ TOLA incentive rewards (hidden)
- ✅ Automatic balance crediting
Payment Flow:
- Customer selects "USDC Cryptocurrency" at checkout
- System generates QR code + Phantom deep link
- Customer pays USDC with Phantom wallet
- On-chain verification via Solana RPC
- USDC credited to customer account
- Order auto-completes after confirmation
- BONUS: Customer earns hidden TOLA rewards for purchase!
Security:
- Real-time blockchain verification
- On-chain transaction confirmation
- Treasury wallet validation
- HMAC webhook security
Installation
Requirements:
- WordPress 5.8+
- WooCommerce 5.0+
- PHP 7.4+
- Solana wallet (Phantom/Solflare)
Setup:
-
Rename Plugin Folder:
OLD: wp-content/plugins/vortex-tola-pay/ NEW: wp-content/plugins/vortex-crypto-payment/ -
Upload/Activate:
WordPress Admin → Plugins → Activate "Vortex Crypto Payment Gateway" -
Configure:
WooCommerce → Settings → Payments → USDC Cryptocurrency Required Settings: - Railway Backend URL: https://vortex-engine.railway.app - Treasury Wallet: Your Solana wallet address (receives USDC) - USDC Contract: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v - Enable: Yes -
Integration:
This plugin works with: - Vortex USDC Transaction Manager (for balance management) - Vortex Railway Backend (for blockchain operations) - Vortex AI Engine main plugin (for incentive rewards)
Configuration
Required Settings:
Railway Backend URL:
- Production:
https://vortex-engine.railway.app - Development:
http://localhost:3000
Treasury Wallet:
- Solana wallet address to receive USDC payments
- Must have USDC token account configured
USDC Contract:
- Mainnet:
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v - This is the official Solana USDC SPL token address
Payment Currency:
- Primary: USDC (all customer payments)
- Backend: TOLA (incentive rewards - automatic)
Integration with Vortex Engine
This plugin requires the vortex-engine backend to be deployed.
API Endpoints Used:
POST /api/usdc/transfer - Transfer USDC tokens
GET /api/usdc/balance/:wallet - Check USDC balance
POST /wc/webhooks/order-created - Order webhook
POST /wc/webhooks/order-paid - Payment webhook
GET /tola/payments/status/:order_id - Check payment status
Backend Only (TOLA Incentives):
POST /api/tola/incentive - Distribute TOLA rewards (hidden)
GET /api/tola/balance/:wallet - Check TOLA incentive balance (hidden)
Usage
Customer Experience:
- Add products to cart
- Proceed to checkout
- Select "TOLA/USDC Pay" payment method
- Click "Place Order"
- Scan QR code or click Phantom link
- Approve transaction in wallet
- Wait for blockchain confirmation
- Order automatically completed
Admin Experience:
- Orders show payment status
- Transaction signatures stored in order meta
- View on Solscan via order notes
- Automatic order completion
Database
Order Meta Keys:
_usdc_payment_intent_id - Payment intent ID
_usdc_transaction_signature - Blockchain TX signature
_usdc_payment_status - Payment status
_usdc_wallet_address - Customer wallet
_usdc_amount - Amount paid in USDC
_payment_currency - USDC
_vortex_transaction_id - Link to vortex_transactions table
Integration with Vortex System:
When payment completes:
- ✅ Credits USDC to user via Vortex_USDC_Transaction_Manager
- ✅ Records in wp_vortex_transactions table
- ✅ Awards hidden TOLA incentive (optional)
- ✅ Updates order status to 'completed'
- ✅ Sends confirmation emails
Webhooks
WooCommerce Webhooks:
Order Created:
- URL:
{engine_url}/wc/webhooks/order-created - Topic: Order created
- Action: Creates payment intent
Order Status Changed:
- URL:
{engine_url}/wc/webhooks/order-paid - Topic: Order status changed
- Action: Verifies payment on-chain
Troubleshooting
Payment Not Completing:
- Check transaction on Solscan
- Verify engine URL is correct
- Check treasury wallet has token accounts
- Review WordPress debug.log
- Check Railway logs for backend errors
Balance Not Showing:
- Verify wallet connected
- Check Solana RPC connection
- Verify token mint addresses correct
- Check for JavaScript console errors
Development
Local Testing:
# Start vortex-engine locally
cd vortex-engine
npm run dev
# Configure plugin to use localhost
Engine URL: http://localhost:3000
Debug Mode:
// In wp-config.php
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
// Check logs
tail -f wp-content/debug.log | grep "TOLA PAY"
Changelog
v4.1.0 (January 5, 2026)
- MAJOR UPDATE: Renamed from "TOLA Pay" to "Vortex Crypto Payment"
- PRIMARY CURRENCY: USDC (stablecoin, user-facing)
- SECONDARY: TOLA (hidden incentive system)
- Integrated with Vortex_USDC_Transaction_Manager
- Credits USDC directly to user accounts
- Compatible with vortex-ai-engine v4.0.0
- Updated UI/UX to show USDC
- Enhanced Railway backend integration
- Auto-rewards TOLA incentives (hidden)
v4.0.0 (January 4, 2026)
- Added USDC support alongside TOLA
- Updated for v4.0.0 architecture
- Improved blockchain verification
- Enhanced security features
- Real-time balance checking
v1.0.0 (Initial Release)
- Basic TOLA payment gateway
- QR code generation
- Phantom wallet integration
Security
Best Practices:
- ✅ Never store private keys in WordPress
- ✅ Use environment variables in vortex-engine
- ✅ Enable SSL/HTTPS
- ✅ Validate all webhooks with HMAC
- ✅ Rate limit API endpoints
- ✅ Monitor transaction logs
Support
Issues: https://github.com/MarianneNems/vortex-tola-pay/issues
Engine: https://github.com/MarianneNems/vortex-engine
Main Repo: https://github.com/MarianneNems/Vortexartec-ai-art-gen-web3-engine
License
Proprietary - Vortex AI Engine v4.0.0
Related Projects
- vortex-engine: Backend API for blockchain operations
- Vortexartec-ai-art-gen-web3-engine: Main WordPress plugin
Version: 4.0.0
Status: Production Ready
Blockchain: Solana Mainnet
Last Updated: January 4, 2026