Skip to content

Payment Gateways

The plugin provides multiple payment gateways that can be individually enabled in WooCommerce → Settings → Payments.

Payment gateways at checkout

GatewayIDDescription
ThePaythepayMain gateway — displays all enabled payment methods on a single ThePay payment page
ThePay – Cardthepay-cardDirect card payments (supports preauthorization)
ThePay – Apple Paythepay-applepayApple Pay payments (supports preauthorization)
ThePay – Google Paythepay-googlepayGoogle Pay payments (supports preauthorization)
ThePay – Bitcointhepay-bitcoinBitcoin payments
ThePay – Pay in 30 daysthepay-platimpakBuy now, pay later (PlatimPak)

Each gateway has the following common settings:

FieldDescription
Enable/DisableEnable or disable this payment method
TitleName displayed to customers during checkout
DescriptionDescription shown below the payment method name
Successful payment statusWooCommerce order status after successful payment (default: Processing)
Display logoShow the payment method logo in checkout

The main ThePay gateway has an additional setting:

FieldDescription
Enabled Payment methodsSelect which payment methods to display on the ThePay payment page (bank transfers, card payments, etc.)

When using the main gateway, customers are redirected to a ThePay payment page where they choose from the enabled payment methods. Available methods include card payments, bank transfers (Platba 24, mBank, Fio, ČSOB, EQUA bank, MONETA, Poštovní spořitelna, E-platby, etc.), Bitcoin and more — depending on your ThePay merchant account configuration.

ThePay payment page

Card, Apple Pay, and Google Pay gateways support preauthorization — the payment amount is blocked on the customer’s card but not charged immediately. This is useful for orders that need to be verified before final charge.

FieldDescription
Enable preauthorizationEnable the hold & capture flow
Authorized payment statusOrder status when payment is preauthorized (default: On hold)
Capture preauthorization on statusesOrder statuses that trigger the final charge (default: Completed)
Cancel preauthorization on statusesOrder statuses that cancel the held amount (default: Cancelled, Refunded, Failed)
  1. Customer places an order and pays with a card
  2. The amount is blocked on the customer’s card (not charged)
  3. The order receives the Authorized payment status (e.g., On hold)
  4. When the order status changes to one of the Capture statuses (e.g., Completed), the amount is charged
  5. If the order status changes to one of the Cancel statuses (e.g., Cancelled), the held amount is released

The plugin supports full refunds through WooCommerce:

  1. Open the order in WooCommerce → Orders
  2. Click Refund
  3. Enter the refund amount
  4. Click Refund via ThePay

The refund is processed through the ThePay API and the customer receives the refunded amount back to their original payment method.

Payment confirmation

Transactions overview