Closed matifdeveloper closed 3 months ago
Version of flutter_inapp_purchase
5.6.1
Platforms you faced the error (IOS or Android or both?)
IOS
Expected behavior
purchased success
Actual behavior
When I call the requestSubscription method on the iPad for purchasing, I receive the following message in error listener: "An unknown or unexpected error has occurred. Please try again later."
<SKPaymentQueue: 0x2818840a0>: Payment completed with error: Error Domain=ASDErrorDomain Code=500 "Unhandled exception" UserInfo={NSUnderlyingError=0x2814ffc90 {Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedDescription=Invalid Status Code, AMSURL=https://sandbox.itunes.apple.com/WebObjects/MZBuy.woa/wa/inAppBuy?REDACTED, AMSStatusCode=500, NSLocalizedFailureReason=The response has an invalid status code}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception}
Tested environment (Emulator? Real Device?)
Real device
@matifdeveloper have you got any solution ?
@anilthummar no
Version of flutter_inapp_purchase
5.6.1
Platforms you faced the error (IOS or Android or both?)
IOS
Expected behavior
purchased success
Actual behavior
When I call the requestSubscription method on the iPad for purchasing, I receive the following message in error listener: "An unknown or unexpected error has occurred. Please try again later."
<SKPaymentQueue: 0x2818840a0>: Payment completed with error: Error Domain=ASDErrorDomain Code=500 "Unhandled exception" UserInfo={NSUnderlyingError=0x2814ffc90 {Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedDescription=Invalid Status Code, AMSURL=https://sandbox.itunes.apple.com/WebObjects/MZBuy.woa/wa/inAppBuy?REDACTED, AMSStatusCode=500, NSLocalizedFailureReason=The response has an invalid status code}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception}
Tested environment (Emulator? Real Device?)
Real device