Skip to content

Cafebazaar In-app purchase extension for Defold افزونه پرداخت درون برنامه‌ای کافه بازار موتور بازی سازی دفولد

License

dev-masih/cafebazaar-iap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cafebazaar In-app purchase extension for Defold Game engine

cafebazaar-iap banner

مشاهده این راهنما به زبان فارسی

This is a Defold native extension which provides access to In-app purchase functionality on Cafebazaar platform.
This extension is a stripped-down and modified version of the official defold IAP extension that made compatible with Cafebazaar IAP mechanism.

Installation

You can use Cafebazzar In-app purchase in your project by adding this project as a Defold library dependency. Open your game.project file and in the dependencies field under project add:

https://github.com/dev-masih/cafebazaar-iap/archive/master.zip

Once added, you can use Cafebazzar In-app purchase functions using module iapc.

Official Defold game asset page for Cafebazaar In-app purchase extension

Documentations

To learn how to use IAP please visit the documentation page for official defold IAP extension.
The manual for Defold official IAP extension is available on the official Defold site.

The only things different when you use this extension is you should use iapc module name instead of iap and get_provider_id function is removed due to it doesn't have any use anymore.
Automatic finish call mechanism after each buy will obey the value of original IAP setting (iap.auto_finish_transactions) that is available in game.project file.

If you have any issues, questions or suggestions please create an issue.

Contributors

Big thanks to Defold development team. Without their efforts on the official defold IAP extension this extension wouldn't exist.

Donations

If you really like my work and want to support me, consider donating to me with LTC, BTC or ETH. All donations are optional and are greatly appreciated. 🙏

LTC BTC ETH
LTC BTC ETH
ltc1qm6r32vjahm8wwd688enxnutks0jffc3kqg7ps5 bc1qcuuc5r4jw38vf2eztsxag68papuwzd25chrepx 0x02c22832bc115933Ac11388D5A91e0990eE84667

License

Cafebazaar-IAP is released under the MIT License. See the bundled LICENSE file for details.

About

Cafebazaar In-app purchase extension for Defold افزونه پرداخت درون برنامه‌ای کافه بازار موتور بازی سازی دفولد

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published