Skip to content

WooCommerce CARTU Credit Card Payment Gateway

Documentation for the Plug and Pay WooCommerce CARTU Credit Card Payment Gateway plugin.

Requirements

Technical Requirements

  • PHP: 7.4, 8.1, 8.2, or 8.3
  • ionCube Loader: Required. For version requirements and installation details, check the IonCube Loader documentation.
  • WooCommerce: 3.0.0 or higher

Store Setup Prerequisites

  • CARTU Merchant Account: Merchant ID and PEM certificate path from CARTU.

Technical Specification & Feature Support

FeatureSupported
Blocks SupportNo
HPOSYes
Background PollingNo
Callback (Async)Yes
Redirect SyncNo
Saved CardsNo
Add Cards from My AccountNo
SubscriptionsNo
Manual AuthorizationNo
RefundsNo
Multi-CurrencyNo
Apple PayNo
Google PayNo
Test ModeNo

Technical Details

Callback (Async Notification)

CARTU sends server-to-server payment notifications to the callback URL generated by the plugin. The plugin validates each notification and updates the WooCommerce order.

Redirect Sync

The customer return route reads the status previously recorded by the callback; it does not request the current payment status from CARTU. If confirmation is still pending, the plugin displays the configured wait-for-confirmation message.

Debug Logging

When Debug log is enabled, entries are written to WooCommerce logs using the cartu_credit_card_gateway source.


Configuration

Go to WooCommerce > Settings > Payments > CARTU and configure:

  • Enable CARTU
  • Title, Description, and Order button text
  • Wait for confirmation text shown after the customer returns from CARTU
  • Debug log
  • Merchant id
  • .PEM full server path

The gateway displays the callback URL in its settings screen. Add that URL to the CARTU merchant configuration when the bank requires a callback address.