You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let actualSequence =containedSequence[0]as?[AnyObject], actualSequence.count ==5,
At some point this year Apple started to supply 3 items in this sequence. I changed it to actualSequence.count > 2 as there is no need to use anything from it above [2]. Since then it is working alright.
This was the issue both in production receipts and sandbox in August 2020. I'm not sure if this issue still persists. But the above change will relax the requirement on the sequence to the data you really need, not stricter.
Thank you again! Looks like Apple is fiddling around with the receipt lately, hope this input will help you and others.
The text was updated successfully, but these errors were encountered:
Thank you for the great library!
Wanted to give you a heads up on the following line of code:
Kvitto/Core/Source/PKCS7Container.swift
Line 48 in 59c95c1
At some point this year Apple started to supply 3 items in this sequence. I changed it to
actualSequence.count > 2
as there is no need to use anything from it above [2]. Since then it is working alright.This was the issue both in production receipts and sandbox in August 2020. I'm not sure if this issue still persists. But the above change will relax the requirement on the sequence to the data you really need, not stricter.
Thank you again! Looks like Apple is fiddling around with the receipt lately, hope this input will help you and others.
The text was updated successfully, but these errors were encountered: