LeoMobileDeveloper / LeoMobileDeveloper/Blogs
你好,请教个内购问题
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 1.6k
- Forks
- 295
- PR merge metrics
- No merged PRs in 30d
Description
未绑定App Store支付方式的用户,在购买内购商品时,首先会弹出一个设置支付方式的弹框,用户点击了继续,updatedTransactions会回调一个是失败的交易,也就是SKPaymentTransactionStateFailed,此时APP 调用了finishTransaction,结束了当前交易,而用户跳转到App Store绑定支付方式之后,接着付款成功了。此时APP还会调用updatedTransactions函数回调成功的交易吗?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names updatedTransactions, SKPaymentTransactionStateFailed, and finishTransaction; start by checking the StoreKit transaction lifecycle documentation for payment-method setup and failed transactions. Done means documenting whether a successful callback follows after the user adds a payment method, and how calling finishTransaction affects that flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, objective-c
- Domain
- mobile-dev
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100