PayLaterPayLater
Get Production Keys

WooCommerce

Empower your WordPress online store with the PayLater WooCommerce Plugin, a cutting-edge solution designed to enhance the purchasing journey for both merchants and customers. This seamlessly integrated plugin opens up a world of possibilities, allowing merchants to offer a convenient and flexible PayLater option at checkout.

Download plugin

WordPress / WooCommerce v4.4.1 · latest

Always install the latest version. Older releases are deprecated — see the release notes for the full version history.

PHP requirement

The PayLater plugin needs PHP 8.2 or newer. Keep PHP up to date with the latest security release for your version.

Installation

Paylater empowers merchants to offer the popular Buy Now, Pay Later (BNPL) payment option to their customers on their WooCommerce websites. This document guides you through the installation and setup process of the PayLater plugin.

Before you begin

Ensure you have a WordPress website with the WooCommerce plugin installed and activated.

Compatibility

ComponentTested with
WordPress6.6
WooCommerce9.3
CheckoutClassic (shortcode) and block-based checkout
PHP8.2 or newer (tested on 8.3)
Store currencyQAR

Frontend Widgets:

PLP Product List Page

PayLater widget on the WooCommerce product list page

PDP Product Detail Page

PayLater widget on the WooCommerce product detail page
PayLater instalment breakdown on the WooCommerce product detail page

Method 1: Automatic Installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser

  • Log in to your WordPress admin dashboard
  • Navigate to Plugins -> Add New Plugin
  • Click on Upload Plugin
  • Select the downloaded PayLater plugin zip file.
  • Click Install Now and then Activate

Upgrading: upload the new zip the same way. When WordPress says the plugin is already installed, click Replace current with uploaded. Your settings are kept.

Log in to your WordPress admin dashboard and navigate to Plugins
Log in to your WordPress admin dashboard & Navigate to Plugins
Click on Upload Plugin
Click on Upload Plugin
Select the downloaded PayLater plugin zip file
Select the downloaded PayLater plugin zip file.
Click Install Now and then Activate
Click Install Now and then Activate

Method 2: Manual Installation

The manual installation method involves downloading our plugin and uploading it to your web server via your favourite FTP application. Extract the zip and upload the paylater folder to wp-content/plugins/. The WordPress documentation covers this in Manage Plugins

PayLater Payment Gateway in the WordPress plugin list after uploading via FTP
After uploading via FTP, PayLater appears in the Plugins list. Click Activate.

Configurations

  • Once activated, navigate to WooCommerce -> Settings -> Payments
  • Locate PayLater in the list of available payment gateways and click on the Manage button.
PayLater in the WooCommerce payments list with the Manage button
  • The PayLater settings are split across three tabs at the top of the page: General, API Configuration and Widget Settings. WooCommerce keeps separate credentials for testing and production, and Test Mode decides which set is used.
TabSettingWhat to enter
GeneralEnable PayLater, Title, DescriptionTurn the payment method on and set the name and description shown at checkout.
GeneralOrder MinimumSmallest cart total that shows PayLater. Cannot be lower than 300 QAR.
API ConfigurationTest ModeOn (default): uses the Test credentials against UAT. Off: uses the Live credentials against production.
API ConfigurationTest Client ID / Test Client SecretThe UAT credentials, for example the ones on the Test environment page.
API ConfigurationLive Client ID / Live Client SecretYour production credentials from PayLater.
API ConfigurationOutlet IDYour outlet ID from PayLater.
API ConfigurationPayment Link Expiry (minutes)How long the shopper has to finish paying before the link expires. Default 10.
API ConfigurationTest Webhook Secret / Live Webhook SecretProvided by PayLater for each environment after they register your webhook URL. The URL is shown in the Webhook section of this tab.
Widget SettingsEnable PDP Widget, Enable PLP Widget and their messagesTurn the product detail (PDP) and product list (PLP) widgets on or off and set their main and sub messages.
PayLater settings page with Client ID, Client Secret and Outlet ID fields
PayLater configuration fields in the WooCommerce admin
PayLater payment gateway configuration saved in WooCommerce
  • Click Save Changes to complete the configuration

Testing

To ensure smooth functionality, it's recommended to test the PayLater payment option:

  • Add a product to your cart and proceed to checkout
  • During checkout, select PayLater as the payment method.
  • You will be redirected to the secure PayLater platform to complete the BNPL payment process.
  • Use test shopper account provided in the Test environment
  • Please use 300 QAR as the amount to test
Credentials

Get your Client ID, Client Secret, and Outlet ID from your PayLater account dashboard. For your Webhook Secret, share your webhook endpoint with the PayLater team. For sandbox values and test shoppers, see the Test environment.

Last updated