Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
miamon
Posts: 185
Registered: ‎08-17-2008
My Device: Red BlackBerry Z10
Accepted Solution

getExistingPurchases

[ Edited ]

Some one are using getExistingPurchases on BlackBerry 10?

 

I am using OS 10.1.0.4181 on a real device(Z10), and every time appears the error: "The parent application could not be located within the reconcilie cache.", Error ID: 3 on getExistingPurchaseOnFailure function. 

 

 

blackberry.payment.getExistingPurchases(true, getExistingPurchasesOnSuccess, getExistingPurchasesOnFailure);

function getExistingPurchasesOnFailure(error) {
	var message = "Error occurred: " + error.errorText + ", " + error.errorID;
	var options = {
		timeout : 1000
	};
	blackberry.ui.toast.show(message, options);
}

 

Thanks in advance.

Josep Maria
Developer
miamon
Posts: 185
Registered: ‎08-17-2008
My Device: Red BlackBerry Z10

Re: getExistingPurchases

Solved. Seems if the App are in draft appears this error, and it's impossible use this function if the app is not Post for Sale.
Josep Maria