English 中文(简体)
in app purchase timeout error (-1001)
原标题:

i get a timeout error (-1001) when trying to make an in app purchase. this began happening suddenly after in-app-purchase had been working fine for a while. what happens now is that i see my inventory, complete with prices retreived from apple, but after i attempt a purchase and the following code is executed:

    SKPayment *payment = [SKPayment
                    paymentWithProductIdentifier: product.productIdentifier];
    [[SKPaymentQueue defaultQueue] addPayment: payment];

all i get is a timeout error.

i created a test project with nothing but the storefront supplied by a reliable third party (urban airship) which i d been using successfully with some alterations in my app. i got the same in app purchase timeout error, which strongly suggests some kind of issue on apple s end (it seems that either my device or my app id have gotten blackballed somehow -- perhaps after i d uninstalled the app a bunch of times to reset its state -- at least with the sandbox servers). so now the question is what to do about it. any help would be appreciated.

问题回答

problem solved: it was after all an apple issue. apparently the new app store agreement had gummed up the works. i had to install something via the app store on the device, after which the in-app-purchase was a-okay again. thanks all for your help.





相关问题
iPhone: Setting up an app for use as an "In App Purchase"

Regarding In App Purchases, I can find a lot of information on all the technicalities of actually making purchases and interacting with the store (how to retrieve product information, verify receipts, ...

In App Purchase Verify certificate problem

I am getting the response as below. {"status":21002, "exception":"java.lang.NullPointerException"} I am encoding the receipt using Base64 only. I am testing it in sandbox. What will be the ...

I cannot get in app purchase test to work

I have had zero success with in app purchase. I have submitted the free app binary, and then rejected the binary. I have added the test product. I have approved the test product TAP001. I have ...

How to create a product id for in app purchases

I am trying to test in app purchases for my iPhone App and I see how to setup test users, but I am not sure how to create a product id that I can use. I do not want to submit my app to the app store ...

in app purchase timeout error (-1001)

i get a timeout error (-1001) when trying to make an in app purchase. this began happening suddenly after in-app-purchase had been working fine for a while. what happens now is that i see my inventory,...

热门标签