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
order
* Initiate a purchase of this offer. * * @example * store.get("my-product").getOffer().order();
www/store.js:2677
Method
order
(offer, additionalData)
www/store.js:3703
Method
order
* Place an order for a given offer.
src/ts/store.ts:646
Method
order
* Initiate a purchase of this offer. * * @example * store.get("my-product").getOffer().order();
src/ts/offer.ts:57
Method
order
(offer: CdvPurchase.Offer, additionalData: CdvPurchase.AdditionalData)
src/ts/platforms/iaptic-js/iapticjs-adapter.ts:277
Method
order
(offer: Offer)
src/ts/platforms/test/test-adapter.ts:103
Method
order
(offer: Offer, additionalData: CdvPurchase.AdditionalData)
src/ts/platforms/apple-appstore/appstore-adapter.ts:657
Method
order
(offer: Offer)
src/ts/platforms/windows-store/windows-adapter.ts:20
Method
order
(offer: Offer)
src/ts/platforms/braintree/braintree-adapter.ts:264
Method
order
@inheritDoc
src/ts/platforms/google-play/googleplay-adapter.ts:489
Function
owned
* Return true if a product is owned. * * Will use the list of verified receipts if provided. * Will only use the list of lo
www/store.js:2940
Function
owned
(options: OwnedOptions)
src/ts/internal/owned.ts:17
Method
owned
* Returns true if the product is owned.
www/store.d.ts:244
Method
owned
* Returns true if the product is owned. * * Important: This value will be false when the app starts and will only become *
www/store.js:413
Method
owned
* Return true if a product is owned * * Important: The value will be false when the app starts and will only become * true
www/store.js:2189
Method
owned
* Return true if a product is owned * * Important: The value will be false when the app starts and will only become * true
src/ts/store.ts:635
Method
owned
* Returns true if the product is owned. * * Important: This value will be false when the app starts and will only become *
src/ts/product.ts:83
Method
parentReceipt
* Return the receipt this transaction is part of.
www/store.js:2863
Method
parentReceipt
* Return the receipt this transaction is part of.
src/ts/transaction.ts:124
Method
pending
Register a function called when a transaction is pending.
www/store.d.ts:1685
Function
placeOrder
()
src/example/example.ts:201
Method
platform
Platform this offer is available from
www/store.js:2670
Method
platform
Platform this receipt originated from
www/store.js:9331
Method
platform
Platform this offer is available from
src/ts/offer.ts:44
Method
platform
Platform this receipt originated from
src/ts/validator/verified-receipt.ts:28
Function
platformId
Returns an UUID v4. Uses `window.crypto` internally to generate random values.
www/store.js:9072
Function
platformId
()
src/ts/utils/platform-id.ts:7
Function
platformName
Returns human format name for a given platform
www/store.js:468
Function
platformName
(platform: Platform)
src/ts/utils/platform-name.ts:4
Method
plugin
()
www/store.js:4070
Method
plugin
()
www/store.js:6722
Method
plugin
()
src/ts/platforms/apple-appstore/appstore-bridge-capacitor.ts:71
Method
plugin
()
src/ts/platforms/google-play/googleplay-bridge-capacitor.ts:23
Method
presentCodeRedemptionSheet
(callback?: Callback<any>)
www/store.d.ts:2950
Method
presentCodeRedemptionSheet
()
www/store.js:3934
Method
presentCodeRedemptionSheet
(callback)
www/store.js:4164
Method
presentCodeRedemptionSheet
(callback)
www/store.js:4426
Method
presentCodeRedemptionSheet
(callback)
www/store.js:4774
Method
presentCodeRedemptionSheet
()
src/ts/platforms/apple-appstore/appstore-adapter.ts:881
Method
presentCodeRedemptionSheet
(callback?: Callback<any>)
src/ts/platforms/apple-appstore/appstore-bridge-capacitor.ts:197
Method
presentCodeRedemptionSheet
(callback?: Callback<any>)
src/ts/platforms/apple-appstore/appstore-bridge-sk2.ts:205
Method
presentCodeRedemptionSheet
(callback?: Callback<any>)
src/ts/platforms/apple-appstore/appstore-bridge.ts:451
Method
pricing
* Shortcut to offers[0].pricingPhases[0] * * Useful when you know products have a single offer and a single pricing phase.
www/store.js:392
Method
pricing
* Shortcut to offers[0].pricingPhases[0] * * Useful when you know products have a single offer and a single pricing phase.
src/ts/product.ts:61
Method
productGroup
Group the product related to this offer is member of
www/store.js:2668
Method
productGroup
Group the product related to this offer is member of
src/ts/offer.ts:41
Method
productId
Identifier of the product related to this offer
www/store.js:2664
Method
productId
Identifier of the product related to this offer
src/ts/offer.ts:35
Method
productType
Type of the product related to this offer
www/store.js:2666
Method
productType
Type of the product related to this offer
src/ts/offer.ts:38
Method
productUpdated
Register a function called when a product is updated.
www/store.d.ts:1679
Method
products
* List of all active products. * * Products are active if their details have been successfully loaded from the store.
www/store.js:2116
Method
products
()
www/store.js:3246
Method
products
* List of all active products. * * Products are active if their details have been successfully loaded from the store.
src/ts/store.ts:555
Method
products
()
src/ts/platforms/apple-appstore/appstore-adapter.ts:100
Method
products
List of products managed by the GooglePlay adapter
src/ts/platforms/google-play/googleplay-adapter.ts:118
Method
productsUpdated
(platform: Platform, products: Product[])
www/store.d.ts:431
Method
productsUpdated
* Trigger the "updated" event for each product.
www/store.js:1176
Method
productsUpdated
* Trigger the "updated" event for each product.
src/ts/internal/adapter-listener.ts:108
Method
purchase
(productId: string, quantity: number, applicationUsername: string | undefined, discount: PaymentDiscount | und
www/store.d.ts:2944
Method
purchase
(productId, quantity, applicationUsername, discount, success, error)
www/store.js:4122
Method
purchase
(productId, quantity, applicationUsername, discount, success, error)
www/store.js:4385
Method
purchase
* Makes an in-app purchase. * * @param {String} productId The product identifier. e.g. "com.example.MyApp.myproduct"
www/store.js:4722
Method
purchase
(productId: string, quantity: number, applicationUsername: string | undefined,
src/ts/platforms/apple-appstore/appstore-bridge-capacitor.ts:151
Method
purchase
(productId: string, quantity: number, applicationUsername: string | undefined,
src/ts/platforms/apple-appstore/appstore-bridge-sk2.ts:150
Method
purchase
* Makes an in-app purchase. * * @param {String} productId The product identifier. e.g. "com.example.MyApp.myproduct"
src/ts/platforms/apple-appstore/appstore-bridge.ts:392
Method
purchaseFailed
()
www/store.js:4403
Method
purchaseFailed
()
src/ts/platforms/apple-appstore/appstore-bridge-sk2.ts:175
Method
purchaseOk
()
www/store.js:4396
Method
purchaseOk
()
www/store.js:4736
Method
purchaseOk
()
src/ts/platforms/apple-appstore/appstore-bridge-sk2.ts:167
Method
purchaseOk
()
src/ts/platforms/apple-appstore/appstore-bridge.ts:408
Method
push
Add a callback to the list
www/store.js:2965
Method
push
Add a callback to the list
src/ts/internal/promise-like.ts:12
Method
raw
Get raw response data from the receipt validation request
www/store.js:9333
Method
raw
Get raw response data from the receipt validation request
src/ts/validator/verified-receipt.ts:64
Function
readyAndVerified
(callback: Function)
src/example/example.ts:47
Method
receiptUpdated
Register a function called when a receipt is updated.
www/store.d.ts:1677
Method
receiptValidationBody
* Prepare for receipt validation
www/store.d.ts:1510
Method
receiptValidationBody
(receipt)
www/store.js:3809
Method
receiptValidationBody
(receipt: Receipt)
src/ts/platforms/iaptic-js/iapticjs-adapter.ts:314
Method
receiptValidationBody
(receipt: Receipt)
src/ts/platforms/test/test-adapter.ts:152
Method
receiptValidationBody
(receipt: Receipt)
src/ts/platforms/apple-appstore/appstore-adapter.ts:762
Method
receiptValidationBody
(receipt: Receipt)
src/ts/platforms/windows-store/windows-adapter.ts:29
Method
receiptValidationBody
(receipt: BraintreeReceipt)
src/ts/platforms/braintree/braintree-adapter.ts:381
Method
receiptValidationBody
* Prepare for receipt validation
src/ts/platforms/google-play/googleplay-adapter.ts:552
Method
receipts
()
www/store.js:3267
Method
receipts
()
src/ts/platforms/iaptic-js/iapticjs-adapter.ts:86
Method
receipts
()
src/ts/platforms/apple-appstore/appstore-adapter.ts:126
Method
receipts
()
src/ts/platforms/braintree/braintree-adapter.ts:197
Method
receipts
()
src/ts/platforms/google-play/googleplay-adapter.ts:121
Method
receiptsReady
(platform: Platform)
www/store.d.ts:433
Method
receiptsReady
* Register a function called when all receipts have been loaded. * * This handler is called only once. Use this when you want to run
www/store.d.ts:1702
Method
receiptsReady
* Trigger the "receiptsReady" event when all platforms have reported that their receipts are ready. * * This function is use
www/store.js:1159
Method
receiptsReady
* Trigger the "receiptsReady" event when all platforms have reported that their receipts are ready. * * This function is use
src/ts/internal/adapter-listener.ts:90
Method
receiptsUpdated
(platform: Platform, receipts: Receipt[])
www/store.d.ts:432
Method
receiptsUpdated
* Triggers the "approved", "pending" and "finished" events for transactions. * * - "approved" is triggered only if it hasn't
www/store.js:1188
Method
receiptsUpdated
* Triggers the "approved", "pending" and "finished" events for transactions. * * - "approved" is triggered only if it hasn't
src/ts/internal/adapter-listener.ts:124
Method
receiptsVerified
()
www/store.d.ts:788
Method
receiptsVerified
* Register a function called when all receipts have been verified. * * If no platforms have any receipts (user made no purchase), th
www/store.d.ts:1708
← previous
next →
1,101–1,200 of 1,331, ranked by callers