Sandbox plugin credentials

Find your beneficiary and sandbox credentials to test payments via WooCommerce.

Before you start making real payments, enter your sandbox credentials into your webshop to test your TrueLayer integration.

1. Enter beneficiary credentials

Enter the beneficiary details into your plugin. These are the details for the bank account that your customers pay into when they buy something.

CredentialLocationExample Value
Merchant Account IDConsole > Payments > Merchant Account > ID363aglc4-1451-4089-b143-c2ad0e237322
Account Holder NameConsole > Payments > Merchant Account > BeneficiaryMy Shop Name
3840

Find your Merchant account ID and beneficiary details in Console > Payments > Payments V3 > Merchant Account.

📘

Sandbox and live

If you have the live environment in Console switched on, you can only see production credentials.

To switch from the live environment to sandbox, go to Console and switch the toggle at the top right of the screen so that Live is greyed out.

2. Enter client credentials and keys

Use these credentials to test TrueLayer payments in your webshop:

Sandbox credentialLocationExample value
Client IDConsole > Settingssandbox-ecommerceplugins-1109e0
Client secretConsole > Settings > Saved on your local desktop as a txt filebf945c77-b697-433c-b4f2-36dcc7e8c886
KIDConsole > Payments > Settings > Signing keys

Copy the KID column
c7d2f140-7fdd-4272-b948-23c32a613546
Private keyOn your device. The private key generated from this article.

To view your private key, open the file in any text editor.

You need to use the following format:

-----BEGIN EC PRIVATE KEY-----
[PRIVATE KEY]
-----END EC PRIVATE KEY-----
-----BEGIN EC PRIVATE KEY-----
MIHcAgEBBEIB15zSseam7aJIM7inVjB7XL/Q3
vpw9p32d7ve15knwvNN1XfgLY4fxfQ809O5
GkbK+yS9ijQJmkRzNFPg8damR6+gBwYFK4
EEACOhgYkDgYYABADzPUKuUvSAMZ50ww
rjlBeZ4XTj76B6wM0kUunmbpSqWQ2It41uM
4SNAQ5B40L0h7khq8ha8043bT/x/cOJ1bMT
egBrgDXa5rOgBRdD3wfNhxI1GQTq0dw5yz4
ilCXNbJ+1ucytuUDHhx2XDaTel/bw5983g2YN
DQCFbMr4sVHABCQ8dA==
-----END EC PRIVATE KEY-----
3840

Where to find the client_id and client_secret in Console.

3840

Where to find the public KID in Console.


Next steps

Set up your production credentials for the plugin