Learn how to use deep linking features in your POS system
Deep linking allows users to open the HitPay app directly from other merchant-facing apps, facilitating seamless payment experiences. This guide provides an overview of deep linking, its use cases, implementation details, and frequently asked questions.
Users of other merchant-facing apps need to manually open the HitPay app to initiate payments. Deep linking streamlines this process by allowing developers to integrate a direct link to the HitPay app. This enables users to initiate payments directly within HitPay without manually switching between apps.
The URL scheme for opening the HitPay app is: hitpay://quick_sale
Here is an example of a URL scheme that other apps can use to open the HitPay app and initiate a payment:
In this example:
amount
is set to 100.00
.currency
is set to SGD
(Singapore Dollar).description
is set to Payment for order 1234
.callback_url
is set to https://example.com/callback
.Developers can use this URL scheme to integrate HitPay into their apps, allowing users to seamlessly initiate payments without manually opening the HitPay app.
What if the user is not logged in to the HitPay app?
The deep linking feature will only work if the user is already logged in. If the user is not logged in, they will need to log in manually before the payment process can proceed.
Can deep linking be used for other features besides Quick Sale?
Currently, the deep linking functionality is only implemented for the Quick Sale feature.
What happens after the payment is completed?
After the payment is completed, the app will show the success screen. On click of “Done” HitPay will open the callback URL in an external browser.