A plugin that connects WooCommerce to a payment processor such as Stripe, PayPal, or Square. During checkout, WooCommerce passes order details to the gateway plugin, which sends them to the payment provider and returns a success or failure response. If the gateway plugin throws a PHP error mid-transaction, WooCommerce may show a confirmation page while the order record is never written to the database.
