Configure Extension

1. Basic Settings

  1. Login to Magento Admin and go to Stores → Configuration → Sales → Payment Methods → Clearpay (scroll to bottom)

📘

Store Level

Please navigate to the correct store level
It's advised to not use 'Default Store Level'

  1. Enter Basic Settings

Setting

Value

Enabled

Yes - Clearpay turned on
No - Clearpay disabled

API Mode

Sandbox - for development or staging environments
Production - for your live website

Title

Installments by Clearpay - the title of payment method at checkout

Merchant ID

Your 9 digit Sandbox or Production Clearpay Merchant ID

Merchant Key

Your Sandbox or Production Clearpay Secret Key

Payment Action

Authorise and Capture

2. Advanced Settings

  1. Enter Advanced Settings

Setting

Value

Minimum/Maximum Order Total

Click *Update Limits button to obtain your current minimum and maximum Clearpay order thresholds

Debug

Yes - Debug logs are written to [Magento]/var/log/afterpay.log
No - Disabled

Sort Order

(Order of payment methods at checkout)

HTTP Version Header Support

No - normal value
Yes - if "Invalid header line detected" errors occur

3. Express Checkout Settings

Setting

Value

Enabled for Product Page

Yes - Can checkout directly from Product Page
No

Enabled for Cart Page

Yes - Can checkout directly from Cart Page
No

Enabled for Mini-Cart Page

Yes - Can checkout directly from Mini-Cart
No

4. Country Specific Settings

  1. Enter Country Specific Settings
  • Set Payment from Applicable Countries to "Specific Countries"
  • Set Payment from Specific Countries to "United Kingdom"
  1. Click Save Config in the top right corner

  2. Flush the Magento System Cache

  • Go to System → Cache Management
  • Click Flush Cache Storage button in the upper right corner