Skip to content

[in_app_purchase_storekit] Unable to encode userInfo of type __NSDictionaryI #138407

@ANorcia

Description

@ANorcia

### Is there an existing issue for this?

When I try to pay after having correctly implemented https://pub.dev/packages/in_app_purchase I get an error that is not very clear and I don't know how to get out of it. I've already looked for a possible solution but haven't found it

Below I attach the complete error message:
IAPError(code: purchase_error, source: app_store, message: SKErrorDomain, details: {NSLocalizedDescription: An unknown error occurred, NSUnderlyingError: {domain: ASDErrorDomain, userInfo: {NSUnderlyingError: {domain: AMSErrorDomain, userInfo: {NSLocalizedFailureReason: The server encountered an error, AMSServerErrorCode: 3038, AMSServerPayload: Unable to encode native userInfo object of type __NSDictionaryI to map. Please submit an issue at https://github.com/flutter/flutter/issues/new with the title "[in_app_purchase_storekit] Unable to encode userInfo of type __NSDictionaryI" and add reproduction steps and the error details in the description field., AMSURL: http://localhost:49436/WebObjects/MZBuy.woa/wa/inAppBuy, AMSStatusCode: 200, NSLocalizedDescription: Server Error}, code: 305}}, code: 504}})

Thanks to everyone who will answer this question

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectp: in_app_purchasePlugin for in-app purchasepackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions