storekit - iphone in-app purchase: On error, whose responsibility is notifying the user? -
i have complete in app purchase solution wondering if handling errors correctly. handle errors using code similar apple example here;
- (void) failedtransaction: (skpaymenttransaction *)transaction { if (transaction.error.code != skerrorpaymentcancelled) { // optionally, display error here. } [[skpaymentqueue defaultqueue] finishtransaction: transaction]; }
but question - storekit display relevant errors user (unable connect, payment declined etc) or need handle this? seems testing when storekit working ok, indeed handle errors itself, can silently dump them (well, in fact log them on server).
however when storekit sandbox playing up, random errors indicate problem, , no alerts storekit itself.
what guys errors? alert user or end duplicating alerts storekit has given.
thanks roger
it app's responsibility handle errors.
the os doesn't display message because message display, or whether display 1 @ (as opposed to, say, removing item table) os can't know certain.
Comments
Post a Comment