App Store 2.1: In-app purchase functionality is broken.

Originator:k.misiura
Number:rdar://23626481 Date Originated:20-Nov-2015
Status:Open Resolved:
Product:Mac App Store Product Version:2.1
Classification:Serious Bug Reproducible:100%
 
Summary:
Applications that use in-app purchases have stopped working properly. Appstore says that purchase was successful but content is never delivered.

We have OSX apps with thousands of in-app purchases (Toolbox for Pages, Toolbox for Keynote, Toolbox for MSOffie, and others). On 16 on November users started writing that they cannot purchase content on our applications. We did our own research and found that there is a problem with all tested applications (from other developers too), that use non-consumable in-app purchases to sell content.

Here is a problem from users side:
	* User clicks purchase, and is asked 2 times, to enter password.
	* After 10-20 seconds user is asked 2 times, if he wants to buy.
	* 6 out of 10 times alert is shown that purchase was successful. 4 out of 10 times user gets error that service is temporary unavailable.
	* Content is never delivered, but user is charged.

From developer side:
	* One SKPayment is added to queue.
	* SKPaymentTransactionObserver receives message about 2 different SKPaymentTransaction objects with status SKPaymentTransactionStatePurchasing.
	* SKPaymentTransactionObserver receives message about one of SKPaymentTransaction failure.
		- With error code 0 "Unknown error" if user received error "service is temporary unavailableā€.
		- With error code 2 "The payment was canceled by the user" if user is alerted about successful purchase.
	* SKPaymentTransactionObserver never receives notification about successful transaction, and no transactions were finished.


Steps to Reproduce:
Download Toolbox for Pages from Mac Appstore.
Purchase any item.

Expected Results:
After authentication Appstore presents alert about successful purchase
In application purchased content is delivered.

Actual Results:
After authentication and alert about successful purchase, content is never delivered.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!