如何从Soomla店面购买物品?

时间:2014-08-17 10:57:53

标签: objective-c in-app-purchase soomla

在开源框架中,这是购买项目的代码:

[StoreInventory buyItemWithItemId:@"[itemId]"]

从店面购买商品的等效代码是什么?

https://github.com/soomla/ios-store

1 个答案:

答案 0 :(得分:0)

如果您使用的是Storefront,购买商品的代码是: ([StoreInventory buyItemWithItemId:@"your_item_id"])

请参阅http://answers.soom.la/t/closed-storeinventory-item/270