• Resolved tfereday

    (@tfereday)


    When I enter a valid credit card to run a test, I get the below error message. I’m not a developer, but it looks like its making a request to tokenize the payment, which is successful, and then on submitting the tokenized payment there’s a 400 response. I can share more details on the request but don’t want to in a public forum.

    Response
    code: 400
    message: Bad Request
    headers: Array
    (
    [date] => Fri, 10 Jun 2022 20:55:44 GMT
    [content-type] => application/json;charset=UTF-8
    [poynt-request-id] => 8cbc52cb-46ab-4ff2-aba5-9d21de89f93d
    [poynt-build-info] => 1.4.5-2022-06-07T18:55:59Z
    [instance-id] => poynt-fargate/8385a79fc8e1445e89e8f9be85cabb1f
    )
    body: {“code”:”INVALID_REQUEST”,”httpStatus”:400,”message”:”Bad request.”,”developerMessage”:”JSON parse error: Cannot deserialize value of type co.poynt.api.model.VerificationData from Array value (token JsonToken.START_ARRAY); nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type co.poynt.api.model.VerificationData from Array value (token JsonToken.START_ARRAY)\n at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); line: 1, column: 1233] (through reference chain: co.poynt.api.model.Transaction[\”fundingSource\”]->co.poynt.api.model.FundingSource[\”verificationData\”])”,”requestId”:”8cbc52cb-46ab-4ff2-aba5-9d21de89f93d”}

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support ryanskyverge

    (@ryanskyverge)

    Hey @tfereday,

    I’m very sorry for the delayed reply here. It seems this request was missed by our team.

    This error could appear if the billing address details are not provided along with your request. It’s important that the postcode is sent along as a minimum address requirement.

    I’m going to set this as resolved, but please let us know if this issue is persisting on your site, we’ll be happy to help.

    All the best,
    Ryan

Viewing 1 replies (of 1 total)
  • The topic ‘Payment fails due to 400 Bad Request’ is closed to new replies.