Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apple付费 LookUpOrderId和GetAllSubscriptionStatuses两个调用返回的Transaction结构不同 #426

Open
yxw2014 opened this issue Oct 16, 2024 · 2 comments

Comments

@yxw2014
Copy link

yxw2014 commented Oct 16, 2024

GetAllSubscriptionStatuses返回的是:
// TransactionInfo https://developer.apple.com/documentation/appstoreservernotifications/jwstransactiondecodedpayload
type TransactionInfo struct {

LookUpOrderId返回的是
// Doc: https://developer.apple.com/documentation/appstoreserverapi/jwstransactiondecodedpayload
type TransactionsItem struct {

实际上这两个调用都是调用server api,返回的应该是同一个结构,和appstoreserverapi/jwstransactiondecodedpayload保持一致才对,不明白这里为什么不同?最好统一下, 更规范,更合理!

@iGoogle-ink
Copy link
Member

好的

@iGoogle-ink
Copy link
Member

@yxw2014 如果你有想法可以改一下,提交PR。
我只是根据文档写,并没有实际用过apple 支付相关的东西,所以没有做统一

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants