Problem/Motivation

The feature to allow users to store their payment data is interesting but not always what's desired. Sometimes you might want to never offer that, or in other cases, always, even for anonymous users. Our case case is then setting up subscriptions in a second step based on that token, so it won't be stored in Drupal, but we use it in our own code afterwards.

Steps to reproduce

Proposed resolution

Convert the current checkbox to a select with 3 options: Never, Ask, Always.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Berdir created an issue. See original summary.

berdir’s picture

Status: Active » Needs review
StatusFileSize
new6.5 KB

Includes a bit of cleanup surrounding this feature. Defining the default configuration, config schema, no need to store the uid as well as the private store is already by the current user and can't contain something else.

cola’s picture

Version: 8.x-1.x-dev » 8.x-2.x-dev

  • cola committed 5ff8912 on 8.x-2.x authored by Berdir
    Issue #3252965 by Berdir: Allow to control if tokens are always,...
cola’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.