My previous answer was wrong, you can try the following, although I did not test it, but could help you.
- (void)paymentQueue:(SKPaymentQueue *)queue restoreCompletedTransactionsFailedWithError:(NSError *)error{
if (error.code == SKErrorPaymentCancelled){
}
}
source
share