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.

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:


  1. Initialize the SDK on application startup

    See

    See OloPayAPIGateway.setup(withParameters:)
  2. Add a payment control to your app

    See

    See OPApplePayContextImpl
  3. Using the OPPaymentMethodParams instance from the payment control, create an OPPaymentMethod instance

    See

    See OloPayAPIGateway.createPaymentMethod(with:completion:)
  4. Submit the OPPaymentMethod data to the Basket Submit endpoint of Olo’s Ordering API