Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/abr4xas/rebill-for-woocommerce/archive/refs/heads/master.zipAccept credit and debit card payments in your WooCommerce store using Rebill's secure hosted checkout. No PCI compliance required! 🚀
🎯 Overview
This plugin seamlessly integrates Rebill's payment gateway with WooCommerce, providing a secure and hassle-free payment experience. Customers are redirected to Rebill's hosted checkout page to complete their payments, eliminating the need for PCI DSS compliance on your end.
✨ Key Features
- 🔒 Secure Hosted Checkout - No PCI compliance certification required
- ⚡ Quick Setup - Just add your Rebill API key and you're ready to go
- ✅ Reliable Payment Confirmation - Server-to-server webhooks (
payment.created/payment.updated) re-validated against the Rebill API, not the browser redirect - 💳 Installments (cuotas) - Offer installment plans, configurable per store (default
1,3,6,12) or disable for single payments - 💸 Full & Partial Refunds - Process refunds directly from WooCommerce admin
- 🧱 WooCommerce Blocks Compatible - Works with both classic and block-based checkout
- 🌍 Multi-Region Support - Accept payments from Argentina, Brazil, Colombia, Mexico, Chile, and more
- 📱 Mobile Optimized - Responsive checkout experience on all devices
📋 Requirements
- WordPress 6.5 or higher
- WooCommerce 8.0 or higher
- PHP 8.1 or higher
- A Rebill account with API credentials
🚀 Installation
Via WordPress Admin
- Download the plugin ZIP file
- Go to Plugins → Add New → Upload Plugin
- Choose the downloaded ZIP file and click Install Now
- Click Activate Plugin
Manual Installation
- Upload the
rebill-for-woocommercefolder to/wp-content/plugins/ - Activate the plugin through the Plugins menu in WordPress
- Go to WooCommerce → Settings → Payments → Rebill
⚙️ Configuration
- Navigate to WooCommerce → Settings → Payments
- Click on Rebill to access the payment gateway settings
- Enable the gateway by checking Enable Rebill Payment
- Enter your Secret Key (obtained from your Rebill Dashboard)
- Configure the payment method title and description (optional)
- (Optional) Configure Installments — enable/disable and set the offered counts (default
1,3,6,12) - Click Save changes
Webhook Setup (Required)
Payment confirmation relies on webhooks, so this step is required for reliable order status updates:
- Copy the Webhook URL shown in the Rebill settings page (it contains an unguessable security token — keep it private)
- Go to your Rebill Dashboard
- Navigate to the Webhooks section
- Add a new webhook with the copied URL
- Subscribe to the
payment.createdandpayment.updatedevents
The plugin re-validates every webhook against the Rebill API (
GET /v3/payments/{id}) before updating an order, so the browser redirect is never trusted as the source of truth.
🔄 How It Works
sequenceDiagram
Customer->>WooCommerce: Select Rebill at checkout
WooCommerce->>Rebill API: Create Payment Link
Rebill API-->>WooCommerce: Return checkout URL
WooCommerce->>Customer: Redirect to Rebill
Customer->>Rebill: Complete payment
Rebill-->>Customer: Redirect back to store
Rebill->>WooCommerce: Send webhook notification
WooCommerce->>Customer: Show order confirmation
📖 Usage
For Customers
- Add products to cart
- Proceed to checkout
- Select "Rebill" as the payment method
- Click "Place Order"
- Complete payment on Rebill's secure page
- Automatically return to your store
For Store Owners
Processing Refunds
- Go to WooCommerce → Orders
- Open the order you want to refund
- Click Refund
- Enter the refund amount (full or partial)
- Click Refund via Rebill
Note: Refunds require the payment to have been confirmed via webhook (the plugin stores the real
pay_...id from it). Card payments only — other methods must be refunded from the Rebill dashboard.
🛠️ Development
Project Structure
rebill-for-woocommerce/
├── assets/
│ ├── css/
│ │ └── rebill-checkout.css
│ └── img/
│ └── rebill-logo.svg
├── includes/
│ ├── blocks/
│ │ └── class-wc-gateway-rebill-blocks-support.php
│ ├── class-rebill-api.php
│ └── class-wc-gateway-rebill.php
├── languages/
├── rebill-woocommerce.php
├── uninstall.php
├── README.md
└── readme.txt
Running Plugin Check
wp plugin check rebill-for-woocommerce --include-experimental
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📝 Changelog
1.1.0
- 💳 Installments (cuotas) — enable/disable and configure the offered installment counts (default
1,3,6,12) from the gateway settings - 🐞 Fixed amount format — amounts are now sent in the currency's major unit (decimal) as required by the Rebill API; previous versions multiplied by 100, which could overcharge customers 100×
- 🔐 Real webhook handler —
payment.created/payment.updatedwith an unguessable URL secret, deduplication bylogId, and authoritative confirmation viaGET /v3/payments/{id} - 🛡️ Redirect is now UX only — orders are marked paid exclusively from the verified webhook, closing a spoofing hole where the return URL status could be forged
- 💸 Partial refunds — refunds now use the real payment id (
pay_...) and support partial amounts - 📝 Settings now reference the correct webhook events (the old
payment-change-statusno longer exists) - ⬆️ Tested up to WooCommerce 10.8 / WordPress 6.9
1.0.0 - 2025-02-21
- ✨ Initial release
- ✅ Hosted checkout implementation using Rebill Payment Links
- ✅ Support for credit and debit cards
- ✅ Full refund functionality
- ✅ WooCommerce Blocks compatibility
- ✅ WordPress.org compliance (text domain, translators comments, security fixes)
❓ FAQ
Do I need PCI compliance?
No! Because customers enter their payment details on Rebill's secure hosted page, you don't need PCI DSS compliance certification. Rebill handles all sensitive payment data.
Which countries are supported?
Rebill supports payments in multiple Latin American countries including:
- 🇦🇷 Argentina
- 🇧🇷 Brazil
- 🇨🇴 Colombia
- 🇲🇽 Mexico
- 🇨🇱 Chile
- And more...
Check Rebill's website for the complete list of supported regions.
Can I process refunds?
Yes! You can process both full and partial refunds directly from the WooCommerce order page. The refund is processed through Rebill's API automatically. Refunds require the payment to have been confirmed via webhook, and apply to card payments only (other methods must be refunded from the Rebill dashboard).
Can customers pay in installments (cuotas)?
Yes. Enable installments in the gateway settings and choose which counts to offer (default 1,3,6,12), or disable the option to force a single full payment. Actual availability still depends on the customer's card and issuing bank.
Is it compatible with WooCommerce Blocks?
Yes! The plugin works seamlessly with both the classic WooCommerce checkout and the new block-based checkout (Cart & Checkout Blocks).
Where can I get support?
- 📧 Report issues on GitHub Issues
- 📖 Check Rebill Documentation
- 💬 Contact Rebill Support
📄 License
This plugin is licensed under the GPLv2 or later.
Copyright (C) 2026 Angel Cruz
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
👨💻 Author
Angel Cruz - @abr4xas
- Website: angelcruz.dev
- GitHub: @abr4xas
🙏 Acknowledgments
- Rebill for providing the payment gateway API
- The WordPress and WooCommerce communities
- All contributors who help improve this plugin
Made with ❤️ by Angel Cruz
Releases
1 release.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.