Beschreibung
Debi Payment for WooCommerce is the official payment gateway integration for Debi.pro, allowing your WooCommerce store to accept credit and debit card payments with flexible installment plans.
Key Features
- Simple configuration – Set up in minutes
- Flexible installment plans – Up to 12 installments
- Customizable interest rates – Configure interest for each installment plan
- Automatic debit – Schedule recurring payments
- Sandbox mode – Test before going live
- Secure payments – PCI-compliant payment processing
- Full WooCommerce integration – Works seamlessly with your existing WooCommerce store
- Translation ready – Full internationalization support
How It Works
- Install and activate the plugin
- Configure your Debi API keys (a single secret + publishable pair; the environment is inferred from the key prefix)
- Set up your desired installment plans with interest rates
- Customers can now select from your configured payment plans during checkout
Requirements
- WordPress 6.5 or higher
- PHP 8.1 or higher
- WooCommerce 3.0 or higher
External Services
This plugin connects to the Debi payment platform (https://debi.pro) to process payments.
- Payment API — checkout and webhook data is sent to https://api.debi.pro (production) or https://api.debi-test.pro (sandbox). Data transmitted includes customer name, email address, national identification number (when provided), and a single-use payment-method token generated by the browser-side SDK. Raw card numbers are never transmitted to or stored on your server.
- Card tokenisation SDK — the JavaScript library at https://js.debi.pro/v1/ is loaded on the checkout page. It captures card data directly in the browser and returns a one-time token; raw card numbers are never exposed to your site.
These services are provided by DEBI. Please review their terms and privacy policy before using this plugin:
- Terms of service: https://debi.pro/en/terms
- Privacy policy: https://debi.pro/en/privacy
Support
For support, please visit:
https://debi.pro/docs
Credits
Developed by Fernando del Peral for Debi.pro
Privacy Policy
This plugin transmits customer data (name, email, order details, and a browser-generated payment-method token) to Debi’s payment infrastructure to complete transactions. Raw card numbers are never stored on your server or sent through WordPress — they are captured directly by the Debi browser SDK and exchanged for a single-use token.
No payment or card data is stored in your WordPress database. For full details on how Debi handles this data, refer to the Debi privacy policy at https://debi.pro/en/privacy.
Development
Contributing
We welcome contributions! Please ensure all code follows WordPress coding standards.
Testing
Before submitting changes, please ensure:
* All code follows WordPress coding standards
* PHP compatibility is maintained
* WooCommerce compatibility is maintained
* Security best practices are followed
* All text is translatable
Installation
Automatic Installation
- Log in to your WordPress admin panel
- Navigate to Plugins Add New
- Search for „Debi Payment for WooCommerce“
- Click „Install Now“
- Activate the plugin
- Configure the plugin at WooCommerce Settings Payments Debi
Manual Installation
- Download the plugin zip file
- Extract it to your WordPress plugins directory (wp-content/plugins/)
- Log in to your WordPress admin panel
- Navigate to Plugins
- Find „Debi Payment for WooCommerce“ and click „Activate“
- Configure the plugin at WooCommerce Settings Payments Debi
Configuration
- Go to WooCommerce Settings Payments
- Find „Debi“ and click „Manage“
- Enable the payment method
- Enter your Debi API keys (a single pair):
- Secret key (sk_test_… for sandbox, sk_live_… for production)
- Publishable key (pk_test_… / pk_live_…)
The environment is inferred from the prefix — there is no separate „sandbox mode“ switch.
Both keys must belong to the same environment.
- Use the „Test connection“ button to confirm the secret key is valid and see whether it is TEST or PRODUCTION
- Configure installment plans and interest rates (0-12 installments)
- Save changes
Getting Your API Keys
Production:
1. Sign up at https://debi.pro/register for production
2. Navigate to the Developer section https://debi.pro/dashboard/developers
3. Copy your secret key (sk_live_…) and publishable key (pk_live_…) and paste them in the plugin settings
4. Save changes
Sandbox:
1. Sign up at https://debi-test.pro/register for sandbox
2. Navigate to the Developer section https://debi-test.pro/dashboard/developers
3. Copy your secret key (sk_test_…) and publishable key (pk_test_…) and paste them in the plugin settings
4. Save changes
FAQ
-
Do I need a Debi account to use this plugin?
-
Yes, you need to create an account at https://debi.pro and obtain your API credentials.
-
What payment methods are supported?
-
The plugin supports credit and debit cards. Payment processing is handled securely by Debi’s infrastructure.
-
Can I customize the installment plans?
-
Yes, you can configure up to 12 different installment plans with custom interest rates for each.
-
Is this plugin PCI-compliant?
-
Yes, the plugin integrates with Debi’s PCI-compliant payment infrastructure, so you don’t need to handle card data directly.
-
Does this plugin support refunds?
-
Refunds should be handled through your Debi dashboard or by contacting Debi support directly.
-
Can I test before going live?
-
Yes. Use sandbox keys (sk_test_… / pk_test_…) to test, then switch to live keys (sk_live_… / pk_live_…) to go live. The environment is inferred from the key prefix.
-
Can I translate the plugin to my language?
-
Yes! The plugin is fully translatable. Translation files can be created using the .pot template in the languages folder.
Rezensionen
Mitwirkende und Entwickler
„Debi Payment for WooCommerce“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:
MitwirkendeÜbersetze „Debi Payment for WooCommerce“ in deine Sprache.
Interessiert an der Entwicklung?
Durchstöbere den Code, sieh dir das SVN-Repository an oder abonniere das Entwicklungsprotokoll per RSS.
Änderungsprotokoll
1.5.0
- Subscriptions mirror now records the originating hosted link id (
link_id), so a subscription created from a payment link can be traced back to it; surfaced as a new (hidden-by-default) „Link“ column on the Debi Subscriptions admin screen
1.4.0
- Subscriptions: embedded recurring subscriptions backed by a local mirror table, plus a new „Debi Subscriptions“ admin screen to view, reconcile and cancel them (full detail: schedule, payment method, customer and Debi timestamps)
- Mandate: embedded $0 adhesion flow that captures a payment method for future debits, with a clear „authorization only — no charge“ presentation at checkout
- Per-product Debi settings: default session type (payment / subscription / installment / mandate), checkout mode (embedded / redirect) and amount mode (fixed / customer-defined)
- Customer-defined amount: buyers can set the amount at checkout (donations, free-amount subscriptions), with installment plans recalculated live as the amount changes on the Blocks checkout
- One-off payments now use Debi’s native payment (
payments.create) instead of a single-charge subscription; installment plans remain a scheduled subscription (count = N) - Redirect-mode hosted checkout for payment and installment products
- Uniform Debi metadata (product_id + order_id) on every checkout flow, so each payment/subscription maps back to its store product — the primary key for recurring charges, which have no pre-existing order
- Webhook endpoint now also subscribes to
payment.approvedand the full subscription lifecycle (created,updated,paused,automatically_paused,resumed,incomplete,incomplete_expired,cancelled,finished), so any membership status change in Debi — including a pause on failed charges — updates access without waiting for a reconcile - WP-CLI:
wp debipro reconcile-subscriptionsrefreshes the local subscription mirror from live Debi - WP-CLI:
wp debipro setup-webhooks [--all-sites]creates/updates the Debi webhook endpoint(s) and syncs their subscribed events (scriptable, multisite-friendly) - Payment projection: action to reverse a previously recorded external settlement
- Full Spanish (es_ES) translation, loaded for every Spanish locale (es_AR, es_MX, …)
- Fixed: correct card network and last-four display on subscriptions; clearer installment selector sizing
1.3.0
- Added
debipro_webhook_receivedaction: a generic forward of every signature-verified webhook event (raw event object, raw payload, and extracted ids / result) so integrations can react to the specific event instead of re-deriving it from the projected order state
1.2.0
- Payment projection on orders: amount paid / overdue / remaining and Debi payment status meta, recomputed from Debi payment webhooks
- Webhooks now subscribe to payment.created, payment.updated, payment.retrying, payment.cancelled (subscription.* no longer required)
- Inbound Debi payments without a checkout order create WooCommerce orders (virtual „Debi Payment“ product)
- Admin: show projection on the order screen; action to record full external settlement
- WP-CLI:
wp debipro reconcile-ordersrebuilds projections from live Debi data
1.1.3
- Softened payment-method attach: if Debi rejects attach (e.g. the card is already linked to another customer), checkout continues and creates the subscription with the payment method id directly
- Declared compatibility with WordPress 7.1 („Tested up to“)
1.1.2
- Fixed: create a fresh Debi customer per order (never reuse a cached customer id across orders or sites)
- Clarified the gateway enable label („Enable Debi Payments“)
1.1.1
- Fixed: choosing the highest number of installments offered for a product no longer rejects the order at checkout
- Updated the bundled Debi PHP SDK
1.1.0
- All user-facing text converted to translatable strings
- Updated all code comments to English
- Full internationalization support added
- Security improvements with proper sanitization
- Improved error handling
- Added support for WooCommerce 8.0
- Code quality improvements
1.0.0
- Initial release
- Basic payment gateway functionality
- Installment plan configuration
- Sandbox mode support