Skip to main content

The Key Purchase Hook

The Key Purchase Hook​

The onKeyPurchaseHook is called when a purchase is triggered and can be used to customize how a purchase is executed.

Code Required Hook​

You can password restrict purchases on a lock. Check this repo on more details on how to achieve this.

Discount Codes Hook​

You can use discount codes (coupons) to provide discounts on purchases on a lock. Check this repo on more details on how to achieve this.

Captcha Hook​

You can show a captcha as part of the checkout experience on purchases on a lock. Check this repo on more details on how to achieve this.