Integration guide for iOS

4 step process to start selling your own game merchandise

Version: 2

Date: 16/05/2019

Process:


Step 1. Installation

1.1. Install Shopify’s Mobile Buy SDK. Instructions on how to install Shopify for Monetizr SDK​

1.2. Install AFNetworking 3.x

1.3. Add Monetizr SDK to your Xcode project.


Step 2. Set up

2.1. Import the header.

#import "Monetizr.h";

2.2. The Monetizr.plist is preconfigured for you. For reference, the demo API Key is:

3adca63cc172c5ae919e5a2529f4f2a8

2.2.1. Monetizr.plist configuration

@{
      @"apiUrl": @"", // Provided by TheMonetizr
      @"applePayMerchantId": @"", // Optional
      @"appId": @"", // Provided by TheMonetizr
      @"shopDomain": @"", // Provided by TheMonetizr
      @"apiKey": @"", // Provided by TheMonetizr
      @"developerApiKey": @"", // Provided by TheMonetizr
};

2.3. Optional: Upon request, we will provide you with a Certificate Signing Request (CSR) for Apple Pay, see Instructions on how to use Apple Pay


Step 4. Create merch store (optional)

4.1. Create a new view for the merch store. See the wireframe on the right.

4.2. For each product, create a block that consists of both, a product image and a button with the price.

4.3. Link the buttons to the correct product as described in Step 3. Link products

 

merch_vertical merch_horizontal


Vertical and horizontal

The merch store view can be created in both vertical and horizontal arrangements. See examples:

vert1 vert2 vert3


hor1 hor2

You're done!

You have successfully integrated Monetizr SDK. You can now test it by making a test order.


Contact Information

If you have other questions, book a meeting.

I’m also available at 📧 martins@themonetizr.com 📱🇺🇸: +1 917-943-8791

martins

Got questions? Contact me!

Martins