Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/j3k0/cordova-plugin-purchase
/ functions
Functions
1,331 in github.com/j3k0/cordova-plugin-purchase
⨍
Functions
1,331
◇
Types & classes
595
Method
getApplicationUsername
* Get the application username as a string by either calling or returning {@link Store.applicationUsername}
www/store.js:1871
Method
getApplicationUsername
* Get the application username as a string by either calling or returning {@link Store.applicationUsername}
src/ts/store.ts:116
Method
getAvailableProducts
(inAppSkus: string[], subsSkus: string[], success: (validProducts: (InAppProduct | Subscription)[]) => void, f
www/store.d.ts:4861
Method
getAvailableProducts
(inAppSkus, subsSkus, success, fail)
www/store.js:6829
Method
getAvailableProducts
(inAppSkus, subsSkus, success, fail)
www/store.js:7074
Method
getAvailableProducts
Query available products (INAPP + SUBS). Returns { products: [...] } matching the CapacitorBridge expectation.
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:551
Method
getAvailableProducts
(inAppSkus: string[], subsSkus: string[], success: (validProducts: (InAppProduct | Subscription)[]) => void, f
src/ts/platforms/google-play/googleplay-bridge.ts:315
Method
getAvailableProducts
(inAppSkus: string[], subsSkus: string[], success: (validProducts: (InApp
src/ts/platforms/google-play/googleplay-bridge-capacitor.ts:148
Function
getDeviceInfo
(store)
www/store.js:9217
Function
getDeviceInfo
(store: PrivacyPolicyProvider)
src/ts/validator/validator-deviceinfo.ts:104
Method
getPublicKey
()
src/android/cc/fovea/PurchasePlugin.java:315
Method
getPurchases
(success: () => void, fail: ErrorCallback)
www/store.d.ts:4856
Method
getPurchases
(success, fail)
www/store.js:6783
Method
getPurchases
(success, fail)
www/store.js:7036
Method
getPurchases
Query existing purchases. Results arrive via the "setPurchases" event.
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:597
Method
getPurchases
(success: () => void, fail: ErrorCallback)
src/ts/platforms/google-play/googleplay-bridge.ts:275
Method
getPurchases
(success: () => void, fail: ErrorCallback)
src/ts/platforms/google-play/googleplay-bridge-capacitor.ts:93
Method
getStorefront
* Retrieve the billing country code from the platform's storefront. * * Returns an ISO 3166-1 alpha-2 country code (e.g., "US", "FR"
www/store.d.ts:1543
Method
getStorefront
Retrieve the storefront country code (alpha-3 on iOS)
www/store.d.ts:2954
Method
getStorefront
* Retrieve the billing country code from the platform's storefront. * * Returns a `Storefront` object with the platform and its ISO
www/store.js:2434
Method
getStorefront
()
www/store.js:3939
Method
getStorefront
Retrieve the storefront country code from StoreKit
www/store.js:4262
Method
getStorefront
Retrieve the storefront country code from StoreKit
www/store.js:4545
Method
getStorefront
Retrieve the storefront country code from StoreKit
www/store.js:4951
Method
getStorefront
(success, fail)
www/store.js:6846
Method
getStorefront
Retrieve the user's Play Store billing country code (ISO 3166-1 alpha-2).
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:762
Method
getStorefront
* Retrieve the user's storefront country code. * * iOS returns an ISO 3166-1 alpha-3 code (e.g., "USA"); Android returns * an alpha-2 code (e
capacitor/src/definitions.ts:49
Method
getStorefront
* Retrieve the billing country code from the platform's storefront. * * Returns a `Storefront` object with the platform and its ISO
src/ts/store.ts:882
Method
getStorefront
()
src/ts/platforms/test/test-adapter.ts:288
Method
getStorefront
()
src/ts/platforms/apple-appstore/appstore-adapter.ts:887
Method
getStorefront
Retrieve the storefront country code from StoreKit
src/ts/platforms/apple-appstore/appstore-bridge-capacitor.ts:325
Method
getStorefront
Retrieve the storefront country code from StoreKit
src/ts/platforms/apple-appstore/appstore-bridge-sk2.ts:368
Method
getStorefront
Retrieve the storefront country code from StoreKit
src/ts/platforms/apple-appstore/appstore-bridge.ts:646
Method
getStorefront
Retrieve the storefront country code (alpha-3 on iOS)
src/ts/platforms/apple-appstore/appstore-bridge-interface.ts:48
Method
getStorefront
()
src/ts/platforms/google-play/googleplay-adapter.ts:609
Method
getStorefront
(success: (countryCode: string) => void, fail: ErrorCallback)
src/ts/platforms/google-play/googleplay-bridge.ts:330
Method
getStorefront
(success: (countryCode: string) => void, fail: ErrorCallback)
src/ts/platforms/google-play/googleplay-bridge-capacitor.ts:171
Method
go
()
www/store.js:6311
Method
go
()
src/ts/platforms/google-play/googleplay-adapter.ts:264
Method
handleOnDestroy
()
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:496
Method
handleOnStart
()
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:483
Method
handleReceiptValidationResponse
* Handle platform specific fields from receipt validation response.
www/store.d.ts:1514
Method
handleReceiptValidationResponse
(_receipt, response)
www/store.js:3872
Method
handleReceiptValidationResponse
(receipt: Receipt, response: Validator.Response.Payload)
src/ts/platforms/iaptic-js/iapticjs-adapter.ts:345
Method
handleReceiptValidationResponse
(receipt: Receipt, response: Validator.Response.Payload)
src/ts/platforms/test/test-adapter.ts:156
Method
handleReceiptValidationResponse
(_receipt: Receipt, response: Validator.Response.Payload)
src/ts/platforms/apple-appstore/appstore-adapter.ts:824
Method
handleReceiptValidationResponse
(receipt: Receipt, response: Validator.Response.Payload)
src/ts/platforms/windows-store/windows-adapter.ts:26
Method
handleReceiptValidationResponse
* Handle a response from a receipt validation process. * * @param receipt The receipt being validated. * @param
src/ts/platforms/braintree/braintree-adapter.ts:411
Method
handleReceiptValidationResponse
(receipt: CdvPurchase.Receipt, response: Validator.Response.Payload)
src/ts/platforms/google-play/googleplay-adapter.ts:575
Method
hasAdapterFactory
* Check if a custom adapter factory is registered for a platform.
www/store.js:866
Method
hasAdapterFactory
* Check if a custom adapter factory is registered for a platform.
src/ts/internal/adapters.ts:118
Method
hasIntroductoryOffer
(product)
www/store.js:5156
Method
hasIntroductoryOffer
(product: SKProduct)
src/ts/platforms/apple-appstore/appstore-product.ts:120
Method
hasLocalReceipts
()
www/store.d.ts:787
Method
hasValidator
()
www/store.d.ts:789
Method
iabError
(err, code)
www/store.js:6244
Method
iabError
(err: string, code?: number)
src/ts/platforms/google-play/googleplay-adapter.ts:187
Method
iabLoaded
(validProducts)
www/store.js:6289
Method
iabLoaded
(validProducts: (Bridge.InAppProduct | Bridge.Subscription)[])
src/ts/platforms/google-play/googleplay-adapter.ts:238
Method
iabReady
()
www/store.js:6236
Method
iabReady
()
src/ts/platforms/google-play/googleplay-adapter.ts:176
Method
init
(options: Partial<BridgeOptions>, success: () => void, error: (code: ErrorCode, message: string) => void)
www/store.d.ts:2942
Method
init
(options, success, error)
www/store.js:4074
Method
init
(options, success, error)
www/store.js:4335
Method
init
* Initialize the AppStore bridge. * * This calls the native "setup" method from the "InAppPurchase" Objective-C clas
www/store.js:4665
Method
init
(success, fail, options)
www/store.js:6726
Method
init
Initialize the Google Play BillingClient. CRITICAL 2: enablePendingPurchases with new API.
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:512
Method
init
(options: Partial<Bridge.BridgeOptions>, success: () => void, error:
src/ts/platforms/apple-appstore/appstore-bridge-capacitor.ts:75
Method
init
(options: Partial<Bridge.BridgeOptions>, success: () => void, error:
src/ts/platforms/apple-appstore/appstore-bridge-sk2.ts:91
Method
init
* Initialize the AppStore bridge. * * This calls the native "setup" method from the "InAppPurchase" Objective-C clas
src/ts/platforms/apple-appstore/appstore-bridge.ts:328
Method
init
(options: Partial<BridgeOptions>, success: () => void, error: (code: ErrorCode, message:
src/ts/platforms/apple-appstore/appstore-bridge-interface.ts:26
Method
init
(success: () => void, fail: ErrorCallback, options: Options)
src/ts/platforms/google-play/googleplay-bridge.ts:198
Method
init
(success: () => void, fail: ErrorCallback, options: Options)
src/ts/platforms/google-play/googleplay-bridge-capacitor.ts:27
Function
initTestProduct
* Initialize a test product. * * @internal
www/store.js:8569
Method
initialize
* Initializes a platform adapter. * * Will resolve when initialization is complete. * * Will fail with an `IError`
www/store.d.ts:1483
Method
initialize
* Initialize some platform adapters.
www/store.js:917
Method
initialize
* Call to initialize the in-app purchase plugin. * * @param platforms - List of payment platforms to initialize, default to Store.de
www/store.js:1954
Method
initialize
(clientTokenProvider, callback)
www/store.js:5615
Method
initialize
* Call to initialize the in-app purchase plugin. * * @param platforms - List of payment platforms to initialize, default to Store.de
src/ts/store.ts:379
Method
initialize
* Initialize some platform adapters.
src/ts/internal/adapters.ts:178
Method
initialize
()
src/ts/platforms/iaptic-js/iapticjs-adapter.ts:120
Method
initialize
()
src/ts/platforms/test/test-adapter.ts:62
Method
initialize
()
src/ts/platforms/apple-appstore/appstore-adapter.ts:283
Method
initialize
()
src/ts/platforms/windows-store/windows-adapter.ts:10
Method
initialize
(verbosity: VerbosityProvider, callback: Callback<IError | undefined>)
src/ts/platforms/braintree/braintree-bridge-ios.ts:86
Method
initialize
* Initialize the Braintree Adapter.
src/ts/platforms/braintree/braintree-adapter.ts:221
Method
initialize
(clientTokenProvider: ClientTokenProvider | string, callback: Callback<IError | undefined>)
src/ts/platforms/braintree/braintree-bridge-android.ts:63
Method
initialize
( final CordovaInterface cordova, final CordovaWebView webView)
src/android/cc/fovea/PurchasePlugin.java:173
Function
initializeStore
()
doc/minimal-example.js:4
Method
initiated
Register a function called when a transaction is initiated.
www/store.d.ts:1681
Method
initiated
(callback)
www/store.js:2709
Method
initiated
(callback: Callback<Transaction>)
src/ts/payment-request.ts:12
Method
isApplePaySupported
()
www/store.js:5662
Method
isApplePaySupported
()
src/ts/platforms/braintree/braintree-bridge-android.ts:113
Method
isAvailable
Check if the Capacitor purchase plugin is available
www/store.js:4066
Method
isAvailable
Check if the Capacitor purchase plugin is available
www/store.js:6718
Method
isAvailable
Check if the Capacitor purchase plugin is available
src/ts/platforms/apple-appstore/appstore-bridge-capacitor.ts:66
Method
isEligible
(productId: string, discountType: DiscountType, discountId: string)
www/store.d.ts:3277
Method
isEligible
(productId, discountType, discountId)
www/store.js:4996
Method
isEligible
(productId: string, discountType: DiscountType, discountId: string)
src/ts/platforms/apple-appstore/appstore-discount.ts:30
← previous
next →
801–900 of 1,331, ranked by callers