Skip to main content

Before you begin

This guide assumes that you know how to:

Accept payments with Clearpay

Prepare the client session

Clearpay requires the following data to process a payment successfully. Pass the following data in the client session, or in the payment request (for manual payment creation).
Parameter NameRequiredDescription
currencyCode3-letter currency code in ISO 4217 format, e.g. USD for US dollars
order
↳ lineItems
Details of the line items of the order
order
↳ countryCode
The country code of the user is required for Clearpay.
paymentMethod
↳ descriptor
The descriptor of the payment method is required for Clearpay.

Prepare the SDK for payments

Handle payment method

Refer to the updated guide for handling payment methods with redirect: Handle Payment Methods with Redirect.

Go live

You don’t need to do anything particular to go live — just make sure to use production credentials.