Overview
This guide will walk you through the complete setup process from activating the plugin to accepting your first ZIGI payment. You’ll learn how to configure the payment gateway, upload your QR code, and test the payment flow.Estimated Time: 10-15 minutesMake sure you have your ZIGI QR code image ready before starting.
Step 1: Access Payment Settings
After installing and activating the plugin, configure the payment gateway:Navigate to WooCommerce Settings
From your WordPress admin dashboard:Go to WooCommerce → Settings → PaymentsYou should see “Paga con ZIGI” listed among available payment methods
Step 2: Basic Configuration
Configure the essential settings for your payment gateway:Enable the Payment Method
Check the box for “Habilitar Paga con ZIGI” (Enable Paga con ZIGI)This makes the payment method visible at checkout
Set Payment Title
Field: Título (Title)Default: “Paga con ZIGI”This is what customers see as the payment method name at checkout
Configure Checkout Description
Field: Descripción (Description)Default: “Método de pago vía QR ZIGI. Al realizar el pago, debes adjuntar el comprobante con la orden de compra.”This appears below the payment method at checkout
Set Popup Description
Field: Descripción del Popup (Popup Description)Default: “Debes escanear el código QR, hacer clic en continuar para adjuntar la captura (es el único comprobante de pago) y podrás completar la compra.”This appears in the payment popup modal shown to customers
This is crucial for guiding customers through the payment process
Step 3: Upload Your ZIGI QR Code
The QR code is the most important element - customers will scan it to make payments:Locate QR Upload Section
Scroll to “Seleccionar Imagen QR” (Select QR Image)Click the upload area or “Sube el QR aquí” button
Select Your QR Code Image
The WordPress media library will open
- Upload new: Click “Upload files” and select your ZIGI QR code image
- Use existing: Select a previously uploaded QR code
QR Code Best Practices
- Resolution: Use at least 500x500 pixels for clarity
- Format: PNG recommended for best quality
- Background: Ensure good contrast between QR code and background
- Testing: Always test the QR code with the ZIGI app before going live
Step 4: Configure Advanced Settings (Optional)
Customize additional settings based on your business needs:Set Payment Amount Limits
Set Payment Amount Limits
Restrict payments to specific amount ranges:Monto Límite (Amount Limit)This sets a maximum payment amount (e.g., 500 GTQ per transaction)Mensaje de Monto Límite (Limit Message)This message displays when the cart total exceeds the limit
Leave empty if you don’t want to set payment limits
Add Affiliated Phone Number
Add Affiliated Phone Number
Display your ZIGI-affiliated phone number for customer support:Número de Teléfono AfiliadoThis creates a clickable link in the payment popup:Customers can click to add your number or call directly
Customize Payment Icon
Customize Payment Icon
Add a custom icon next to the payment method name at checkout:The icon appears in the To add a custom icon, you can modify the code or use a filter hook
$this->icon property:Step 5: Save Settings
Finalize your configuration:Review All Settings
Scroll through the page and verify:
- ✅ Payment method is enabled
- ✅ Title and descriptions are set
- ✅ QR code is uploaded and previews correctly
- ✅ Optional settings configured (if needed)
Step 6: Test the Payment Flow
Before accepting real payments, test the complete flow:Create a Test Order
- Visit your store’s frontend
- Add a product to cart
- Proceed to checkout
- Fill in billing details (use test data)
Select Paga con ZIGI
At the payment methods section:
- You should see “Paga con ZIGI” as an option
- The description you configured appears below it
- Select the radio button to choose this payment method
Place Order and View Popup
Click “Place order” buttonA popup modal should appear displaying:
- Your uploaded QR code
- Total amount to pay
- Your phone number (if configured)
- Payment instructions
Simulate Payment
For testing purposes:
- Take a screenshot of any payment (or use a sample image)
- Click “Continuar” (Continue) in the popup
- Upload the test image via drag-and-drop or file selector
- Click “Completar Compra” (Complete Purchase)
The AJAX upload handler validates that only image files (JPG, PNG, GIF) are accepted
Verify Order Creation
After completing the test:
- You should be redirected to the order received page
- Order status should be “On hold” (awaiting payment verification)
- Check WooCommerce → Orders to see the new order
Understanding the Payment Flow
Here’s what happens behind the scenes:Frontend Process
Backend Processing
Managing Orders
After customers place orders, here’s how to manage them:View Pending Orders
Navigate to WooCommerce → OrdersFilter by status: “On hold”These are orders awaiting payment verification
Verify Payment Receipt
Open an order and check the “Comprobante de Pago QR” meta boxVerify the payment receipt shows:
- Correct amount
- Valid ZIGI transaction
- Timestamp matches order date
Automated Status Updates
This plugin does not automatically verify payments. Manual verification is required to ensure payment authenticity before fulfillment.
Common Configuration Examples
Troubleshooting
QR code doesn't display in popup
QR code doesn't display in popup
Possible causes:
- QR image not uploaded correctly
- JavaScript not loading
- Theme conflict
- Re-upload QR code and save settings
- Check browser console for JavaScript errors
- Test with a default WordPress theme
- Clear browser and server cache
Receipt upload fails
Receipt upload fails
Error: “error: Tipo de archivo inválido”Solution:Only JPG, JPEG, PNG, and GIF formats are accepted:Convert other formats before uploading.
Payment method not showing at checkout
Payment method not showing at checkout
Check these items:
- ✅ Plugin activated
- ✅ Payment method enabled in settings
- ✅ Cart total within configured limits
- ✅ WooCommerce properly configured
Receipt not visible in order admin
Receipt not visible in order admin
Verify:
- Order meta exists:
- File uploaded successfully to
/wp-content/uploads/zigi-payment-qrcode/ - Meta box registered for HPOS compatibility
Next Steps
Configuration Guide
Explore advanced configuration options
Customization
Learn how to customize appearance and behavior
Hooks & Filters
Developer documentation for hooks and filters
Troubleshooting
Detailed solutions for common issues
Support Resources
Need help? Here are your support options:- Email: [email protected]
- Website: https://neopunto.com
- Complete Guide: ZIGI Payment Setup Guide