bizz84 / bizz84/SwiftyStoreKit

Can we check if a user's In App Purchase has been refunded by Apple?

Open
#710 1 comment 0 reactions 0 assignees View on GitHub
type: question
Dominant language
Swift
Stars
6.7k
Forks
801
PR merge metrics
No merged PRs in 30d

Description

Situation:
- User makes an IAP and is awarded some content, we store the users device id to ensure they can access this content whenever they want.
- User decided they do not like the content, so they call Apple and get a refund.
- User can still access the content, even though they have been refunded for their IAP

Problem:
We don't want the user to be able to access this content anymore. This could become a loophole that they would take advantage of. (unlock content, then get refunded and keep their access to said content)

Question:
Is there any way for us to check if a user has been refunded for an IAP with either their transactionId, transactionReceipt, or any other information we may have?

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating the purchase verification and receipt-handling APIs, then determine whether refund status can be checked using the transactionId or transactionReceipt. Done should be defined as a documented, tested way to identify refunded purchases and revoke access.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile, payments
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.