No description, website, or topics provided.
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
cpp v2.3.18.8 Apr 4, 2018
js upgrade target sdk Aug 1, 2018
lua upgrade iap to Jan 14, 2019
.gitignore update ignore file Apr 28, 2016 update readme Dec 8, 2017
setup update setup Feb 9, 2018
setup_win32.bat win32 setup & update readme Dec 19, 2016

sdkbox IAP samples

Getting Started

Make sure to run setup script first to download the cocos2d-x engine


If the setup script runs correctly the folder structure should look like this

+-- sdkbox-cocos2d-x-binary
+-- sdkbox-sample-iap
| +-- cpp
| +-- lua
| \-- js


Test IAP for iOS

  • iOS simulator don't support purchase, please test with a real device.
  • You need to use your iTunesConnect account to create a test user in order to test IAP
  • Update bundle identifier to match your own bundle identifier

Test IAP for android

  1. To test Android IAP you need to opt-in as an alpha tester here
  2. You can only test IAP in release build
  3. Replace the key with your key. In, open your game, follow menu "Development tools -> Services & APIs -> in-app billing"

Run the following command

cocos run -p android -m release


For more information, check out the SDKBOX IAP plugin