iphone - Fail to purchase at in app purchase with unknown reason -


i implemented in app purchase in app , released. failed purchase product in app (not time).

i have 2 questions.

  1. what of case happen??

    i test app, haven't occurred. in case happen?? have similar experiences??

  2. how ": transaction: 180000012369078 - 1" mean?

    this device's log @ organizer. on success, transaction has number "1" , on failure, transaction has number "2". , formats not same between on success , failure.

paist log

on success

jul 21 12:06:05 unknown adhoc[4714] <warning>: transaction: (null) - 0 jul 21 12:06:05 unknown adhoc[4714] <warning>: purchasing jul 21 12:06:18 unknown adhoc[4714] <warning>: transaction: 180000012369078 - 1 jul 21 12:06:18 unknown adhoc[4714] <warning>: purchased 

on failure

jul 20 19:50:41 unknown adhoc[2202] <warning>: transaction: (null) - 0 jul 20 19:50:41 unknown adhoc[2202] <warning>: purchasing jul 20 19:50:41 unknown itunesstored[2273] <notice>: ms:notice: installing: com.apple.itunesstored [itunesstored] (550.58) jul 20 19:50:41 unknown itunesstored[2273] <notice>: ms:notice: loading: /library/mobilesubstrate/dynamiclibraries/activator.dylib jul 20 19:50:44 unknown itdbprepserver[2270] <warning>: running create triggers... jul 20 19:50:46 unknown adhoc[2202] <warning>: transaction: 70aaeaae-22df-4927-a6fa-4ecf4783619d - 2 jul 20 19:50:46 unknown adhoc[2202] <warning>: failed jul 20 19:50:46 unknown adhoc[2202] <warning>: unkwown 

please help. thank you.

once purchase has failed, print error description using [transaction.error localiseddescription];.

it may fail because wifi connection weak, , bails out description error : cannot connect itunes store.

reset settings in device if error. solved that!


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -