New in Chargebee: Explore Reveal and understand your payment performance end-to-end.Try Now
Docschargebee docs
HomeBillingPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Payment Methods


  • Payment Methods Overview
  • Cards
  • Direct Debit
  • Bank Based Payments
  • Wallets
  • Vouchers
  • Articles and FAQ

Payment Gateways and Configuration


  • Payment Gateways Overview
  • Chargebee Test Gateway
  • Stripe
  • PayPal Payment Services
  • Chargebee Pay
  • Adyen
    • ACH Payments via Adyen
    • Apple Pay via Adyen
    • BACS via Adyen
    • Bancontact via Adyen
    • Google Pay via Adyen
    • GoPay via Adyen
    • GrabPay via Adyen
    • iDEAL via Adyen
    • KakaoPay via Adyen
    • Klarna Pay Now via Adyen
    • NaverPay via Adyen
    • Online Banking Poland via Adyen
    • PayCo via Adyen
    • Payconiq by Bancontact via Adyen
    • PayMe via Adyen
    • PayPal via Adyen
    • SEPA Payments via Adyen
    • Sofort via Adyen
    • Swish via Adyen
    • Trustly via Adyen
    • TWINT via Adyen
    • WeChat Pay via Adyen
  • Authorize.net
  • Bambora (formerly Beanstream)
  • Bank of America
  • BluePay
  • BlueSnap
  • Braintree
  • Checkout.com
  • CyberSource
  • dLocal
  • EBANX
  • Ecentric
  • Elavon
  • E-xact Direct Integration
  • eWay Rapid
  • Global Payments
  • GoCardless
  • J.P. Morgan Mobility Payment Solutions
  • Metrics Global
  • Mollie
  • Moneris
  • Network Merchants Incorporated (NMI)
  • Nuvei
  • Orbital (Chase Paymentech)
  • Pay.com
  • Paymill
  • Paystack
  • Pin Payments
  • QuickBooks Payments
  • Razorpay
  • Sage Pay
  • Solidgate
  • Tempus
  • Twikey
  • Windcave
  • Worldline Online Payments(formerly Ingenico)
  • Worldpay
  • Articles and FAQ

Level 2/3 Data Support


  • Level 2/3 Data Support

Advanced Routing


  • Advanced Routing

Dunning


  • Dunning
  • Articles and FAQ

Offline Checkout


  • Offline Checkout
  • Articles and FAQ

Transaction Sync & Invoice Mapping


  • Transaction Sync and Invoice Mapping

Fraud Management


  • Fraud Management

Error Handling


  • Errors with Root Cause and Troubleshooting

Payment Lifecycle Logs


  • Payment Intents
  • Transactions
  • Gateway Activity Logs
  • Gateway Webhook Logs
  • Articles and FAQ

Others


  • Reach (Merchant of Record)
  • Payment Verification
  • Bulk Deletion of Payment Methods
  • Custom Payment Methods
  • Payment Initiator Parameter
  • PSD2 and Strong Customer Authentication
  • RBI e-Mandate
  • RBI Tokenization Regulations
  • Chargeback Management
  • Transaction Descriptors
  • Payment Preferences
  • Visa Trial Rules
  • Mastercard Trial Rules
  • Co-badged Card Compliance
  • Articles and FAQ
  1. Payments
  2. Payment Gateways and Configuration
  3. Adyen
  4. Swish via Adyen
  1. Payments
  2. Payment Gateways and Configuration
  3. Adyen
  4. Swish via Adyen

Swish via Adyen

This feature is currently a Private Beta release. Contact Chargebee Support to enable Swish via Adyen for your live and test sites.

Swish is a popular mobile payment method in Sweden that allows customers to authorise payments directly through the Swish app. Chargebee supports Swish as a payment method via the Adyen payment gateway.

When customers select Swish at checkout, they are redirected to the Swish app to authorise the payment. Payment is completed instantly after customer approval and the final status is confirmed via Adyen webhooks.

Supported countries and currencies

Swish via Adyen supports the following countries and currencies:

CountryCurrency
SwedenSEK

Prerequisites

