Clearpay

Clearpay

Clearpay embeds buy-now-pay-later payment widget scripts on product and checkout pages. Scripts render installment payment options, verify eligibility, and process transaction data to facilitate Clearpay's deferred payment service.

Overview

Clearpay is a buy-now-pay-later (BNPL) payment service that allows consumers to split purchases into installments. Its scripts appear on e-commerce product pages and checkout flows when retailers integrate Clearpay as a payment option. The widget serves a dual purpose: displaying installment messaging on product pages (to influence purchase decisions) and processing the BNPL transaction at checkout. Clearpay operates primarily in the UK and Australia; the identical service trades as Afterpay in the US and other markets.

What This Script Does

Clearpay loads its widget script from js.afterpay.com or portal.clearpay.co.uk (the platforms share infrastructure). The script performs:

  • Product page messaging: Renders installment pricing callouts ("4 payments of £X") adjacent to the product price, using the product price passed to the script as a parameter
  • Eligibility indicator: May perform a soft eligibility check using device signals and any available Clearpay account cookies to display personalized messaging for returning Clearpay customers
  • Checkout processing: At checkout, the script initiates the Clearpay payment flow, redirecting the consumer to Clearpay's authorization page and returning a payment token upon approval

Cookies set include session cookies for the payment flow state and potentially persistent cookies for recognized Clearpay account holders (linking the browser to a known Clearpay account for returning customer messaging). Payment transaction data (order value, merchant ID, consumer identity for approved loans) is transmitted to Clearpay/Afterpay's servers.

No behavioral advertising cookies or cross-site profiling is performed by the widget script itself. The persistent cookie for account recognition is functional — it enables the "returning customer" experience.

Consent & Compliance

Clearpay's checkout processing functionality is strictly necessary for completing the payment transaction and falls within the ePrivacy Directive's exemption for cookies "strictly necessary in order to provide an information society service explicitly requested by the subscriber or user." A user who selects Clearpay at checkout has explicitly requested the service.

Product page installment messaging scripts that load on all product pages (before the user has selected Clearpay) are a closer question — they set cookies for account recognition even for visitors who may never use Clearpay. These pre-checkout scripts are more accurately characterized as functional/marketing rather than strictly necessary.

Under GDPR, payment transaction data is processed under Article 6(1)(b) (contract performance). Under CCPA/CPRA, payment data is processed as a service provider and is exempt from sale/sharing restrictions.

The consent category is functional — payment processing is user-initiated; product page messaging scripts sit closer to functional with minor marketing characteristics.

Should You Block This Without Consent?

Conditional. Clearpay scripts loaded at checkout for active payment processing are functionally necessary and should not be blocked. Product page installment messaging scripts that load universally — setting account recognition cookies before any user selection — should be treated as functional and disclosed in the privacy notice, with consideration given to deferring load until user interaction with the payment option.

Visit website

Consent Categories

Functional

Also Known As

clearpayclearpay widgetafterpay UKclearpay BNPLbuy now pay later clearpayclearpay checkout

Industries

FinanceComputers Electronics and TechnologyBusiness and Consumer ServicesProgramming and Developer Software

Tracked Domains (1)

clearpay.co.ukFunctional

Frequently Asked Questions

Does the Clearpay payment widget require consent?

Consent is typically needed for Clearpay's widget. While checkout payment processing serves a functional purpose, Clearpay's product page messaging widgets load before purchase intent is established and may collect browsing data. The promotional installment messaging goes beyond essential payment functionality and requires consent.

What does the Clearpay widget script do on product pages?

Clearpay loads its widget to serve two functions: displaying installment messaging on product pages to influence purchase decisions, and processing BNPL transactions at checkout. The script renders price breakdowns, checks order eligibility, and handles the payment flow. Clearpay operates as Afterpay in the US and other markets.

How does ConsentStack handle Clearpay scripts?

ConsentStack detects Clearpay's widget scripts and assigns them to the functional consent category. When visitors decline consent, ConsentStack blocks the promotional installment messaging from rendering on product pages. Upon consent, the full Clearpay widget loads with installment breakdowns and checkout payment processing becomes available.

Related Vendors

Google Maps
Google Maps
Google Maps is the dominant web mapping service used for embedded maps and location features on websites. Scripts load interactive map tiles, geocoding, and Places API functionality through the Maps JavaScript API. May set cookies to remember map preferences and manage API quota.
Google Search
Google Search
Google Search appears on websites through the Programmable Search Engine, enabling custom site-specific search functionality. Scripts load the search widget from Google's servers to render search bars and display results within the host website. Sends search queries to Google's index and may set cookies for search personalization and query history.
Google
Google
Google is the dominant provider of web analytics, advertising, and infrastructure tools. Scripts like Google Analytics, Tag Manager, Ads, and reCAPTCHA collect behavioral data, manage tag firing, serve targeted ads, and detect bots. Sets persistent cookies to track users and correlate activity across sites.
Microsoft Teams
Microsoft Teams
Microsoft Teams is a workplace communication and collaboration platform that can be embedded on websites for chat, meetings, and document sharing. Embedded widgets load from Microsoft's servers to enable real-time messaging, video calls, and file collaboration. Sets authentication and session cookies to verify participant identity and maintain connection state.
Apple Maps JS
Apple Maps JS
Apple Maps JS is Apple's JavaScript mapping framework for embedding interactive maps on websites. Scripts load map tiles, location pins, and routing data from Apple's MapKit servers to render navigable maps within web pages. Requires a MapKit JS token for authentication but does not set tracking cookies or collect behavioral analytics data.
Apple Business Chat
Apple Business Chat
Apple Business Chat enables direct customer messaging between websites and Apple's Messages app. Scripts load chat buttons and conversation interfaces that connect visitors to business support agents through iMessage. Sets minimal session cookies to maintain conversation context but does not track browsing behavior or collect analytics data.

Manage consent for Clearpay

ConsentStack automatically detects and manages Clearpay trackers so your site stays compliant with global privacy regulations.