Quantcast
Viewing all articles
Browse latest Browse all 8068

StoreKit event after purchaseProduct.

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

Trending Articles