To accept Swish payments using Chargebee, you must:

  • Have an active Adyen account with Swish enabled as a payment method in your Adyen Customer Area.
  • Ensure SEK (Swedish Krona) currency is enabled for your Chargebee account.
  • Ensure the Adyen payment gateway and webhooks are configured in your Chargebee account. Learn more

Integration options

You can integrate Swish via Adyen using the following methods:

Integration methodDescription
Chargebee Hosted PagesUse Chargebee’s hosted checkout pages to accept Swish payments with minimal integration effort.
Chargebee JSEmbed Swish as a payment method within your custom checkout using Chargebee JS.
API (Payment Intent)Integrate Swish using Chargebee APIs for a fully custom checkout and payment flow.

Supported tokens

This integration supports the following set of tokens:

TokenDescriptionFormat and Sample
Chargebee Payment Intent IDThis is the Payment Intent ID returned after a successful authorization process using Chargebee JS.Format: payment_intent[id]

Configure Swish in Chargebee

Follow these steps to configure Swish via Adyen in your Chargebee site:

  1. Log in to the Chargebee app.
  2. Go to Settings > Configure Chargebee > Payment Gateways.
  3. Select the relevant Adyen instance from the list.
  4. On the Configure Adyen page, ensure Swish is enabled under the list of supported payment methods.
    image
  5. Click Apply to save changes.
    image

Note

Swish availability depends on your Adyen merchant configuration.

Configure smart routing for Swish

When you configure Swish through Adyen, smart routing for the SEK currency is automatically enabled. Check the Smart Routing settings, and if any other gateway is already designated for the SEK currency, adjust the Smart Routing settings manually to allocate Swish to it.

Follow these steps to modify Smart Routing settings:

  1. Log in to the Chargebee app.
  2. Go to Settings > Configure Chargebee > Payment Gateways.
  3. Click Manage Rules under Smart Routing.
  4. Go to the Swish section and click Add a Gateway for SEK. If you already have a payment gateway assigned to it, click Edit.
image
  1. From the Choose a payment gateway drop-down menu, select the relevant Adyen instance with Swish enabled.
  2. Click Save.
image

Enable Swish to pay for subscriptions

Swish 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:

  1. In the Chargebee app, go to Settings > Configure Chargebee > Checkout & Self-Serve Portal.
  2. Select the Configuration tab and enable Allow customers to pay for subscriptions with payment methods that only support one-time payments.
    Allow one-time payments for subscriptions

Checkout flow

Your customer performs the following steps during checkout using Swish via Adyen:

  1. Initiate checkout and proceed to the payment step.
  2. Select Swish as the payment method.
  3. You are redirected to the Swish app to authorise the payment.
  4. Confirm the payment within the Swish app.
  5. Once payment is authorised, you are redirected back to the merchant's website.

Testing

Sandbox testing

  • Use the Adyen test environment with Swish enabled.
  • Swish testing uses Adyen-provided test credentials and simulated mobile flows.
  • Payment outcomes (success or failure) are controlled via Adyen test scenarios and API-triggered responses.

Note

Swish does not support amount-based outcome simulation. Test outcomes must be triggered via Adyen test configurations.

Production testing

Before going live:

  • Ensure Swish is enabled in your Adyen account.
  • Verify webhook configuration is complete (mandatory for payment status updates).
  • Perform end-to-end testing using a real Swish-enabled bank account and a mobile device with the Swish app installed.

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:

  1. Retrieve the id_at_gateway value from the Chargebee transaction details.
  2. Locate the corresponding pspReference in Adyen reports.
  3. Match transactions using this reference.

Limitations and important points

  • Swish cannot be added as a payment method via the customer portal or the Chargebee app. Customers must complete the Swish checkout flow.
  • Swish does not support storing payment methods for recurring billing. Each transaction requires explicit customer authorization via the Swish app.
  • Swish is not suitable for automatic subscription renewals. To collect payments for subscriptions using Swish, send email notifications with a Pay Now link when a new invoice is generated.
  • Swish does not support chargebacks. Refunds must be issued manually if needed.
  • Swish is exclusively available for SEK (Swedish Krona) transactions.

Was this article helpful?