Developer Tools

Everything you need to build, test, and deploy integrations with TangentoPay.

Plugins

No-code integrations for popular platforms.

WooCommerce Plugin

Adds TangentoPay as a payment gateway at checkout. Handles transactions, refunds, and webhooks for status updates.

Installation:

  1. 1Download the plugin from Dashboard > Developers > Plugins.
  2. 2Install via your platform's admin panel (e.g., WordPress Plugins > Add New).
  3. 3Configure with your API key and test in sandbox mode.
  4. 4Go live after verification.

WHMCS Plugin

Automates billing for hosting/services; syncs payments and invoices.

Troubleshooting

Check Developers > Logs for errors (e.g., invalid keys). Common issues: Mismatched domains or outdated plugins—update regularly.

Services and SDKs

Create and manage custom services for tailored integrations.

Available Types:

  • Plugins: Extensions for CMS like Shopify (coming soon).
  • SDKs: Code libraries for direct embedding.

JavaScript SDK Example

const tangento = require('tangentopay-sdk');

const client = new tangento.Client({ apiKey: 'your_key' });

client.payments.create({
  amount: 5000,
  currency: 'XAF',
  method: 'momo'
}).then(response => console.log(response));

Best Practices

Use test environments (sandbox) for development. Monitor logs for performance optimization.

Security Considerations

Best practices for safeguarding your TangentoPay integration.

Rate Limiting

Protects APIs and logins (e.g., 3 failed logins trigger 15-min lock; subsequent 2 trigger 8-hour lock). Resets automatically.

Idempotency

Include keys in requests to handle network retries safely without duplicates.

Data Handling

All sensitive info (e.g., PINs, API keys) is encrypted. Comply with local regulations like Cameroon's data protection laws.

Additional Tips

  • Rotate API keys quarterly.
  • Enable all security features during onboarding.
  • Implement retries for transient failures.
  • Use AI monitoring for fraud detection.

Official SDKs

Accelerate your development with our official client libraries. These SDKs handle authentication, request signing, and error handling for you.

Node.js

npm install @tangento/node
View Documentation

Python

pip install tangento-python
View Documentation

PHP

composer require tangento/php
View Documentation

Java

implementation 'com.tangento:java:1.0.0'
View Documentation

Webhooks

Listen for events on your TangentoPay account so your integration can automatically trigger reactions.

payment.success

Triggered when a payment is successfully processed.

payment.failed

Triggered when a payment attempt fails.

payout.completed

Triggered when a payout is successfully sent to the beneficiary.

Webhook Payload Example

{
  "event": "payment.success",
  "data": {
    "id": "pay_123456789",
    "amount": 5000,
    "currency": "XAF",
    "status": "successful",
    "customer": {
      "email": "customer@example.com",
      "phone": "+237600000000"
    },
    "created_at": "2023-10-25T10:30:00Z"
  }
}

Postman Collection

Explore APIs Interactively

Download our comprehensive Postman collection to test endpoints, view examples, and understand request structures.