Admin needs to be able to choose between Credential Registration

Created on 23 February 2024, 4 months ago

Problem/Motivation

The module assumes that all subsequent transactions will be done without authorisation (MerchantInitiatedCredentialOnFile). That's only valid though when amounts being charged are relatively small. When amounts are much higher, subsequentTransactionType must be CardholderInitiatedCredentialOnFile.

Since this is different from seller to seller and even could be different within the same seller, this needs to be a configuration item.

Steps to reproduce

Not applicable

Proposed resolution

Create a form entry that let's the user choose which one is being used. And then reflect it in the code, when the payload is being sent to Valitor

Remaining tasks

  • Create form elements
  • Add the variable to the config
  • Change the code to use the variable instead of hardcoded string

User interface changes

Config selection needs to be added to the config form.

API changes

Data model changes

A new variable needs to be added to the config schema.

✨ Feature request
Status

Active

Version

2.0

Component

User interface

Created by

🇮🇸Iceland drupalviking

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024