cordova-plugin-inapppurchase icon indicating copy to clipboard operation
cordova-plugin-inapppurchase copied to clipboard

iOS IAP: Unknown product identifier (errorCode: 100)

Open patrickschroeter opened this issue 6 years ago • 8 comments

Hi,

some users of my ionic app (in store since july '17) have issues when trying to buy products from the app store. It worked correctly some months ago but now they are getting an Unknown product identifier error (errorCode: 100).

I did not release a new version in between so i have no idea why this function stopped working for some users.

I'm grateful for any information.

Regards

Patrick

Please include:

Your code / steps to reproduce

i can't reproduce it =(

Console output

{ "error": { "errorMessage": "Unknown product identifier", "errorCode": 100 } }

Type of product you are working with consumable/non-consumable/subscription

non-consumable

Version of cordova

[email protected]

Version of iOS/Android

[email protected] [email protected]

patrickschroeter avatar Mar 06 '18 09:03 patrickschroeter

Having the same trouble

kierandesmond avatar Apr 13 '18 22:04 kierandesmond

Any Solution?

khaled9544 avatar Jul 19 '18 12:07 khaled9544

any solution ?

AhmedSamir848 avatar Aug 03 '18 19:08 AhmedSamir848

same trouble :(

hyunjuhw avatar Aug 29 '18 03:08 hyunjuhw

any solutions?? I have same error.

christiantigre avatar May 22 '19 14:05 christiantigre

I haven't found a solution until we removed the app from the stores end of last year...

Sorry i can't help you :(

patrickschroeter avatar May 22 '19 15:05 patrickschroeter

I've found that reading in an array of products first before calling .buy() or .subscribe() did the trick for me. Example:

inAppPurchase.getProducts(["1", "2", "3", ...])...

nocodedweb avatar Feb 12 '20 16:02 nocodedweb

As per the readme:

Retrieves a list of full product data from Apple/Google. This function must be called before making purchases.

zhangv avatar Jun 30 '20 01:06 zhangv