omise/omise-node

authorize_uri does not work.

Closed this issue · 3 comments

Dear Support,

I attempted to integrate Omise Internet Banking as a payment option, but I encountered an issue with the authorize_uri upon creating a charge. The error message displayed is as follows:

"Failed to launch 'krungsri-kma://map.payment?tokenId=7de8c5b6d2f44a36a196443d225c80f7' because the scheme does not have a registered handler."

To troubleshoot the problem, I performed the following validations:

[x] Verified the usage of Omise JS (2017 version).
[x] Confirmed successful creation of the charge request (see attached image:
image
).
[x] Ensured that the backend was able to retrieve the Omise object response code, which displayed the following information:
{status: 'pending', status_code: 'redirect', authorize_uri: 'krungsri-kma://map.payment?tokenId=7de8c5b6d2f44a36a196443d225c80f7'}

Despite these validations, I encountered the aforementioned error when attempting to redirect the URL. I have tried both in a browser and a Flutter app's webview.
image

I kindly request your assistance and guidance in resolving this matter.

Updated. only KBank the deep link is working in flutter url_launcher package in webview (however kbank api return page not found)
image
image

The rest of the authorize_uri do not response which the link is not valid.
image

@patricklee90 Thanks for reaching out. It seems that you have implemented mobile banking instead of internet banking. Just to confirm, would you prefer to use internet banking or mobile banking? Could you kindly provide the code that has been implemented?

We’re going to close this since there hasn’t been any activity for a while. If this issue is still relevant, please feel free to reopen it with more details and we’ll take another look.