Zamp for WooCommerce: Advanced Topics
Advanced Topics - Zamp for WooCommerce
Order Management
Learn how to manage orders, refunds, and transactions with Zamp Tax integration.
Manual Tax Calculations
When you need to manually calculate taxes:
- Edit an order in WooCommerce admin
- Click the "Recalculate Taxes" button
- Zamp will automatically fetch a sales tax calculation based on the order's properties
- Review calculated tax amount before saving
Refund Processing
Refunds are automatically processed through Zamp when issued in WooCommerce:
- Open the order you want to refund
- Click the "Refund" button
- Enter refund amounts
- Submit refund
Important: Refunds will only process in Zamp if the original transaction was successfully synced.
Order Status Integration
Zamp Tax integrates with the following WooCommerce order statuses:
- Processing - Initial tax calculation and transaction sync
- Completed - Final transaction sync to Zamp
- Refunded - Triggers refund sync to Zamp
Transaction Status Tracking
Monitor transaction sync status in the order details:
- View order in WooCommerce admin
- Look for "Zamp Transaction Status" meta box
- Status will show:
- "Success" - Transaction synced successfully
- "Failed" - Transaction failed to sync
- "Pending" - Transaction waiting to sync
- Use "Resend" button to retry failed transactions
Performance & Optimization
Optimize your store's performance while using Zamp Tax.
Cache Management
Zamp Tax implements smart caching:
- Tax calculations are cached for 3 seconds
- Cache invalidates when:
- Cart contents change
- Shipping address updates
- Applied discounts change
- No manual cache management required
Batch Processing
For historical transaction syncs, Zamp uses batch processing to ensure reliability:
- Transactions are processed in small batches
- Default batch size: 2 transactions
- 5-second interval between batches
- Progress tracking for each batch
- Automatic retry for failed transactions
Server Requirements
Minimum Requirements:
- PHP 7.4 or higher
- WordPress 5.0 or higher
- WooCommerce 7.0 or higher
- HTTPS enabled
- Valid SSL certificate
- PHP cURL extension
- PHP JSON extension
Best Practices
Follow these recommendations for optimal performance:
- Enable debug logging only when troubleshooting
- Schedule large historical syncs during off-peak hours
- Maintain valid API token credentials
- Keep plugin updated to latest version
- Configure nexus states accurately
- Assign correct tax codes to products
- Test tax calculations after major store changes