Troubleshooting

Session creation

SymptomCauseFix
The iOS SDK is not available for your applicationThe iOS SDK is not enabled for the application.Ask your CSM to enable it, for the sandbox and live applications.
Incorrect app return urlapp_return_url is missing or is not a custom-scheme link or an https URL with a host.Send a valid app_return_url with every channel: ios_sdk session.
Incorrect channelchannel has a value other than web or ios_sdk.Send ios_sdk.
The iOS SDK channel is not available for this session typeThe session is a virtual terminal, manual or payment link session.Create a regular cashier session.
The response has no redirect_urlExpected for iOS SDK sessions.Use session.auth_token with the SDK.

See Create a cashier session.

Opening the Cashier

SymptomCauseFix
The Cashier ends at once with configuration_errorThe session was created without channel: "ios_sdk" (a web session).Add channel and app_return_url to the Cashier Payment Request.
The Cashier ends with invalid_tokenThe token is empty. Nothing was sent.Pass session.auth_token from your server.
The Cashier ends with session_unavailableThe Cashier could not read the session: for example, the token is from another environment, or the session no longer exists.Check that the session was created in the environment you pass (.sandbox or .live), and create a new session.
The Cashier ends with session_expiredMore than 15 minutes have passed since the Cashier first opened the session.Create a new session.
A compile error when you store a CashierViewCashierView is generic over its layout.Write the full type, for example CashierView<Cashier.AmountFirstLayout>.

Payment methods

SymptomCauseFix
The method list is empty when the Cashier opensThe methods load once an amount above zero and a currency are set.Send amount with the session, or let the customer enter one.
The Cashier shows "no payment methods" and ends with no_payment_methodNo method is available for the session, intent and currency.Check the gateways configured for your application and currency with your CSM.
The Cashier ends with configuration_error after it loadsYour methodFilter returned no id from the list it got.Check your filter, and that it returns ids from the list it gets.
A saved card is missing.savedInstruments is off, or your filter removed saved- rows.Turn the feature on, or keep the rows in your filter.

Payments and returns

SymptomCauseFix
The customer does not come back from a bank appYour app does not register the app_return_url.Register the URL scheme or Universal Link (see Register the return URL).
A 3-D Secure or provider page does not load, or stays blankThe page is not https, or the provider does not support in-app web views.Check the method on a real device and contact your CSM with the traceID. See 3-D Secure and provider pages.
The result is .pending after a 3-D Secure or provider pageThe customer closed the page before the provider confirmed, or the provider confirms later.Wait for the Payment Notification; do not ask the customer to pay again.
The result is .pendingThe payment is still processing at the provider, or the Cashier was closed while it ran.Wait for the Payment Notification on your server.
The result is .completed but no Payment Notification arrivedThe notification is delayed or your endpoint refused it.Check that notification_url is reachable over HTTPS and answers successfully. Never credit the customer without the notification.
A card brand error shows on the card number after payingThe brand is not allowed for the session.Expected: brands are checked when the card is submitted, not while the customer types.

Layouts and customization

SymptomCauseFix
The main button stays disabled, and layout_incomplete is sent with reason requiredBlockYour layout leaves out a block the payment needs.Add the block. Put Terms in the bottom area of every page. See Blocks and containers.
layout_incomplete with reason duplicateSealedTwo card blocks are on screen at once.Show one card block at a time.
layout_incomplete with reason presentation; only the amount section opensYour layout uses no SDK container and does not declare its presentation.Add .cashierPresentation(.single) or .cashierPresentation(.paged).
The app stops when slot content reads the session@Environment(CashierSession.self) is nil inside slot content.Read @Environment(.cashierSlotContext) instead.
The Deposit / Withdraw tabs are missingThe header was replaced or hidden.Keep Cashier.Header in sessions with more than one intent.
A configuration value or text has no effect, and configuration_value_ignored is sentThe value is invalid (for example a hex color without #, a negative corner radius or amount, a URL that is not https) or the text key is unknown.Read ignoredName in the event and fix that value.
No quick amount buttons or promotions showBoth are off by default. Or no quick amount list matches the session's method, currency and transaction type.Set amount.quickAmounts or promotions.style. Check the currency and intent of your lists.
A setting changed in the Praxis Backoffice (Theme Editor) has no effect in the appThe SDK does not read those settings.Set the value in CashierConfiguration.
Your font does not showThe font is not registered in your app. The Cashier falls back to a system font.Register the font in your app and pass its family name.
A text shows its key instead of wordingNo text exists for that key in the session language.Set the text with CashierTexts.

Contacting support

When you contact your CSM about a payment, include the orderID, transactionID, traceID and errorCode.rawValue of the CashierResult, the SDK version, the iOS version and the sequence of event names you received.


Did this page help you?