Download

- Stars (0)

0 Downloads

Version: 1.0

Last Updated: 27-09-2019 3:21

Share
DescriptionVersions
Billing.aix

https://aix.pavi2410.tk/Billing

 

Hello, I am presenting you the extension for in-app purchases.

It is based on Anjlab’s library (version 1.0.39)


INSTRUCTIONS

  • Upload your apk to Google Play to alpha/beta/prod, and wait for your app to be published.
  • You must create and activate the product ID in order to make purchases happen.
  • For apps uploaded in alpha, use accounts used for testing only and get the link to app from Opt-in URL in Manage Releases section of your apps.
  • Get License Key from your app’s Services & API section.
  • Get Merchant ID from Payment Settings from Developer console.

ERROR CODES

Learn about the error codes that you may receive using ErrorOccurred event block. I’ve made a list of error codes so you know what does that all mean. Meaning of each error code has been written against that error code.

Error CodeMeaning
0BILLING_RESPONSE_RESULT_OK
1BILLING_RESPONSE_RESULT_USER_CANCELED
2BILLING_RESPONSE_RESULT_SERVICE_UNAVAILABLE
3BILLING_RESPONSE_RESULT_BILLING_UNAVAILABLE
4BILLING_RESPONSE_RESULT_ITEM_UNAVAILABLE
5BILLING_RESPONSE_RESULT_DEVELOPER_ERROR
6BILLING_RESPONSE_RESULT_ERROR
7BILLING_RESPONSE_RESULT_ITEM_ALREADY_OWNED
8BILLING_RESPONSE_RESULT_ITEM_NOT_OWNED

Some more error codes:

Error CodeMeaning
100BILLING_ERROR_FAILED_LOAD_PURCHASES
101BILLING_ERROR_FAILED_TO_INITIALIZE_PURCHASE
102BILLING_ERROR_INVALID_SIGNATURE
103BILLING_ERROR_LOST_CONTEXT
104BILLING_ERROR_INVALID_MERCHANT_ID
105BILLING_ERROR_INVALID_DEVELOPER_PAYLOAD
110BILLING_ERROR_OTHER_ERROR
111BILLING_ERROR_CONSUME_FAILED
112BILLING_ERROR_SKUDETAILS_FAILED
113BILLING_ERROR_BIND_PLAY_STORE_FAILED

Found at https://goo.gl/q2QnR5


Demo

Test this extension using this app.