I am using paypalcheckout-ios for adding payment to my app.
Basing on the paypal documentation it can work in two different mode native or not native (web based).
The switching between the two mode is strictly related to the merchant and/or customer country.
https://developer.paypal.com/limited-release/paypal-mobile-checkout/
Non native mode (web fallback)
How can I test the web fallback for not native eligible use case on iOS?
With Android SDK it can be done setting true the shouldFailEligibility in SettingsConfig but I am not able to find anything similar in iOS sdk.
class SettingsConfig(
/**
* Enables Checkout SDK logs. It is recommended to disable this when releasing to production.
*/
val loggingEnabled: Boolean = false,
/**
* This should remain false in production!
*
* Enabling this will cause eligibility to always fail. This provides a way to test web
* fallback.
*/
val shouldFailEligibility: Boolean = false
)
In version 0.112.0 (see release note) a specific flag was added to CheckoutConfig. It can be used for testing the web fallback for not native eligible use case on iOS
CheckoutConfig.showWebCheckout = true