BTPayPalRequestUserAction
@objc
public enum BTPayPalRequestUserAction : Int
The call-to-action in the PayPal flow.
Note
By default the final button will show the localized word for “Continue” for Checkout requests or “Save and Continue” for Vault requests and implies that the final amount billed is not yet known.Setting the BTPayPalCheckoutRequest.userAction to .payNow changes
the button text to “Pay Now”, conveying to the user that billing will take place immediately.
Setting the BTPayPalVaultRequest.userAction to .setupNow changes the button text to “Setup Now”, conveying to
the user that the funding instrument will be set up for future payments.
-
Default
Declaration
Swift
case none -
Pay Now - this value can only be passed for the
BTPayPalCheckoutRequestDeclaration
Swift
case payNow -
Setup Now - this value can only be passed for the
BTPayPalVaultRequestDeclaration
Swift
case setupNow
View on GitHub