SwiftInAppPurchase alternatives and similar libraries
Based on the "Payments" category.
Alternatively, view SwiftInAppPurchase alternatives based on common mentions on social networks and blogs.
-
SwiftyStoreKit
Lightweight In App Purchases Swift framework for iOS 8.0+, tvOS 9.0+ and macOS 10.10+ ⛺ -
card.io-iOS-SDK
card.io provides fast, easy credit card scanning in mobile apps -
RevenueCat
In-app purchases and subscriptions made easy. Support for iOS, iPadOS, watchOS, and Mac. -
CreditCardForm-iOS
CreditCardForm is iOS framework that allows developers to create the UI which replicates an actual Credit Card. -
merchantkit
A modern In-App Purchases management framework for iOS. -
TPInAppReceipt
Reading and Validating In App Purchase Receipt Locally. -
MFCard
Easily integrate Credit Card payments module in iOS App. Swift 4.0 -
monza
Ruby Gem for Rails - Easy iTunes In-App Purchase Receipt validation, including auto-renewable subscriptions -
YRPayment
Better payment user experience library with cool animation in Swift -
SwiftLuhn
Debit/Credit card validation port of the Luhn Algorithm in Swift -
TipJarViewController
Easy, drop-in tip jar for iOS apps. -
AnimatedCardInput
Easy to use iOS library with components for input of Credit Card data. -
InAppFramework
In App Purchase Manager framework for iOS -
Glassfy
Open source SDK to quickly integrate subscriptions, stop worring about code maintenance, and getting advanced real-time data. Full support for iOS, iPadOS, WatchOS, MacOS
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of SwiftInAppPurchase or a related project?
README
SwiftInAppPurchase
Simply code In App Purchases with this Swift Framework
Usage
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Installation
SwiftInAppPurchase is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "SwiftInAppPurchase"
Author
Rawd, [email protected]
License
SwiftInAppPurchase is available under the Apache 2.0 license. See the LICENSE file for more info.
Production Mode
SwiftInAppPurchase.sharedInstance.setProductionMode(false)
Request Products
var productIden = Set<String>()
productIden.insert("com.irawd.test.30d")
let iap = SwiftInAppPurchase.sharedInstance
iap.requestProducts(productIden) { (products, invalidIdentifiers, error) -> () in
}
Purchase
let iap = SwiftInAppPurchase.sharedInstance
iap.addPayment("com.irawd.test.30d", userIdentifier: nil) { (result) -> () in
switch result{
case .Purchased(let productId,let transaction,let paymentQueue):
paymentQueue.finishTransaction(transaction)
case .Failed(let error):
print(error)
default:
break
}
}
RefreshReceipt
let iap = SwiftInAppPurchase.sharedInstance
iap.refreshReceipt { (error) -> () in
print(error)
}
VerifyReceipt
let iap = SwiftInAppPurchase.sharedInstance
iap.verifyReceipt(nil) { (receipt, error) -> () in
print(receipt)
print(error)
}
Restore
let iap = SwiftInAppPurchase.sharedInstance
iap.restoreTransaction(nil) { (result) -> () in
switch result{
case .Restored(let productId,let transaction,let paymentQueue) :
paymentQueue.finishTransaction(transaction)
case .Failed(let error):
print(error)
default:
break
}
}
CheckIncompleteTransaction
let iap = SwiftInAppPurchase.sharedInstance
iap.checkIncompleteTransaction { (result) -> () in
switch result{
case .Purchased(let productId,let transaction,let paymentQueue):
paymentQueue.finishTransaction(transaction)
case .Restored(let productId,let transaction,let paymentQueue) :
paymentQueue.finishTransaction(transaction)
default:
break
}
}
*Note that all licence references and agreements mentioned in the SwiftInAppPurchase README section above
are relevant to that project's source code only.