richzw
richzw
One new PR https://github.com/awa/go-iap/pull/173 post by me and add ExtendSubscriptionRenewalDate and GetNotificationHistory server API. Any suggestions are welcome.
The `errCode == 4290000 ` could meet your requirement, please refer to codes https://github.com/awa/go-iap/blob/master/appstore/api/error.go#L43 ```go func newAppStoreAPIError(b []byte, hd http.Header) (*Error, bool) { if len(b) == 0 { return nil,...
Per history API https://developer.apple.com/documentation/appstoreserverapi/get_transaction_history > GET https://api.storekit.itunes.apple.com/inApps/v1/history/{transactionId} The `transactionId` should be used in this API, and as far as I know, there is no API to reflect the transctionID from...
> > Per history API https://developer.apple.com/documentation/appstoreserverapi/get_transaction_history > > > GET [https://api.storekit.itunes.apple.com/inApps/v1/history/{transactionId}](https://api.storekit.itunes.apple.com/inApps/v1/history/%7BtransactionId%7D) > > > > > > The `transactionId` should be used in this API, and as far as I...
@jasonbronson , this package is still maintained and the app store server API is supported in this package. Please refer to https://github.com/awa/go-iap#in-app-store-server-api ```go import( "github.com/awa/go-iap/appstore/api" ) // For generate key...
> hi @richzw , it seems that in VerifyReceipt, your api can auto switch sandbox and production. But new api doesn't? Is there any best practise recommend to use if...
> > One option is that create two app store API servers one enabling sandbox and the other disabling sandbox (aka production), then you could verify the transactionid one by...
@Daydaylw3 , thank you very much for your information > If you receive an [errorCode 4040005] with errorMessage as [OriginalTransactionIdNotFoundError](https://developer.apple.com/documentation/appstoreserverapi/originaltransactionidnotfounderror), (or HTTP response code 404 from the [Send Consumption Information](https://developer.apple.com/documentation/appstoreserverapi/send_consumption_information)...
> @richzw In this [post](https://developer.apple.com/forums/thread/735885) apple declare very clear, hope it will be helpful Thank you very much for your reply. We could rely on this error code [TransactionIdNotFoundError](https://github.com/awa/go-iap/blob/master/appstore/api/error.go#L141C20-L141C20) to...
The new function `ParseJWSEncodeString` would be added to the new release. You could try the new version later.