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
| Feature | Supported |
|---|---|
| Blocks Support | No |
| HPOS | Yes |
| Background Polling | No |
| Callback (Async) | Yes |
| Redirect Sync | No |
| Saved Cards | No |
| Add Cards from My Account | No |
| Subscriptions | No |
| Manual Authorization | No |
| Refunds | No |
| Multi-Currency | No |
| Apple Pay | No |
| Google Pay | No |
| Test Mode | No |
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.