
Introducing HitPay.JS — Drop-In Checkout UI
September 23, 2023

With the new Drop-In checkout UI, you will now be able to provide a seamless checkout experience. Unlike the redirect checkout page, the drop-in is embedded into your webpage so your customer will never have to leave your site.
Watch it in action

Donation Link
Drop-in UI also allows you to collect payments from any customer for any amount. This opens the door for many use-cases like “Tip Jar”, “Donation Button” and any Adhoc payments on your website.

Integration
The integration steps and the process will be similar to the re-direct checkout page http://hit-pay.com/docs.html
Once a payment request is generated by your backend, you can use the payment_request_id and hitpay.js to present the drop in UI
// Include hitpay.js in your website <script src="<https://sandbox.hit-pay.com/hitpay.js>"></script> // Initialise // DEFAULT_URL = <https://securecheckout.hit-pay.com/payment-request/@test/> window.HitPay.init('DEFAULT_URL', { // Optional // closeOnError: true }, // Optional callbacks { onClose: onClose, onSuccess: onSuccess, onError: onError }) // Show Drop In UI window.HitPay.toggle({ paymentRequest: '93d015df-b0b6-4cbd-8a4b-938eb79e33b2' })
Sample code
https://github.com/hit-pay/hitpay-js-example/blob/master/index.html
Introducing HitPay.JS — Drop-In Checkout UI
September 23, 2023

With the new Drop-In checkout UI, you will now be able to provide a seamless checkout experience. Unlike the redirect checkout page, the drop-in is embedded into your webpage so your customer will never have to leave your site.
Watch it in action

Donation Link
Drop-in UI also allows you to collect payments from any customer for any amount. This opens the door for many use-cases like “Tip Jar”, “Donation Button” and any Adhoc payments on your website.

Integration
The integration steps and the process will be similar to the re-direct checkout page http://hit-pay.com/docs.html
Once a payment request is generated by your backend, you can use the payment_request_id and hitpay.js to present the drop in UI
// Include hitpay.js in your website <script src="<https://sandbox.hit-pay.com/hitpay.js>"></script> // Initialise // DEFAULT_URL = <https://securecheckout.hit-pay.com/payment-request/@test/> window.HitPay.init('DEFAULT_URL', { // Optional // closeOnError: true }, // Optional callbacks { onClose: onClose, onSuccess: onSuccess, onError: onError }) // Show Drop In UI window.HitPay.toggle({ paymentRequest: '93d015df-b0b6-4cbd-8a4b-938eb79e33b2' })
Sample code
https://github.com/hit-pay/hitpay-js-example/blob/master/index.html
Introducing HitPay.JS — Drop-In Checkout UI
September 23, 2023

With the new Drop-In checkout UI, you will now be able to provide a seamless checkout experience. Unlike the redirect checkout page, the drop-in is embedded into your webpage so your customer will never have to leave your site.
Watch it in action

Donation Link
Drop-in UI also allows you to collect payments from any customer for any amount. This opens the door for many use-cases like “Tip Jar”, “Donation Button” and any Adhoc payments on your website.

Integration
The integration steps and the process will be similar to the re-direct checkout page http://hit-pay.com/docs.html
Once a payment request is generated by your backend, you can use the payment_request_id and hitpay.js to present the drop in UI
// Include hitpay.js in your website <script src="<https://sandbox.hit-pay.com/hitpay.js>"></script> // Initialise // DEFAULT_URL = <https://securecheckout.hit-pay.com/payment-request/@test/> window.HitPay.init('DEFAULT_URL', { // Optional // closeOnError: true }, // Optional callbacks { onClose: onClose, onSuccess: onSuccess, onError: onError }) // Show Drop In UI window.HitPay.toggle({ paymentRequest: '93d015df-b0b6-4cbd-8a4b-938eb79e33b2' })
Sample code
https://github.com/hit-pay/hitpay-js-example/blob/master/index.html

Let's get you set up
Create an account instantly or contact us to create a custom package for your business.

Singapore
Philippines
Malaysia
Indonesia
Thailand
Australia & New Zealand
United Kingdom
Hong Kong
Sweden
United States
All other countries
HitPay Payment Solutions Pte Ltd ("HitPay") is licensed as a Major Payment Institution (PS20200643) under Singapore's Payment Services Act for the provision of Domestic Money Transfer Services, Cross-Border Money Transfer Services and Merchant Acquisition Services. This can be confirmed on the MAS Financial Institutions Directory here. HitPay may also provide these services in conjunction with other MAS licensed or exempt partners.
HitPay Payment Solutions Pte Ltd
88 Market Street Level #40-01, CapitaSpring, Singapore 048948.
Global

Let's get you set up
Create an account instantly or contact us to create a custom package for your business.

Singapore
Philippines
Malaysia
Indonesia
Thailand
Australia & New Zealand
United Kingdom
Hong Kong
Sweden
United States
All other countries
HitPay Payment Solutions Pte Ltd ("HitPay") is licensed as a Major Payment Institution (PS20200643) under Singapore's Payment Services Act for the provision of Domestic Money Transfer Services, Cross-Border Money Transfer Services and Merchant Acquisition Services. This can be confirmed on the MAS Financial Institutions Directory here. HitPay may also provide these services in conjunction with other MAS licensed or exempt partners.
HitPay Payment Solutions Pte Ltd
88 Market Street Level #40-01, CapitaSpring, Singapore 048948.
Global

Let's get you set up
Create an account instantly or contact us to create a custom package for your business.

Singapore
Philippines
Malaysia
Indonesia
Thailand
Australia & New Zealand
United Kingdom
Hong Kong
Sweden
United States
All other countries
HitPay Payment Solutions Pte Ltd ("HitPay") is licensed as a Major Payment Institution (PS20200643) under Singapore's Payment Services Act for the provision of Domestic Money Transfer Services, Cross-Border Money Transfer Services and Merchant Acquisition Services. This can be confirmed on the MAS Financial Institutions Directory here. HitPay may also provide these services in conjunction with other MAS licensed or exempt partners.
HitPay Payment Solutions Pte Ltd
88 Market Street Level #40-01, CapitaSpring, Singapore 048948.
Global

Let's get you set up
Create an account instantly or contact us to create a custom package for your business.

Singapore
Philippines
Malaysia
Indonesia
Thailand
Australia & New Zealand
United Kingdom
Hong Kong
Sweden
United States
All other countries
HitPay Payment Solutions Pte Ltd ("HitPay") is licensed as a Major Payment Institution (PS20200643) under Singapore's Payment Services Act for the provision of Domestic Money Transfer Services, Cross-Border Money Transfer Services and Merchant Acquisition Services. This can be confirmed on the MAS Financial Institutions Directory here. HitPay may also provide these services in conjunction with other MAS licensed or exempt partners.
HitPay Payment Solutions Pte Ltd
88 Market Street Level #40-01, CapitaSpring, Singapore 048948.
Global