Skip to content

Handle Card Tokens #11

@judgej

Description

@judgej

This is not yet provided by the v1 API, but some background:

Either as a transaction on its own (without taking a payment) or on the back of a payment transaction, SagePay can be asked to store the card details and provide a token for it that the merchant site can store. Future visits to the shop will allow purchases to be made using the token in lieu of the credit card. The user just needs to enter their CV2 code.

For this to work, the following is needed in the API:

  • A flag to tell SagePay a token is wanted (CreateToken = 1) in a payment transaction.
  • A transaction type that can be used just to receive a token ("registration").
  • A token returned from a payment transaction asking for one.
  • A token payment type to be used in transactions instead of the card detail.

On that last note, I suspect the API will accept a token and a CV2 to generate a card identifier, which will then carry on as though a full credit card had been entered. Or it may be totally different - we'll have to see.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions