On this page, you can find additional configuration for adding Walley to your Components integration.
Before you begin
Before continuing, complete the following:
- Build your Components integration.
- Add Walley in your Customer Area by contacting our Support Team.
Walley for iOS works with all versions of Components.
API reference
You must include the following fields when making a /sessions request:
Parameter name | Required | Description |
---|---|---|
telephoneNumber | ![]() |
The shopper's telephone number. You must collect a working mobile phone number (including country code) from the customer. Incorrect or missing numbers will fail Walley's validation. |
shopperEmail | ![]() |
The shopper's email address. |
lineItems.id | ![]() |
The ID of the line item. |
lineItems.description | ![]() |
A description of the line item. |
lineItems.amountExcludingTax | ![]() |
The item amount excluding the tax, in minor units. |
lineItems.taxAmount | ![]() |
The tax amount, in minor units. |
lineItems.taxPercentage | ![]() |
The tax percentage, in minor units. |
lineItems.quantity | ![]() |
The number of items. |
Component configuration
If your integration uses iOS Components v5.0.0 or later, configure and create an instance of the Walley Component:
//Create a payment method object for Walley.
let paymentMethod = paymentMethods.paymentMethod(ofType: walleyComponentPaymentMethod.self)
//Create a configuration object for the Walley Component.
var walleyComponentConfiguration = walleyComponent.Configuration()
//Set additional parameters on the configuration object.
walleyComponentConfiguration.localizationParameters = //Optional custom localization parameters.
There is no required Walley-specific integration for Components.
Test and go live
There is no test environment available for Walley. Verify payments with real payment details and small amounts.
Check the status of Walley verification payments in your Customer Area > Transactions > Payments.