Providers (Hubtel)

Hubtel

Configuration

  1. Add the following variables to your .env file:

HUBTEL_USERNAME=your-username
HUBTEL_PASSWORD=your-password
HUBTEL_POS_ID_SALES=your-pos-id-for-sales
HUBTEL_POS_ID_DEPOSIT=your-pos-id-for-deposit
HUBTEL_RECEIVE_URL=https://rmp.hubtel.com/merchantaccount/merchants/
HUBTEL_SEND_MONEY_URL=https://smp.hubtel.com/api/merchants/
HUBTEL_RECEIVE_STATUS_URL=https://api-txnstatus.hubtel.com/transactions/
HUBTEL_SEND_STATUS_URL=https://smrsc.hubtel.com/api/merchants/
  1. The configuration will be automatically loaded from config/momo-suite.php:

'hubtel' => [
    'username' => env('HUBTEL_USERNAME'),
    'password' => env('HUBTEL_PASSWORD'),
    'pos_id_sales' => env('HUBTEL_POS_ID_SALES'),
    'pos_id_deposit' => env('HUBTEL_POS_ID_DEPOSIT'),
    'receive_url' => env('HUBTEL_RECEIVE_URL'),
    'send_url' => env('HUBTEL_SEND_MONEY_URL'),
    'receive_status_url' => env('HUBTEL_RECEIVE_STATUS_URL'),
    'send_status_url' => env('HUBTEL_SEND_STATUS_URL'),
],

Receiving Money

To receive money using Hubtel:

Sending Money

To send money using Hubtel:

Webhook Handling

POST /momo/webhooks/hubtel

Last updated