Define | Filter Out Shipping, VAT, and Subtotal Info
Warning
Description
Looking to keep things simple and streamlined? Our snippet helps you do just that. It ensures that when orders are sent to your payment firm, they only include the total amount — no extra details like shipping costs, VAT, or subtotals.
PHP
1
define('ag_strip_psp_order_totals', TRUE);For a hassle-free experience, we suggest using a third-party plugin like Code Snippets to add this code. It’s a smoother alternative to diving into your theme’s function.php file.
Was this helpful?