No momento, esta página não está disponível em português
Payment-method icon

Online banking Slovakia iOS Component

Add Online banking Slovakia to your Components integration.

You can add Online banking Slovakia to your existing integration. The following instructions show only what you must add to your integration specifically for Online banking Slovakia.

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 that your integration uses:

Sessions flow
Advanced flow

Start integrating with Sessions flow Component

Choose your version
5.14.0

Requirements

Requirement Description
Integration type Make sure that you have an existing Sessions flow iOS Components integration.
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.
action.type: redirect
Setup steps Before you begin, add Online banking Slovakia in your Customer Area.

Add additional parameters to your /sessions request

You do not need to add any parameters when you create a payment session.

Add additional configuration for Online banking Slovakia

You do not need to add any configuration parameters for Online banking Slovakia.

Initialize the Component for Online banking Slovakia

To initialize Online banking Slovakia, use the OnlineBankingComponent class.

Initialize the Component
Expand view
Copy link to code block
Copy code
Copy code
let paymentMethods = session.sessionContext.paymentMethods
// Check that the payment method is supported before showing the Component.
guard let paymentMethod = paymentMethods.paymentMethod(ofType: InstantPaymentMethod.self) else { return }
let component = OnlineBankingComponent(paymentMethod: paymentMethod,
context: context,
// Set the configuration object that you created for Online banking Slovakia.
configuration: )
self.currentComponent = component
// Set the session as the delegate.
component.delegate = session
present(component)

Test and go live

Test Online banking Slovakia payments with real payment details and small amounts.

Check the status of your test Online banking Slovakia payments in your Customer Area > Transactions > Payments.

To accept live Online banking Slovakia payments, add it as a payment method in your Customer Area.