Skip to content
This repository was archived by the owner on Jun 11, 2021. It is now read-only.
This repository was archived by the owner on Jun 11, 2021. It is now read-only.

Incoming JSON request does not map to API request when trying to make a payment #299

@gibona

Description

@gibona

This affects:
all modes(Mock/Sandbox/Live)
all PayPal Android SDK releases distributed via maven,
all Android Version and Devices

From sandbox debug console:
"message": "Incoming JSON request does not map to API request",
"information_link": "https://developer.paypal.com/webapps/developer/docs/api/#MALFORMED_REQUEST",
"name": "MALFORMED_REQUEST",
"debug_id": "9a765ba5199cc"

When I looked into JSON request I noticed that the [] symbols (for start and end of array) are doubled like [[ ]].

To fix it add:
-keep class org.json.* { ; }
-keep interface org.json.* { ; }
-keep enum org.json.* { ; }
to your proguard configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions