Skip to content

[Deprecated] TheMonetizr SDK for Shopify makes it simple to sell physical products inside your mobile app. With a few lines of code, you can let your users buy products using Apple Pay or their credit card.

License

themonetizr/The-Monetizr-SDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub license GitHub release

TheMonetizr SDK for iOS

TheMonetizr SDK makes it simple to sell physical products inside your mobile app. With a few lines of code, you can let your users buy products using Apple Pay or their credit card.

TheMonetizr SDK requires Shopify’s Mobile Buy SDK distributed under MIT license

Documentation

Official documentation can be found on the TheMonetizr website.

Installation

Install Shopify’s Mobile Buy SDK

Install AFNetworking 3.x

Download TheMonetizr

Add Monetizr-SDK to your Xcode project.

Quick Start

  • Import the header
#import "Monetizr.h";
  • Setup and enable Apple Pay in your project (Optional)

Find setup instructions on Apple developer website and The Monetizr website. Use Certificate Signing Request (CSR) provided by TheMonetizr.

  • Configure Monetizr.plist
@{
    @"apiUrl": @"", // Provided by TheMonetizr
    @"applePayMerchantId": @"", // Optional
    @"appId": @"", // Provided by TheMonetizr
    @"shopDomain": @"", // Provided by TheMonetizr
    @"apiKey": @"", // Provided by TheMonetizr 
    @"developerApiKey": @"", // Provided by TheMonetizr 
};
  • To open product view using Product ID
[Monetizr showProductWithID:@"Provided product ID"]
  • To open product view using Product ID and get callback
[Monetizr showProductWithID:@"11645793606" completion:^(BOOL success, NSError *error)]
  • To open product view using Product TAG
[Monetizr showProductForTag:@"TAG" forUser:@"user"]
  • To open product view using Product TAG and get callback
[Monetizr showProductForTag:@"TAG" forUser:@"user" completion:^(BOOL success, NSError *error)]

Help

For help, please contact TheMonetizr.

License

TheMonetizr SDK is provided under an MIT Licence. See the LICENSE file

About

[Deprecated] TheMonetizr SDK for Shopify makes it simple to sell physical products inside your mobile app. With a few lines of code, you can let your users buy products using Apple Pay or their credit card.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •