Plugins & Extensions#
Lesaka Online provides various plugins, extensions, and integration tools to help developers and merchants integrate payment processing into their applications and websites quickly and efficiently.
Available Plugins#
E-Commerce Plugins#
Pre-built plugins for popular shopping cart platforms:
- WooCommerce (WordPress)
- Magento 2.x
- PrestaShop
- OpenCart
- Shopify
View Shopping Cart Integrations →
Content Management Systems#
Integration modules for popular CMS platforms:
WordPress#
Beyond WooCommerce, integrate payments into any WordPress site using our WordPress plugin.
Use Cases:
- Donation pages
- Membership sites
- Event registrations
- Service bookings
Drupal#
Payment module for Drupal Commerce and custom Drupal applications.
Joomla#
VirtueMart and HikaShop extensions for Joomla-based stores.
Development Libraries#
PHP Library#
Official PHP SDK for integrating Lesaka Online Enterprise API.
// Example usage
require_once 'vendor/autoload.php';
use AdumoOnline\PaymentGateway;
$gateway = new PaymentGateway([
'merchant_id' => 'your_merchant_id',
'merchant_key' => 'your_merchant_key',
'test_mode' => true
]);
$response = $gateway->processPayment([
'amount' => 100.00,
'currency' => 'ZAR',
'card_number' => '4111111111111111',
// ... additional parameters
]);
JavaScript/Node.js#
Client-side and server-side JavaScript libraries for web and Node.js applications.
Features:
- Form validation helpers
- Card type detection
- Secure tokenization
- Payment form widgets
Python Library#
Python SDK for server-side integration.
.NET Library#
C# library for .NET Framework and .NET Core applications.
API Integration Tools#
Postman Collection#
Pre-configured Postman collection with all Lesaka Online API endpoints, making it easy to test and explore the API.
Includes:
- Authentication examples
- Payment transaction endpoints
- Refund and void operations
- Query and reporting endpoints
- Webhook configuration
Swagger/OpenAPI Specification#
Complete OpenAPI specification for the Lesaka Online API, enabling:
- Automatic client generation
- API documentation
- Testing tools integration
Contact our technical team to obtain the latest OpenAPI specification for your integration.
Payment Form Builders#
Hosted Payment Form#
Use our hosted payment form with minimal integration effort:
<form action="https://secure.adumoonline.com/payment" method="POST">
<input type="hidden" name="merchant_id" value="YOUR_MERCHANT_ID">
<input type="hidden" name="amount" value="100.00">
<input type="hidden" name="currency" value="ZAR">
<input type="hidden" name="return_url" value="https://yoursite.com/success">
<button type="submit">Pay Now</button>
</form>
Embedded Payment Widget#
JavaScript widget that can be embedded directly on your page for a seamless payment experience.
AdumoPayment.init({
merchantId: 'YOUR_MERCHANT_ID',
amount: 100.00,
currency: 'ZAR',
container: '#payment-container',
onSuccess: function(response) {
// Handle successful payment
},
onError: function(error) {
// Handle error
}
});
Mobile SDKs#
iOS SDK#
Native iOS library for integrating payments into iPhone and iPad apps.
Features:
- Swift and Objective-C support
- Apple Pay integration
- 3D Secure support
- Tokenization for recurring payments
Android SDK#
Native Android library for mobile payment integration.
Features:
- Kotlin and Java support
- Google Pay integration
- Material Design components
- Secure transaction handling
WebHooks & Notifications#
Webhook Plugins#
Pre-built webhook handlers for common frameworks:
- Express.js middleware
- Laravel event listeners
- Django signal handlers
- ASP.NET handlers
Example webhook verification:
use AdumoOnline\WebhookValidator;
$validator = new WebhookValidator('your_merchant_key');
if ($validator->verify($_POST, $_SERVER['HTTP_X_SIGNATURE'])) {
// Process webhook
$transaction = $_POST['transaction'];
// Update order status, etc.
}
Testing Tools#
Sandbox Environment#
Full sandbox environment matching production functionality:
- Test all payment scenarios
- No real money processed
- Same API endpoints with test credentials
- Test Card Numbers
Transaction Simulator#
Simulate various transaction outcomes for testing:
- Approved transactions
- Declined transactions
- 3D Secure challenges
- Network timeouts
- Invalid data responses
Installation & Setup#
General Installation Steps#
- Download the plugin/library for your platform
- Install following platform-specific instructions
- Configure with your merchant credentials
- Test in sandbox mode
- Go Live with production credentials
Getting Credentials#
To obtain your API credentials:
- Register for a merchant account
- Access your merchant dashboard
- Navigate to API settings
- Generate API keys (separate for test and production)
Support & Documentation#
Plugin Documentation#
Each plugin includes:
- Installation guide
- Configuration instructions
- Code examples
- Troubleshooting tips
- Changelog
Technical Support#
Need help with integration?
- Email: support@adumo.com
- Developer Portal: developers.adumoonline.com
- API Reference: View Integration Docs
Contributing#
Some of our plugins are open source. Contributions are welcome:
- Report bugs and issues
- Submit feature requests
- Contribute code improvements
- Improve documentation
Plugin Updates#
We regularly update plugins for:
- Security patches
- New features
- Platform compatibility
- Bug fixes
- Performance improvements
Important: Always test updates in a staging environment before production deployment.
Can’t find what you need? Contact our technical team to discuss custom plugin development or integration assistance.