Skip to content

createAddCardFormRequest doesn't calculate signature #55

@petja

Description

@petja

I'm not sure if I have understood something wrong but seems like createAddCardFormRequest doesn't calculate signature. It also asks checkoutAccount which I suppose should be already available on PaytrailClient instance?

createAddCardFormRequest(addCardFormRequest: AddCardFormRequest): Promise<AddCardFormResponse>

I would expect it to work similarly to createPayment

I'm also a bit puzzled because Paytrail API documentation says:

HTTP POST /tokenization/addcard-form is a form post requested from the user's browser

but this library should be used in the backend, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions