Description
TAFI Pay lets your customers buy now and pay in installments without a credit card, using a WhatsApp-based confirmation flow operated by TAFI Tech in Panama.
How it works:
- The customer selects “Pay with TAFI” at checkout
- The customer enters a Panamanian mobile phone number
- TAFI sends a credit request to the customer through WhatsApp
- The customer accepts within 2 minutes and the payment is confirmed automatically
- Your store receives a webhook notification and processes the order
Features:
- Native integration with WooCommerce, no extra code required
- Simple setup: only an API Key and Merchant ID are needed
- Sandbox and production environments
- Automatic notifications via webhook
- High-Performance Order Storage (HPOS) compatible
- WooCommerce Checkout Blocks compatible
- Transaction details visible in the order admin panel
- Debug logs integrated with WooCommerce
Requirements:
- WordPress 5.8+
- WooCommerce 6.0+
- PHP 8.0+
- Active TAFI merchant account, available at the TAFI merchant portal
Third-Party Services
This plugin connects to the TAFI API, a service provided by TAFI Tech, to process Buy Now, Pay Later (BNPL) payments.
When a customer selects TAFI as their payment method at checkout, the following data is sent to the TAFI API:
- Merchant ID (idComercio)
- Customer phone number (celular)
- Order total amount (valor)
- Order description (descripcion)
- Branch name (sucursal)
- Salesperson name (vendedor)
- Transaction ID (idTransaccion)
TAFI notifies your store of the payment result via webhook.
Service endpoints:
- Production:
https://api.fintafi.com - Sandbox:
https://api.tafitech.io/dev
Links:
- TAFI website: https://tafi.com.pa
- Privacy policy: https://tafi.com.pa/politica-de-privacidad
Please review TAFI’s privacy policy before using this plugin.
Installation
Automatic installation (recommended):
- In your WordPress dashboard go to Plugins > Add New
- Search for “TAFI Pay”
- Click “Install Now” and then “Activate”
Manual installation:
- Download the plugin ZIP file
- Go to Plugins > Add New > Upload Plugin
- Upload the ZIP and activate the plugin
Configuration:
- Go to WooCommerce > Settings > Payments
- Click on “TAFI” to configure it
- Enter your API Key and Merchant ID (obtained from the TAFI merchant portal)
- Copy the displayed Webhook URL and register it in your TAFI panel
- Choose the environment (Sandbox for testing, Production for live sales)
- Save changes
FAQ
Do I need a TAFI account to use this plugin?
Yes. You need to register as a merchant at the TAFI merchant portal to obtain your API Key and Merchant ID.
Does the plugin work outside Panama?
No. TAFI operates exclusively in Panama. The payment method only appears for customers with a Panamanian billing address (PA).
What order totals does Tafi accept?
From USD 20.00 to USD 1,500.00. Outside that range the payment method is shown disabled at checkout with a note.
How do I configure the webhook?
After activating the plugin, go to WooCommerce > Settings > Payments > TAFI. You will find your webhook URL in this format:
https://your-store.com/wc-api/tafi_webhook/
Copy it and register it in your TAFI panel.
Where can I see transaction logs?
Enable “Debug log” in the plugin settings. Logs are available under WooCommerce > Status > Logs > tafi-pagalo-relax.
Is the plugin HPOS compatible?
Yes. The plugin is fully compatible with High-Performance Order Storage (Custom Order Tables).
Changelog
1.1.8
- Stability improvements.
1.1.7
- Stability and security improvements.
1.1.6
- Tafi is offered for order totals from USD 20.00 to USD 1,500.00. Outside that range the method stays visible at checkout but disabled, with a note showing the applicable limit.
- New
tafi_min_amountandtafi_max_amountfilters for developers.
1.1.5
- Refreshed checkout presentation: sharper SVG logotype and a “Pagar con” label.
- New “Logotipo” setting for checkouts with a dark background.
1.1.4
- Stability improvements.
1.1.3
- Stability improvements.
1.1.2
- New “Cancelar y elegir otro método de pago” button on the confirmation page.
- Sign-up link for customers who are not Tafi users yet.
- Stability improvements.
1.1.1
- Stability improvements in the WordPress editor.
- Tested with WordPress 7.1.
1.1.0
- Redesigned order confirmation page with a status pop-up.
- “Consultar estado en TAFI” button in the order admin screen.
- Improved order reconciliation.
1.0.0
- Initial release.
