Skip to content

Commit

Permalink
Update transaction_model.go (#383)
Browse files Browse the repository at this point in the history
fix bug:  apple refunded transaction  revocationReason type should be  int32

https://developer.apple.com/documentation/appstoreserverapi/revocationreason
  • Loading branch information
elegantm authored Jan 30, 2024
1 parent a58aa3d commit 7524426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apple/transaction_model.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type TransactionsItem struct {
PurchaseDate int64 `json:"purchaseDate"`
Quantity int `json:"quantity"`
RevocationDate int64 `json:"revocationDate"`
RevocationReason string `json:"revocationReason"`
RevocationReason int `json:"revocationReason"`
SignedDate int64 `json:"signedDate"`
Storefront string `json:"storefront"`
StorefrontId string `json:"storefrontId"`
Expand Down

0 comments on commit 7524426

Please sign in to comment.