Hello could you please assist me on how i can integrate hubtel payment API into my website. Am completely new to API integration. The website is coded in plain php. This is my client Id: HM1706190002, i have already setup API key, and API secrete. Thank you
Posted by Edward Ampah 7 months ago
I keep getting this error when I send my request to online checkout (POS)
Posted by Elvis Adjei 9 months ago
Hello Team, I have tried with https://developers.hubtel.com/reference#quick-send and also provide correct details but it gives following error : "Not found because of proxy error: Error: getaddrinfo ENOTFOUND domain.website.com domain.website.com:443"
Posted by Vipul walia 9 months ago
i have my payload work well. i get response perfectly but upon json decoding and extracting checkoutUrl, it returns nothing. i use header('Location :' .$checkoutUrl); it works not. ok so i tried to test with raw full link of a used checkoutId appending to the host but still does not work. Any help please?
Posted by Eben 10 months ago
1. hi @charlesofosuobese let me know if you have received OTP from hubtel account. Actually in my api code, their endpoint returns 401 unauthorized status, so i need to talk about that, let me know if they provide chat support after login. Or i will provide you the detail and you can send them to verify. Thanks 2. @charlesofosuobese This is the code i am using to send checkout url request, if there is no chat support please mail then this code snap image.png and with this i receive "HTTP/1.1 401 Unauthorized" this header and no response. Please check and let me know if you have any query. Thanks 3. HI, @charlesofosuobese We are still waiting for you to check the update notes for this task, if you may so that we can move on with the fix. Thanks
Posted by Charles Ofosu 10 months ago
Hello Team, I am from India and I have no idea about how to intigrate hubtel in laravel project. I have merchant account number and also secret key and client id but when I tested with (https://developers.hubtel.com/v1.0/reference#online-checkout) and I got 404 not found error. So If I want to transer money from one account to another using only MTN then what are the steps and how can user pay that? one more question is Huptel is providing recurssing payment option? Regards, Maharshi
Posted by Maharshi Ais 11 months ago
This endpoint used to work perfectly until few months ago when i noticed it wasnt working again. i have my programme in php and uses curl to fire the postfield request. Please assist me if anything else has changed or anything else needed to be added to my curl options.
Posted by Kojo 11 months ago
https://api.hubtel.com/v2/pos/onlinecheckout/items/initiate I'm trying to hit the endpoint above to create an online invoice when i use base64 id and pwd it keeps saying unauthorized I am following the instructions here: https://developers.hubtel.com/v1.0/reference#online-checkout
Posted by George Sarfo about a year ago
I recently downloaded your simulator from https://github.com/hubtel/ussd-mocker Everything worked out with running it but getting some errors from it whiles waiting for a response from the app. The error is as follows--- TypeError: Cannot read property 'substr' of undefined at session (..\ussd-mocker-master\app\controllers\index.js:33:6) at Layer.handle [as handle_request] (..\ussd-mocker-master\node_modules\express\lib\router\layer.js:82:5) at next (..\ussd-mocker-master\node_modules\express\lib\router\route.js:110:13) at Route.dispatch (..\ussd-mocker-master\node_modules\express\lib\router\route.js:91:3) at Layer.handle [as handle_request] (..\ussd-mocker-master\node_modules\express\lib\router\layer.js:82:5) at ..\ussd-mocker-master\node_modules\express\lib\router\index.js:267:22 at Function.proto.process_params (..\ussd-mocker-master\node_modules\express\lib\router\index.js:321:12) at next (..\ussd-mocker-master\node_modules\express\lib\router\index.js:261:10) at Function.proto.handle (..\ussd-mocker-master\node_modules\express\lib\router\index.js:166:3) at router (..\ussd-mocker-master\node_modules\express\lib\router\index.js:35:12) at Layer.handle [as handle_request] (..\ussd-mocker-master\node_modules\express\lib\router\layer.js:82:5) at trim_prefix (..\ussd-mocker-master\node_modules\express\lib\router\index.js:302:13) at ..\ussd-mocker-master\node_modules\express\lib\router\index.js:270:7 at Function.proto.process_params (..\ussd-mocker-master\node_modules\express\lib\router\index.js:321:12) at next (..\ussd-mocker-master\node_modules\express\lib\router\index.js:261:10) at jsonParser (..\ussd-mocker-master\node_modules\body-parser\lib\types\json.js:96:40)
Posted by Bash about a year ago
I am sending this mail on behalf of enshika Ghana, with merchant account number "HM0412180003" We are currently not receiving callbacks for successful payments, even though 2 payments have been made and the respective account debited. These payments have reflected on our dashboard with hubtel, but we are yet to receive successful callbacks.
Posted by fred about a year ago