Quantcast
Channel: Questions in topic: "storekit"
Viewing all articles
Browse latest Browse all 89

Prime31 StoreKit TransactionId Mismatch

$
0
0
I am using the recommended method of confirming IAP receipts. The client tries to purchase, sends the receipt data to our game server (along with the StoreKitTransaction.productIdentifier and transactionIdentifier), our server verifies the receipt with Apple's server and then our server verifies several things: 1. Purchase hasn't been used before (isn't in our db) 2. Purchase is for THIS app (by verifying both the bid and product_id) 3. transactionIdentifier client sends up from StoreKitTransaction is compared to transaction_id found in Apples receipt About 95% of our purchases succeed. However, I've had two users whose transactions fail test 3. The StoreKitTransaction.transactionIdentifier the client sends to our game server is different from the transaction_id Apple's receipt contains. **Example of GOOD transaction:** > Client sends to our server: transId:14021391238918, prodId:"500 coins">> Our server gets from Apple's server: transId:14021391238918, prodId:"500 coins" **Example of BAD transaction:** > Client sends to our server: transId:CD9B55238-3C81-42B7-8TTW-62391FBDLQO6B, prodId:"500 coins">> Our server gets from Apple's server: transId:128391278321, prodId:"500 coins" ALL of our successful transactionIds are 16 integers like in the good example above. ALL of the failed transactionIds are those big number/letter combos. Any ideas? Thanks! Possible interesting sidenote: The format for the failed transactionIds matches up exactly with the "unique_vendor_identifier" field of Apple's receipts. **TLDR:** We sometimes experience: transactionId from client doesn't match tansactionId from Apple's receipt when validating from a server.

Viewing all articles
Browse latest Browse all 89

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>