Skip to content

Multiple Channels and Accounts

adumont-payplug edited this page Oct 20, 2026 · 1 revision

Multiple channels and accounts

One Sylius installation can sell through several channels — one per shop, per country, per brand — and each channel can be paid into a different Payplug account. This is how you run several companies from a single back office.

The idea is simple: the Payplug connection lives on the payment method, not on the plugin. One payment method = one connection to one Payplug account. Channels decide which payment method a shopper is offered.

How it fits together

Channel WEB_FR  ──►  Payment method "Card FR"  ──►  Payplug account of company A
Channel WEB_DE  ──►  Payment method "Card DE"  ──►  Payplug account of company B
Channel WEB_BE  ──►  Payment method "Card BE"  ──►  Payplug account of company B

At checkout, the plugin looks at the current channel, finds the Payplug payment method of that type enabled for it, and uses that method's credentials for every call: creating the payment, checking the amount limits, issuing a refund. A request made for one channel is never signed with another channel's account.

Setting it up

For each company (or each account you want to separate):

  1. Create a payment method of the gateway type you need — see Configuration. Give it a name that tells your team which account it is (Card FR, Card DE…): the name is also reused to label the credentials created on the Payplug side.
  2. Select its channels — only the channels that must be paid into this account.
  3. Save and connect. You are sent to Payplug to log in; log in with the account that should receive these payments, and authorize the connection. See Connect your Payplug account.
  4. Check the connected account on the edit screen, then set LIVE Mode when you are ready (LIVE or TEST).
  5. Repeat for the next company.

Do this once per gateway type you offer. Card, Oney, Bancontact and the others are separate gateways, each with its own connection — if company B also sells with Bancontact, create a Bancontact payment method for it and connect it too.

Remember to list each gateway type in sylius_refund.supported_gateways (Installation, step 4); that is per gateway type, not per payment method.

The one rule

A channel can be linked to at most one enabled payment method of a given gateway type.

Two card payment methods may coexist as long as their channels do not overlap. A card method and a Bancontact method may share a channel — they are different types.

The form enforces this as you go. A channel already taken by another enabled method of the same type is greyed out, and hovering it tells you which method holds it:

Channel WEB_FR is already linked to the enabled payment method "Card FR". Disable it, or remove that channel from one of the two.

Common operations

I want to… Do this
Move a channel from one account to another Disable the payment method holding the channel (or remove the channel from it), then add the channel to the other method
Point a payment method at a different Payplug account Tick Force OAuth reconnection, Update, and log in with the other account
Stop using an account without deleting the method Disconnect this account — it clears that method's credentials and disables it; the other methods are not touched
Test one company without affecting the others Untick LIVE Mode on that payment method only: TEST mode is per payment method
Know which account a method is using Open the method: the account's email is under Connected Payplug account

Per-account rules still apply

Each account has its own activated methods, amount limits and accepted countries. The same Card method can therefore behave differently on two channels: that is the plugin reading each account separately, not a fault. See What the shopper actually sees.

Hosted Fields uses an Account ID per payment method, and its webhook receiver is configured per merchant on the Payplug side — plan both for each company.

Existing installations

A payment method connected before the plugin began recording the account shows Re-authenticate to display the connected account. Payments keep working; reconnect once to display the email.

Clone this wiki locally