Welcome to the Olo Pay SDK
PCI compliance is your responsibility. The Olo Pay SDK enables simplifies your process of maintaining PCI compliance by doing the heavy lifting of processing sensitive credit card data for you. See below for details on adding the SDK to your project and integrating it into your app to submit payments to Olo’s Ordering API.
Useful Links
Setup
Follow one of the following guides to add the Olo Pay SDK to your Xcode project
Getting Started
- Initialize the SDK on application startup
- Specify the environment in
OPSetupParameters
- Specify the environment in
- Add a payment input control to your app
See
SeeOPPaymentCardDetailsView
See
SeeOPPaymentCardDetailsForm
See
SeeOPApplePayContext
- Create a payment method
- Each payment input control provides a way to get an instance of
OPPaymentMethodParamsProtocol
- Get an
OPPaymentMethodProtocol
instance by callingOloPayAPI.createPaymentMethod(with:completion:)
- Each payment input control provides a way to get an instance of
- Submit the
OPPaymentMethodProtocol
data to the Basket Submit endpoint of Olo’s Ordering API