Disable all payment gateways on checkout page
If your site takes orders but no payment is necessary then all of the payment gateways can be disabled with this one line of code.
If your site takes orders but no payment is necessary then all of the payment gateways can be disabled with this one line of code.
Payment gateways such as PayPal and Stripe charge a small amount for processing a transaction. This code adds a credit card surcharge as a percentage of the cart total to cover that amount. Examples are shown for PayPal and Stripe, adding 3% for each.