--- title: "Wero iOS Component" description: "Add Wero to your Components integration." url: "https://docs.adyen.com/payment-methods/wero/ios-component" source_url: "https://docs.adyen.com/payment-methods/wero/ios-component.md" canonical: "https://docs.adyen.com/payment-methods/wero/ios-component" last_modified: "2026-09-25T16:52:14+02:00" language: "en" --- # Wero iOS Component Add Wero to your Components integration. You can add Wero to your existing integration. The following instructions show only what you must add to your integration specifically for Wero. If an instruction on this page corresponds with a step in the main integration guide, it includes a link to corresponding step of the main integration guide. The additions you must make depends on the [server-side flow](https://docs.adyen.com/online-payments/build-your-integration) that your integration uses: ## Sessions flow Component ### Before-You-Begin ## Requirements | Requirement | Description | | | --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - | | **Integration type** | Make sure that you have an existing Sessions flow [iOS Components integration](https://docs.adyen.com/online-payments/build-your-integration/sessions-flow?platform=iOS\&integration=Components). | | | **Checkout API** | Make sure that you use Checkout API v68 or later. | | | **Redirect handling** | Make sure that your existing integration is set up to [handle the redirect](https://docs.adyen.com/online-payments/build-your-integration/sessions-flow?platform=iOS\&integration=Components#handle-the-redirect). `action.type`: **redirect** | | | **Setup steps** | Before you begin, [add Wero in your Customer Area](https://docs.adyen.com/payment-methods/add-payment-methods). | | ### Add-Parameters-Sessions-Request ## Add additional parameters to your /sessions request You do not need to add any parameters when you [create a payment session](https://docs.adyen.com/online-payments/build-your-integration/sessions-flow?platform=iOS\&integration=Components#create-a-payment-session). ### Add-Configuration ## Add additional configuration for Wero You do not need to add any configuration parameters for Wero. ### Initialize ## Initialize the Component for Wero To [initialize](https://docs.adyen.com/payment-methods/wero/ios-component#initialize-the-component) Wero, use the `None` class. **Initialize the Component** ```swift let paymentMethods = session.sessionContext.paymentMethods // Check that the payment method is supported before showing the Component. guard let paymentMethod = paymentMethods.paymentMethod(ofType: None.self) else { return } // Create an instance of None. let component = None(paymentMethod: paymentMethod, context: context, // Set the configuration object that you created for Wero. configuration: weroConfiguration) self.currentComponent = component // Set the session as the delegate. component.delegate = session // Present the Component. let componentViewController = viewController(for: component) present(componentViewController) ``` ## Test and go live From your checkout page, you are always redirected to a test payment page where you can simulate different Wero result codes. * AUTHORIZED : Successful payment * REFUSED : Refused payment * CANCELLED : Cancelled payment * ERROR : Technical failure The test payment page redirects you back to your checkout page after selecting a result code. ## Advanced flow Component ### Before-You-Begin ## Requirements | Requirement | Description | | | --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - | | **Integration type** | Make sure that you have an existing Advanced flow [iOS Components integration](https://docs.adyen.com/online-payments/build-your-integration/advanced-flow?platform=iOS\&integration=Drop-in). | | | **Redirect handling** | Make sure that your existing integration is set up to [handle the redirect](https://docs.adyen.com/online-payments/build-your-integration/advanced-flow/?platform=iOS\&integration=Components#handle-the-redirect). `action.type`: **redirect** | | | **Setup steps** | Before you begin, [add Wero in your Customer Area](https://docs.adyen.com/payment-methods/add-payment-methods). | | ### Add-Configuration ## Add additional configuration for Wero You do not need to add any configuration parameters for Wero. ### Initialize ## Initialize the Component for Wero To [initialize](https://docs.adyen.com/payment-methods/wero/ios-component#initialize-the-component) Wero, use the `None` class. **Initialize the Component** ```swift // Check that the payment method is supported before showing the Component. guard let paymentMethod = paymentMethods.paymentMethod(ofType: None.self) else { return } // Create an instance of None. let component = None(paymentMethod: paymentMethod, context: context, // Set the configuration object that you created for Wero. configuration: weroConfiguration) self.currentComponent = component // Set the Component as the delegate. component.delegate = self // Present the Component. let componentViewController = viewController(for: component) present(componentViewController) ``` ### Add-Parameters-Payments-Request ## Add additional parameters to your /payments request You do not need to add any parameters to the [/payments](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments) request when you [make a payment](https://docs.adyen.com/online-payments/build-your-integration/advanced-flow/?platform=iOS\&integration=Components#make-a-payment). ## Test and go live From your checkout page, you are always redirected to a test payment page where you can simulate different Wero result codes. * AUTHORIZED : Successful payment * REFUSED : Refused payment * CANCELLED : Cancelled payment * ERROR : Technical failure The test payment page redirects you back to your checkout page after selecting a result code.