Payment Drop-In Button

Payment Drop-In Buttons

Drop-in buttons extend standard buttons in order to easily integrate separate payment brands to your app. This article is intended to guide you through the process of creating and configuring drop-in buttons.

Before you start adding buttons, please install the SDK and set up your server. Then you can proceed with the following guide.



Apple Pay Button Types

Several Apple Pay button types and styles are provided that you can use in your app. Beginning in iOS 14 and macOS 11, you can use the automatic style to let the current system appearance determine the appearance of the Apple Pay buttons in your app. Apple Pay button type can be customised with checkoutSettings.applePayType property but only to checkout payment selection screen and not the payment button integration.

The Apple Pay button type "continue" is supported for the iOS 15 and above.

//Apple Pay button type is set to Buy
checkoutSettings.applePayType = PKPaymentButtonTypeBuy;
//Apple Pay button type is set to Buy
checkoutSettings.applePayType = PKPaymentButtonType.buy
NOTE: By default PKPaymentButtonTypePlain/plain button type will be set. You can change the button type by setting the checkoutSettings.applePayType property to any of the PKPaymentButtonType value available at Objective-C Apple Pay Button Types documentation for Objective-C and Swift Apple Pay Button Types documentation for Swift.