Overview
The Paga con ZIGI plugin allows you to set payment limits to control transaction amounts. This is useful for:- Complying with ZIGI daily transaction limits
- Managing risk for high-value orders
- Directing large purchases to alternative payment methods
- Enforcing business rules for QR payments
Limit Configuration
Accessing Limit Settings
Payment limits are configured in the plugin settings at WooCommerce → Settings → Payments → Paga con ZIGI.Limit Amount Field
The maximum payment amount allowed for ZIGI transactions.Field Properties:
- Title: “Monto Límite”
- Type:
text - Default: (empty - no limit)
- Description: “En este campo puedes ingresar el monto límite de pago”
How to Set Limits
Enter numeric values only:500- Sets limit to 500 in your store’s currency1000.50- Sets limit to 1000.50- Leave empty - No limit applied
The limit is compared against the cart total. Currency symbols are not needed - just enter the numeric amount.
Limit Message Field
Custom message displayed to customers when their order exceeds the payment limit.Field Properties:
- Title: “Mensaje de Monto Límite”
- Type:
text - Default: “Este método no permite pagos mayores a 500 por día.”
- Description: “Agrega el mensaje para informar sobre el límite del monto a pagar.”
Effective Limit Messages
Your message should:- Clearly state the limit
- Explain why the limit exists
- Suggest alternative payment methods if appropriate
- Use friendly, helpful language
Daily Limit Message
Daily Limit Message
Transaction Limit Message
Transaction Limit Message
Regulatory Limit Message
Regulatory Limit Message
Limit Validation
The payment limit is validated on the frontend in the payment popup (functions.php:30):data-price-limit attribute on the popup container, which is then checked by JavaScript before allowing the payment to proceed.
How Validation Works
- Popup Opens: Customer clicks to pay with ZIGI
- Limit Check: JavaScript compares cart total with
data-price-limit - Display Result:
- Within Limit: Shows QR code and upload interface
- Exceeds Limit: Shows limit message instead
Limit Message Display
The message is displayed in the popup when configured (functions.php:40-42):Configuration Examples
Example 1: Daily ZIGI Limit (Q500)
Use Case: ZIGI Guatemala limits individual transactions to Q500 per day. Configuration:- Monto Límite:
500 - Mensaje de Monto Límite:
Este método no permite pagos mayores a Q500 por día. Por favor, selecciona otro método de pago.
Example 2: Store Policy Limit (Q1,000)
Use Case: Your store only accepts ZIGI for smaller purchases. Configuration:- Monto Límite:
1000 - Mensaje de Monto Límite:
Paga con ZIGI está disponible para compras de hasta Q1,000. Para órdenes mayores, usa transferencia bancaria o tarjeta de crédito.
Example 3: No Limit
Use Case: Accept ZIGI payments for any amount. Configuration:- Monto Límite: (leave empty)
- Mensaje de Monto Límite: (not displayed, but can be left as default)
Even with no limit set, you may want to keep a default message configured in case you need to activate limits quickly in the future.
Currency Considerations
The plugin works with your WooCommerce store currency settings. The limit amount should be entered in your store’s base currency. Example:- Store Currency: GTQ (Guatemalan Quetzal)
- Limit Amount:
500= Q500 - Cart Total: Q450 ✅ (allowed)
- Cart Total: Q600 ❌ (exceeds limit)
Testing Limits
Popup Cart Total Display
The current cart total is always displayed in the payment popup (functions.php:39):Best Practices
Set Realistic Limits
Set Realistic Limits
Research ZIGI’s actual transaction limits for Guatemala and set your limits accordingly. As of the plugin version, Q500 per day is mentioned as a common limit.
Clear Communication
Clear Communication
Your limit message should:
- State the specific limit amount
- Mention if it’s daily, per transaction, or another period
- Suggest alternative payment methods
- Use the store’s currency symbol
Regular Updates
Regular Updates
If ZIGI changes their limits or policies:
- Update your limit amount immediately
- Revise your message to reflect changes
- Notify customers if significant changes occur
Consider Shipping
Consider Shipping
Remember that the limit applies to the cart total, which includes:
- Product prices
- Taxes
- Shipping costs
- Any other fees
Troubleshooting
Limit Not Working
Problem: Orders above the limit still show the QR code. Solutions:- Verify the limit is saved in settings
- Clear browser cache and refresh checkout page
- Check that JavaScript is not blocked
- Look for JavaScript errors in browser console
Message Not Displaying
Problem: The limit message doesn’t appear when limit is exceeded. Solutions:- Ensure the message field is not empty
- Save settings after entering the message
- Verify the limit is actually being exceeded
- Check the popup HTML source for the message element
Wrong Currency Display
Problem: Limit message shows wrong currency. Solutions:- Update the message text to match your store currency
- Verify WooCommerce currency settings are correct
- Manually type the correct currency symbol in the message
Advanced: Programmatic Limit Control
Developers can filter the limit amount programmatically:Related Documentation
- Plugin Settings - Configure all plugin options
- QR Setup - Upload and manage the QR code
- Quickstart Guide - Initial setup instructions