I received an email last week from one of the very few paying customers saying he was having trouble with the in-app purchase.
Presumably he had a network issue as the payment was being processed and my app didn’t open up the functionality correctly. As it turns out my restore purchases button wasn’t working correctly.
After a couple of hours I had the subscription to the restore purchases event fixed and worked out a way of testing it... which I should have done in the first place.
Lesson learnt: test everything!