Integration Points
Order Processing Integration
The Zamp Tax extension integrates with Adobe Commerce's order processing at multiple points:
Order Creation
Real-time tax calculation during checkout via observer
sales_model_service_quote_submit_beforeTax information saved with order:
Customer tax exempt codes
Product-specific tax codes
Shipping tax handling
Invoice Generation
Integration with invoice creation and management:
Automatic transaction syncing on invoice creation through:
Observer: ATF\Zamp\Observer\SendTransactionToZamp Event: sales_order_invoice_save_after
Invoice display customization:
Custom PDF generation with proper tax labels
Zamp transaction ID display in admin
Re-sync capabilities for failed transactions
Credit Memo Handling
Full integration with credit memo processing:
Automatic refund transaction reporting:
Observer: ATF\Zamp\Observer\SendRefundToZamp Event: sales_order_creditmemo_save_after
Credit memo customizations:
Custom PDF generation with Zamp tax information
Admin interface showing Zamp transaction details
Re-sync capability for failed refund transactions
Tax Display Integration
Comprehensive tax display integration throughout the platform:
Shopping Cart
Real-time tax calculations
Custom tax labels via:
Plugin: ATF\Zamp\Plugin\Checkout\LayoutProcessorPlugin Layout: sales_email_order_items.xml
Checkout
Dynamic tax calculation based on:
Shipping address
Product tax codes
Customer tax exemption status
Custom tax display in checkout totals
Order View
Customer account order history
Admin order view
Email templates
PDF documents
Template Customizations
Frontend Templates: - order/tax.phtml - order/tax/label.phtmlAdmin Templates: - order/totals/tax.phtml - order/invoice/view/details.phtml - order/creditmemo/view/details.phtml
Note: All display customizations respect Adobe Commerce's tax display configurations while adding Zamp-specific information where appropriate.