Fixed crash when receiptData is null