Install in seconds

It’s as easy as adding a CocoaPod. moltin is simple, incredibly powerful & lightning fast. With a fully native SDK, it’s super simple to use in both Objective-C & Swift.

1
2
3
4
import Moltin

// Instantiate with our store ID...
Moltin.sharedInstance().setPublicId("Your store ID")

Simple and powerful shopping cart

The moltin iOS SDK allows you to quickly and easily add a shopping cart to your native iOS app, in Objective-C or Swift.

1
2
3
4
5
6
7
8
let productId:String = product!.objectForKey("id") as! String
  let quantity = 1

  Moltin.sharedInstance().cart.insertItemWithId(productId, quantity: 1, andModifiersOrNil: nil, success: { (response) -> Void in
      println("Successfully added the product to the cart.")
  }, failure: { (response, error) -> Void in

})
The fastest eCommerce platform

Blazing fast

Make your online store truly mobile-ready by bringing your products from your web store directly into your native iOS app, with our simple to use native SDK.

Process payments

moltin aggregates over 50 of the most popular payment gateways, allowing you to choose your preferred provider. You can also integrate Apple Pay with your store’s iOS app via Stripe - like in our example app.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
let paymentParameters = [
  "data" as NSObject: [
    "number":       "4242424242424242",
    "month": "02",
    "year":  "2020",
    "verification_value": "123"
  ]
 ] as [AnyHashable: Any]

 let orderId = "" // your order ID from the previous order creation stage goes here.

 Moltin.sharedInstance().checkout.payment(withMethod: "purchase", order: orderId, parameters: paymentParameters, success: { (response) -> Void in
     // Payment successful...
     print("Payment successful: \(response)")

 }, failure: { (response, error) -> Void in
     // Payment error
     print("Payment error: \(error)")
 })

A feature rich storefront

Inventory, carts, categorization, search, checkout and more, all in either Objective-C or Swift. Take a look at our example apps or download the SDK and get started today!

iOS eCommerce SDK