BTPayPalRequestIntent
Objective-C
enum BTPayPalRequestIntent : NSInteger {}
Swift
enum BTPayPalRequestIntent : Int, @unchecked Sendable
Payment intent.
Note
Must be set to BTPayPalRequestIntentSale for immediate payment, BTPayPalRequestIntentAuthorize to authorize a payment for capture later, or BTPayPalRequestIntentOrder to create an order. Defaults to BTPayPalRequestIntentAuthorize. Only applies to PayPal Checkout.
See
https://developer.paypal.com/docs/integration/direct/payments/capture-payment/ Capture payments later
See
https://developer.paypal.com/docs/integration/direct/payments/create-process-order/ Create and process orders
-
Authorize
Declaration
Objective-C
BTPayPalRequestIntentAuthorize = 1
Swift
case authorize = 1
-
Sale
Declaration
Objective-C
BTPayPalRequestIntentSale
Swift
case sale = 2
-
Order
Declaration
Objective-C
BTPayPalRequestIntentOrder
Swift
case order = 3