Quantcast
Viewing all articles
Browse latest Browse all 3791

MBS Restore Purchase

This is the code in the MBS Store module for Restoring an IAP. Does there need to be something more, as I have 2 customers saying it crashes with a Nil Exception (which I can’t reproduce) and then the have to do the Buy again process before it recognises they have already purchased.

Thanks

// Finish the transaction for a restored purchase.

System.DebugLog CurrentMethodName

recordTransaction transaction
provideContent transaction.originalTransaction.payment.productIdentifier

AppStoreModule.PaymentQueue.finishTransaction Transaction

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3791

Trending Articles