Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.
This repository was archived by the owner on Oct 5, 2023. It is now read-only.

Card on file payment - ERROR 401: UNAUTHORIZED #15

@cia05rf

Description

@cia05rf

Hi I'm using this code however when i submit my code i get the below error:

{"httpStatusCode":401,"customCode":"UNAUTHORIZED","message":"No pre-authenticated principal found in request.","description":"Request can't be authorized, please validate your request","errorHelpUrl":null,"originalRequest":"http://api.worldpay.com/v1/tokens/TOKEN_HERE"}

Why is my request not being authorized? I have all the neccessary client_key and service_key in my request and it mirrors the code example in "index_cardonfile.php".

Previously my code worked fine until around 1st July 2017, then this error started to appear.

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