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:

  1. Open the order you want to refund
  2. Click the "Refund" button
  3. Enter refund amounts
  4. 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:

  1. View order in WooCommerce admin
  2. Look for "Zamp Transaction Status" meta box
  3. Status will show:
    • "Success" - Transaction synced successfully
    • "Failed" - Transaction failed to sync
    • "Pending" - Transaction waiting to sync
  4. 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:

  1. Enable debug logging only when troubleshooting
  2. Schedule large historical syncs during off-peak hours
  3. Maintain valid API token credentials
  4. Keep plugin updated to latest version
  5. Configure nexus states accurately
  6. Assign correct tax codes to products
  7. Test tax calculations after major store changes