GoPay via Adyen
This feature is a Private Beta release. Contact Chargebee Support to enable GoPay via Adyen for your live and test sites.
GoPay is a widely used e-wallet in Indonesia that enables customers to authorize payments directly through the GoPay app. Chargebee supports GoPay as a payment method through the Adyen payment gateway.
When customers choose GoPay during checkout, they are redirected to the GoPay app to authorize the payment. Once authorization is completed, Adyen processes the transaction and redirects the customer back to your website.
Supported countries and currencies
GoPay via Adyen supports the following country and currency:
| Country | Currency |
|---|---|
| Indonesia | IDR |
Prerequisites
To accept GoPay payments in Chargebee, ensure the following:
- You have an active Adyen account with GoPay enabled in the Adyen Customer Area. Learn more
- IDR (Indonesian Rupiah) is enabled as a supported currency in your Chargebee account.
- The Adyen payment gateway and webhooks are configured in Chargebee. Learn more
Integration options
You can integrate GoPay via Adyen using the following methods:
| Integration method | Description |
|---|---|
| Chargebee Hosted Pages | Use Chargebee’s hosted checkout pages to accept GoPay payments with minimal integration effort. |
| Chargebee JS | Embed GoPay as a payment method within your custom checkout using Chargebee JS. |
| API (Payment Intent) | Integrate GoPay using Chargebee APIs for a fully custom checkout and payment flow. |
Supported tokens
GoPay supports reusable payment tokens for recurring billing. The following token types are supported:
| Token | Description | Format and Sample |
|---|---|---|
| Chargebee Payment Intent ID | Represents the Payment Intent ID returned after a successful authorization using Chargebee JS. | Format: payment_intent[id] |
| Gateway Permanent Token | Used for recurring payments. This token is stored by Adyen after the first successful GoPay transaction, enabling merchant-initiated charges for subsequent billing cycles. | Format: shopper_reference_id/stored_payment_method_id |
Configure GoPay in Chargebee
Follow these steps to enable GoPay via Adyen in your Chargebee site:
- Log in to the Chargebee app.
- Navigate to Settings > Configure Chargebee > Payment Gateways.
- Select the required Adyen gateway instance.
- On the Configure Adyen page, locate the GoPay option under supported payment methods and enable it.

- Click Apply to save the configuration.

Configure smart routing for GoPay
When GoPay is enabled via Adyen, smart routing for the IDR currency is automatically configured. If another gateway is already assigned to IDR, you must manually update the routing rules to ensure GoPay is correctly allocated.
Refer to Smart Routing for more details.
Update Smart Routing settings
Follow these steps to update the Smart Routing settings in your Chargebee Billing site:
- Log in to the Chargebee Billing app.
- Go to Settings > Configure Chargebee > Payment Gateways.
- Click Manage Rules under Smart Routing.
- In the GoPay section:
- Click Add a Gateway for IDR, or
- Click Edit if a gateway is already assigned.

- From the Choose a payment gateway dropdown, select the Adyen instance with GoPay enabled.
- Click Save.
Checkout flow
During checkout, customers complete the following steps when using GoPay via Adyen:
- Initiate checkout and proceed to the payment step.
- Select GoPay as the payment method.
- Get redirected to GoPay to authorize the payment.
- Confirm the payment in the GoPay app.
- After successful authorization, get redirected back to the merchant’s website.
Testing
Sandbox testing
Refer to Adyen’s documentation for instructions on testing GoPay in a sandbox environment.
Production testing
Before going live:
- Ensure GoPay is enabled in your Adyen account.
- Verify that webhooks are correctly configured (required for payment status updates).
- Perform end-to-end testing using:
- A real GoPay-enabled account
- A mobile device with the GoPay app installed
Reconciliation
To reconcile transactions between Chargebee and Adyen:
- Use the Chargebee transaction field id_at_gateway, which corresponds to pspReference in Adyen.
Steps for reconciliation
- Retrieve the id_at_gateway value from the Chargebee transaction.
- Locate the corresponding pspReference in Adyen reports.
- Match the transactions using this reference.
Limitations and important points
- GoPay cannot be added as a payment method via the customer portal or the Chargebee app. Customers must complete the GoPay checkout flow to use it.
- GoPay does not support chargebacks. Refunds must be processed manually when required.
- GoPay is available only for IDR (Indonesian Rupiah) transactions.
Was this article helpful?