Trustly via Adyen
This feature is currently a Private Beta release. Contact Chargebee Support to enable Trustly via Adyen for your live and test sites.
Trustly is a real-time bank transfer payment method that allows customers to pay directly from their bank accounts without a card. Chargebee supports Trustly as a payment method via the Adyen payment gateway.
When customers select Trustly at checkout, they are redirected to their bank via the Trustly interface to authenticate and authorise the payment. Payment is completed immediately after customer approval, and the final status is confirmed via Adyen webhooks.
Supported countries and currencies
Trustly via Adyen supports the following countries and currencies:
| Country | Currency |
|---|---|
| Denmark | DKK |
| Finland, Germany, Netherlands | EUR |
| Norway | NOK |
| Sweden | SEK |
Prerequisites
To accept Trustly payments using Chargebee, you must:
- Ensure the Adyen payment gateway is configured in your Chargebee site. Learn more
- Confirm that Trustly is enabled in your Adyen account.
- Have a Merchant Account configured for Trustly in Adyen, with API credentials and webhooks enabled.
- Ensure at least one of DKK, EUR, NOK, or SEK currencies is enabled for your Chargebee account.
Integration options
You can integrate Trustly via Adyen using the following methods:
| Integration method | Description |
|---|---|
| Chargebee Hosted Pages | Use Chargebee’s hosted checkout pages to accept Trustly payments with minimal integration effort. |
| Chargebee JS | Embed Trustly as a payment method within your custom checkout using Chargebee JS. |
| API (Payment Intent) | Integrate Trustly using Chargebee APIs for a fully custom checkout and payment flow. |
Supported tokens
This integration supports the following set of tokens:
| Token | Description | Format and Sample |
|---|---|---|
| Chargebee Payment Intent ID | This is the Payment Intent ID returned after a successful authorization process using Chargebee JS. | Format: payment_intent[id] |
Configure Trustly in Chargebee
Follow these steps to configure Trustly via Adyen in your Chargebee site:
- Log in to the Chargebee app.
- Go to Settings > Configure Chargebee > Payment Gateways.
- Select the relevant Adyen instance from the list.
- On the Configure Adyen page, ensure Trustly is enabled under the list of supported payment methods.

- Click Apply to save changes.

Note
Trustly availability depends on your Adyen merchant configuration.
Configure smart routing for Trustly
When you configure Trustly through Adyen, smart routing for the supported currencies is automatically enabled. Check the Smart Routing settings, and if another gateway is already assigned to any of the DKK, EUR, NOK, or SEK currencies, adjust the Smart Routing settings manually to allocate Trustly.
Follow these steps to modify Smart Routing settings:
- Log in to the Chargebee app.
- Go to Settings > Configure Chargebee > Payment Gateways.
- Click Manage Rules under Smart Routing.
- Go to the Trustly section and click Add a Gateway for the relevant currency. If you already have a gateway assigned, click Edit.
- From the Choose a payment gateway drop-down menu, select the relevant Adyen instance with Trustly enabled.
- Click Save.
Enable Trustly to pay for subscriptions
Trustly is a one-time payment method and cannot be used for recurring payments. To use it for subscriptions, configure your Chargebee site to allow all one-time payment methods for subscriptions.
Note
While testing, ensure Allow customers to pay for subscriptions with payment methods that only support one-time payments and One-time Payments - Enable button are enabled under Settings > Configure Chargebee > Checkout & Self-Serve Portal.
Follow these steps to enable one-time payment methods for subscriptions:
- In the Chargebee app, go to Settings > Configure Chargebee > Checkout & Self-Serve Portal.
- Select the Configuration tab and enable Allow customers to pay for subscriptions with payment methods that only support one-time payments.

Checkout flow
Your customer performs the following steps during checkout using Trustly via Adyen:
- Initiate checkout and proceed to the payment step.
- Select Trustly as the payment method.
- You are redirected to your bank via the Trustly interface.
- Authenticate and authorise the payment using your online banking credentials.
- Once authorised, you are redirected back to the merchant's website.
Testing
Sandbox testing
- Use the Adyen test environment with Trustly enabled.
- Trustly testing uses Adyen-provided test credentials and simulated bank redirect flows.
- Payment outcomes (success or failure) are controlled via Adyen test scenarios and API-triggered responses.
Note
Trustly does not support amount-based outcome simulation. Test outcomes must be triggered via Adyen test configurations.
Production testing
Before going live:
- Ensure Trustly is enabled in your Adyen account.
- Verify webhook configuration is complete (mandatory for payment status updates).
- Perform end-to-end testing using a real bank account that supports Trustly and complete the bank redirect flow for authentication.
Reconciliation
For financial reconciliation between Chargebee and Adyen:
- Use the Chargebee transaction field id_at_gateway, which maps to the pspReference in Adyen.
Follow these steps to reconcile transactions:
- Retrieve the id_at_gateway value from the Chargebee transaction details.
- Locate the corresponding pspReference in Adyen reports for Trustly transactions.
- Match transactions using this reference to ensure financial consistency.
Limitations and important points
- Trustly cannot be added as a payment method via the customer portal or the Chargebee app. Customers must complete the Trustly payment flow.
- Trustly does not support storing payment methods for fully automated recurring billing. Each transaction requires explicit customer authorization via the customer's online banking interface.
- Trustly is not suitable for automatic subscription renewals. To collect payments for subscriptions, send email notifications with a Pay Now link when a new invoice is generated.
- Trustly payments are immediately captured upon authorization. No separate capture step is required.
Was this article helpful?