09-14-2012 04:47 PM
First of all sorry for my basic English.
I'm using the same code as the example in this link:
Except when I call the function refreshHandler(null) to check purchases at the end of the loading digitalgoods function resultHandler().
The error 3 "The parent application could not be located within the reconcile cache." appears here. This is the only instance in which I make the query.
09-17-2012 11:02 AM
I'll run a test with the sample code posted. I know you said you did, but I just want to confirm, in PaymentServiceDemo.as, you've changed this code:
Is that right? Also, have you changed:
Based on the error's reference to not finding the parent application in the reconcile cache, it may simply be that there hasn't been a live request yet (i.e. the cache isn't populated) so the error reported would be accurate. If you could confirm whether the error still occurs with CONNETION_MODE_NETWORK and getExistingPurchases(true), then that would help indicate whether there is some larger issue at hand.
09-17-2012 04:12 PM
Yes, I was using these functions:
Today realize a new test and now I have no more that mistake!
but when i call the function paymentSystem.getExistingPurchases does not list the the previous purchases, is this because I am in the sandbox?
09-17-2012 04:17 PM
That one is expected behaviour, correct. In Sandbox mode, App World doesn't create a purchase objects in its records, so any purchases made there will not actually be returned.
Do you happen to know what you might have changed between then and now that could have impacted the error occurring/going away?
09-17-2012 04:30 PM
Today I uploaded a new version, without significant changes, I had problems in installation, and searching the error said that it could be a blackberry id problem with the type of payment, I perform some changes in the acount related with Paypal and I could reinstall it, and in this last test the error disappeared.
I hope some of this be a help, and thanks for the help given!
09-16-2013 05:31 PM - edited 09-16-2013 05:53 PM
I was getting an error "There is no getExistingPurchases Local Cache" in a "real" deployment (not sandbox) using the local cache with requestExistingPurchases(false) so I changed the flag from false to true as suggested in:
And now I am getting the subject error "The parent application could not be located within the reconcile cache." when checking receipts in BB World by using requestExistingPurchases(true) in sandbox mode. I am not calling setConnectionMode() at all so it should be in Production mode according to the docs. I get this error even after making the purchase. Will I get this error in the regular mode?