Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When is the user charged for an in-app purchase?

When is the user charged for an iOS in-app purchase?

Is it between addPayment and paymentQueue:updatedTransactions: receives SKPaymentTransactionStatePurchased, or is it after calling finishTransaction? Or somewhere else?

Is this explicitly mentioned in the documentation?

like image 467
hpique Avatar asked Oct 24 '11 17:10

hpique


1 Answers

I think you are looking for this.

SKPaymentTransaction A transaction is created for every payment added to the queue. Each transaction has properties that allow your application to determine the status of the transaction. When payment is collected, the transaction includes additional details about the successful transaction.

Which is here: http://developer.apple.com/library/mac/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/MakingaPurchase/MakingaPurchase.html#//apple_ref/doc/uid/TP40008267-CH3-SW1

It looks like when you have a transactionReceipt then the payment is completed.

like image 197
logancautrell Avatar answered Oct 06 '22 01:10

logancautrell