Simple Commonwealth Pay Integration Guide

Guidance

Published November 22, 2024
Last updated November 22, 2024  – See all updates

Who does this guidance apply to ?

This guidance applies to all merchants who wish to get started with Commonwealth Pay in the most simple way, known as the merchant redirect method.

How does merchant redirect work ?

The merchant simply redirects in any way from any source to the Commonwealth Pay electronic payments service and include the two required parameters (merchant id and amount) and any option parameters, as desired.

Where should you redirect ?

As an example, the basic redirect is as follows, for merchant id gb.random.merchant and for the amount of 100.50 Commonwealth pounds:

https://pay.britishcommonwealth.uk/authorise?merchant_id=gb.random.merchant&amount=10050
Please note that each parameter is separated by & and before the first parameter there is a ?
Please note that for any parameter where you enter text, you can only use small and uppercase letters, numbers, underscore (_) and full stop (.), and the blank should be replaced by %20

Required Parameters

merchant_id=This parameter should specify your merchant id also known as your username to the Banking Gateway of the Bank of Commonwealth.
amount=This parameter should specify your full amount to be charged via Commonwealth Pay, without dots or commas and should include as the last digits the cents value. Maximum payment amount is 1 billion in any currency.

Optional Parameters

user_email=This parameter should specify the email address for the customer of the merchant who will be making the payment. If this is not supplied, the customer will enter his email address during the payment. Maximum length is 80 characters.
description=This parameter should specify the payment description. Maximum length is 100 characters.
payment_method=This parameter should specify the payment method desired to be used by the customer.
recurring=trueThis parameter specifies that the payment is a subscription.
lang=This parameter should specify the language of the Commonwealth Pay electronic payments service. Default is EN (English).
currency=This parameter should specify the desired payment currency. The default currency is BCP (Commonwealth pounds). Other options are EUR (Euros) and GBP (Sterling pounds).
If the required parameters are not specified, or if a parameter has an error, then Commonwealth Pay will display a random payment box to the British Commonwealth.

Guidance reference CG.EN.1001.3925

This guidance was published by gb.roerich.michail on behalf of Bank of Commonwealth

Published November 22, 2024
Last updated November 22, 2024  + show all updates

Guidance reference CG.EN.1001.3925

Direct link:  https://guidance.britishcommonwealth.uk/en/bc-1001-simple-commonwealth-pay