Can you possibly help with the error implied here - during successful interaction with the store for product id's etc (See log) - when I attempt a purchase - I get this output (end of the log)
2015-04-17 00:38:14.679 iLater[9782:534032] InAppPurchase[objc]: productsRequest: didReceiveResponse:
2015-04-17 00:38:14.679 iLater[9782:534032] InAppPurchase[objc]: Has 1 validProducts
2015-04-17 00:38:14.679 iLater[9782:534032] InAppPurchase[objc]: - iLater1: iLater Full Version
2015-04-17 00:38:14.680 iLater[9782:534032] InAppPurchase[objc]: productsRequest: didReceiveResponse: sendPluginResult: (
(
{
description = "This is the full version of iLater. Purchasing this product, enables features in the App for recurring emails, changing when notifications go out, turning off CC myself, adding unlimited CC and BCC's to any scheduled email, and adding attachments.";
id = iLater1;
price = "$1.99";
title = "iLater Full Version";
}
),
(
"io.appery.app.iLater.iLater2",
"io.appery.app.iLater.iLater1"
)
)
2015-04-17 00:38:14.681 iLater[9782:534032] InAppPurchase[js]: load ok: { valid:[{"id":"iLater1","title":"iLater Full Version","description":"This is the full version of iLater. Purchasing this product, enables features in the App for recurring emails, changing when notifications go out, turning off CC myself, adding unlimited CC and BCC's to any scheduled email, and adding attachments.","price":"$1.99"}] invalid:["io.appery.app.iLater.iLater2","io.appery.app.iLater.iLater1"] }
2015-04-17 00:38:14.681 iLater[9782:534032] id: iLater1 title: iLater Full Version val: This is the full version of iLater. Purchasing this product, enables features in the App for recurring emails, changing when notifications go out, turning off CC myself, adding unlimited CC and BCC's to any scheduled email, and adding attachments. price: $1.99
2015-04-17 00:38:14.682 iLater[9782:534032] Invalid Product IDs: ["io.appery.app.iLater.iLater2","io.appery.app.iLater.iLater1"]
2015-04-17 00:38:19.428 iLater[9782:534032] InAppPurchase[objc]: About to do IAP
2015-04-17 00:38:19.428 iLater[9782:534032] InAppPurchase[objc]: Payment transaction updated ((null)):
2015-04-17 00:38:19.428 iLater[9782:534032] InAppPurchase[objc]: Purchasing...
2015-04-17 00:38:54.382 iLater[9782:534032] InAppPurchase[objc]: Payment transaction updated ((null)):
2015-04-17 00:38:54.382 iLater[9782:534032] InAppPurchase[objc]: Error ERR_UNKNOWN Cannot connect to iTunes Store
2015-04-17 00:38:54.383 iLater[9782:534032] InAppPurchase[objc]: Error 4983507 Cannot connect to iTunes Store
2015-04-17 00:38:54.383 iLater[9782:534032] InAppPurchase[objc]: State: PaymentTransactionStateFailed
2015-04-17 00:38:54.384 iLater[9782:534032] in myAlert
2015-04-17 00:38:54.399 iLater[9782:534032] THREAD WARNING: ['Notification'] took '14.890137' ms. Plugin should use a background thread.
2015-04-17 00:38:54.401 iLater[9782:534032] complete running navigator alert
2015-04-17 00:38:54.401 iLater[9782:534032] Failed: Cannot connect to iTunes Store
Specifically - can a payment transaction ever really succeed in the Sandbox or is the failure intentional by the Sandbox ???