Total Pageviews

Monday, May 26, 2014

Event Store transaction

Event Store transaction
វាប្រើនៅក្នុង conjunction ជាមួយនឹង store library
Properties:
Event.name: វាជា string “storeTransaction”
Event.transaction: វាជា table ដែលជា event.transaction supports មានដូចខាងក្រោមះ
State: វាជា string ដែលផ្ទុកនៅ state of transaction, តំលៃត្រឹមត្រូវគឺ “purchased”,”restored”,”cancelled” & failed
productIdentifier: វាជា product identifier ដែលមានជាមួយនឹង transaction
receipt: វាជា JSON string receipt ដែលអាចប្រើក្នុងការ verify purchase។ នេះហៅថា inapp_signed_data ត្រឡប់បានដោយ Google Play
signature: វាជា digital signature string ដែលអាចប្រើក្នុងការ​ verify the purchase។ វាគឺជា inapp_signature ដែលត្រឡប់ដោយ Google play, ត្រឡប់ជា nil នៅលើ IOS
identifier: វាជា unique transaction identifier ត្រឡប់មកពី store, វាជា String
date: វាជា date នៅពេលដែល transaction ចាប់ផ្តើម
originalReceipt:​ វាជា unique receipt ដែលត្រឡប់ចេញពី store ចេញពិ​original purchase attempt។​វាទាក់ទង់នឹងករណី restore។​វានឹងត្រឡប់ជា hexadecimal string
originalIdentifier: វាជា unique transaction identifier ដែលត្រឡប់ចេញពី store ចេញពីការព្យាយាមចង់ទិញ។ វាទាក់ទង់នឹង case of a restore។ វាជា string
originalDate: នេះជាពេល date នៅដែល original transaction កើតឡើង។ វាទាក់ទង់នឹងcase of a restore
errorType: វាជាប្រភេទដែល error កើតឡើងនៅពេលដែល state is failed a string

errorString: វាជា error message ដែលខុសនៅក្នុង​ failed case

No comments:

Post a Comment