Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

StoreKit event after purchaseProduct.

$
0
0

Hi, I have a problem with storekit 3.0.0.

I open a window before purchase product and I would close it automatically after payment. To do this I need to capture the result of transaction after call "purchaseProduct(product)".

The problem is that listener "'transactionState'" return me many result unexpected state after my single request:

[INFO] Purchasing product1
[INFO] Purchasing product1
[INFO] Purchasing product1
[INFO] Purchasing product1
[INFO] Purchasing product1
[INFO] Purchasing product1
[INFO] Purchasing product1
[INFO] Purchasing product1
[INFO] Marking as purchased: product1
[DEBUG] Transaction finished <SKPaymentTransaction: 0x17f6bfa0>
[INFO] Marking as purchased: product1
[DEBUG] Transaction finished <SKPaymentTransaction: 0x17f6bfa0>
[INFO] Marking as purchased: product1
[DEBUG] Transaction finished <SKPaymentTransaction: 0x17f6bfa0>
[INFO] Marking as purchased: product1
[DEBUG] Transaction finished <SKPaymentTransaction: 0x17f6bfa0>
[INFO] Marking as purchased: product1
[DEBUG] Transaction finished <SKPaymentTransaction: 0x17f6bfa0>
[INFO] Marking as purchased: product1
[DEBUG] Transaction finished <SKPaymentTransaction: 0x17f6bfa0>
[INFO] Marking as purchased: product1
[DEBUG] Transaction finished <SKPaymentTransaction: 0x17f6bfa0>
[INFO] Marking as purchased: product1
[DEBUG] Transaction finished <SKPaymentTransaction: 0x17f6bfa0>
Why?

Viewing all articles
Browse latest Browse all 8068

Latest Images

Trending Articles



Latest Images

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