Hi, I use unity purchasing and all goes well on android.
On IOS I have some errors that I don’t understand:
The problem is that the function OnValidationComplete on my code is only called after a server check so I don’t understand how it could be called directly after PurchasingManager.ProcessPurchaseIfNew.
Anyway I added all null reference check on the function and I still get the same reports.
Here is the function:
private static void OnValidationComplete()
{
Logger.Log( "[Boutique] OnValidationComplete" );
if( m_StoreController != null && ProduitEnValidation != null )
m_StoreController.ConfirmPendingPurchase( ProduitEnValidation );
ProduitEnValidation = null;
PaiementEnValidation = null;
ReceiptEnValidation = null;
CallOnComplete( ModelPaiements.last_payment_status == "OK" );
}
Maybe someone could help me ?