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
Getting Started
The Olo Pay SDK enables easy PCI-compliant payment integration with the Olo Ordering API. At a high level, usage follows this paradigm:
- Initialize the SDK on application startup
See SeeOloPayAPIGateway.setup(withParameters:)
- Add a payment control to your app
See SeeOPPaymentCardDetailsViewSee SeeOPPaymentCardDetailsFormSee SeeOPApplePayContextImpl
- Using the OPPaymentMethodParamsinstance from the payment control, create anOPPaymentMethodinstanceSee SeeOloPayAPIGateway.createPaymentMethod(with:completion:)
- Submit the OPPaymentMethoddata to the Basket Submit endpoint of Olo’s Ordering API
 Reference
          Reference