Drop-in#
Drop-in is the fastest way to integrate Plexy: a single view controller renders the full checkout UI and reports the result through a delegate.shopperLocale / locale is the checkout interface language and regional formatting, for example ru-KZ, en-US, or kk-KZ. Do not use it as a currency field. Currency belongs only in amount.currency, for example KZT.
Quick Start#
Presenting Drop-in#
Hide Cardholder Name Field#
Set the card holder name field visibility to false:Delegate Methods#
SwiftUI#
Wrap Drop-in in a UIViewControllerRepresentable:Apple Pay#
Add the Apple Pay capability and merchant ID in your project's Signing & Capabilities tab.Error Handling#