Cloudkibo / KiboPush

0 stars 1 forks source link

Investigate local payment providers integration with KIbopush #10341

Closed sojharo closed 3 years ago

sojharo commented 3 years ago

This task is to investigate how we can integrate local payments providers with Whatsapp. We may do this using a web view.

jekram commented 3 years ago

WE should come up with one solution that would apply to both Messenger and WhatsApp.

sojharo commented 3 years ago

I have read up on this and Telenor has a developer API for which they have also done Hackathon in past years. However, it seems like they have closed it or made it private for some reason as it is not publically available now. The documentation is also very old and there is no way to get api access tokens.

I think with them we will have to find any internal contact in Telenor company as I saw Pakistan Railways app do have integration with Easy Paisa.

The API documentation:

http://happening.pk/gsmahackathon/apidocument3.pdf

It is not clear how to get the consumer key and secret to use with api.

Also there API site is down.

http://api.telenor.com.pk

However, when we go to their developer dashboard, it says that URL was rejected:

https://developer.telenor.com.pk/our-apis

I have gone through their api documentation and apis however look good and useful.

They had this hackathon in past:

https://www.centerforfinancialinclusion.org/telenor-opens-mobile-money-apis-for-third-party-developers

Some developers are already discussing and are not able to access the API here:

https://www.reddit.com/r/pakistan/comments/erobav/how_can_i_add_easy_paisa_as_a_payment_gateway_for/

Jazz has an API but it has ssl certificate expired so it is not possible to use them and open their site.

https://developer.jazzcash.com.pk/store/site/pages/gettingstarted.jag

I will read up more on jazz today and other payment providers for APIs.

I think it will be better if we find any internal contact in these organizations.

sojharo commented 3 years ago

I read up more on jazz today and understood their APIs on their API reference documents:

https://sandbox.jazzcash.com.pk/SandboxDocumentation/ApiReferences.html

https://sandbox.jazzcash.com.pk/SandboxDocumentation/#cg

https://payments.jazzcash.com.pk/SandboxDocumentation/#hpc

However, when I try to signup on their portal as a developer it is giving an error to me. Looks like it has not been maintained in a long time or it is not accepting any new developer accounts. It keeps saying something went wrong please try again.

https://developer.jazzcash.com.pk/store/site/pages/sign-up.jag

I think we should find any contact in both these companies and try to get our developer account or API token from them

Jazz also has a developer sandbox and payments sandbox to try out API. Their support team doens't have a clue about this. So any internal contact from their technical team will be helpful.

sojharo commented 3 years ago

We have discussed this in meeting today. It was decided that we can close this issue. We will rely on redirecting user to cart from our chatbot and then payment will be handled there by vendor himself.