Transaction.RefundRequestError.duplicateRequest
The App Store has already received a refund request for this in-app purchase.
Declaration
case duplicateRequestDiscussion
StoreKit returns this error if the App Store has previously received a refund request for this transaction and the refund decision is still pending, has been previously denied, or has been previously approved.
Consider checking the transaction’s revocationDate or revocationReason before calling beginRefundRequest(for:in:) to identify whether the App Store has already refunded the transaction.