Skip to content

An Objective-C demo app using the Moltin iOS SDK.

License

Notifications You must be signed in to change notification settings

sidm/ios-objc-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Moltin Objective-C iOS Example app

An example app that thoroughly demonstrates how to use the Moltin iOS eCommerce SDK in Objective-C, along with Apple Pay.

Prefer Swift? Check out our Swift example app instead

Getting started

This demo app uses CocoaPods to manage dependencies.

  • Clone the project repository
  • Run pod install in the MoltinSDK iOS Example directory
  • Open the .xcworkspace file
  • You're all set.

Using Apple Pay

To use Apple Pay in the example app, you must have:

  • A Stripe account.
  • A Moltin store set up with the Stripe payment gateway enabled and associated with your Stripe account.
  • A paid Apple Developer account.

Once you have that sorted, you can follow these steps:

  • Change the app's bundle ID from com.moltin.Moltin to something unique.
  • Follow this guide to register your Merchant ID, create a certificate with Stripe and upload it to Apple.
  • Change the value of the StripePublishableKey constant in CartViewController.m to your Stripe account's publishable API key.

Then you're all set to use Apple Pay at the checkout in the demo app!

About

An Objective-C demo app using the Moltin iOS SDK.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 99.9%
  • Ruby 0.1%