Skip to content

Payment with flex token example gives INVALID_DATA error #66

@8enSmith

Description

@8enSmith

When I run the flex token payment example i.e.

node Samples/Payments/Payments/payment-with-flex-token.js

I get the following error in the response:

\"Declined - One or more fields in the request contains invalid data\",\"details\":[{\"field\":\"tokenInformation.jti\",\"reason\":\"INVALID_DATA\"

As these examples are supposed to be self-contained I expected this to work. Does anyone know what the issue is? I did try adding the jti value which you can obtain from the decoded JWT token but this didn't fix the issue.

Also note that the exact same problem applies to the payment-with-flex-token-create-permanent-tms-token.js example.

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