I check the receipt when I check the payment status. Among them, we also check the value of 'expires_date' inside the 'latest_receipt_info' object and change the subscription status value of our server if it is before the current date.
Projects built in xcode receive normal receipts, but the testFlight environment shows the following phenomenon.
in xcode run
We could get the receipt we just purchased by checking the receipt right after the payment.
After that, we will continue to receive the receipt we just purchased.
in testFlight Environment
We could get the receipt we just purchased by checking the receipt right after the payment.
However, if we request the receipt again after 3 to 5 seconds, we received the previous payment receipt, not the one just paid.
I was wondering if the payment was not made, so I paid again, but it says it's already a subscription.
So there is a problem in checking if the subscription is being maintained later.
I don't know why the receipt can't be updated in the testFlight environment.
Let me know if anyone knows how.
thank you