"Remember Me" off flag not respected by Card on File add card feature

Created on 14 July 2016, about 9 years ago
Updated 18 August 2025, about 1 month ago

Hi Folks,

I'll say straight out I don't know if this is a card-on-file issue or a commerce_stripe issue.

One of the settings in the commerce_stripe settings is
Show "Remember Me" option
Specify whether Checkout should allow the user to store their credit card for faster checkout.

I prefer to have that turned off because it is redundant (though handled differently) with Card on File functionality and so would be confusing to the end user.

During a normal checkout commerce_stripe IS respecting the off setting for that and does not show the "Remember me" box on the Stripe iframe form.

However, one of the functionalities of Card on File is the ability to add a card to your user account without making a purchase. After entering the non-sensitive card data on a Drupal form you click a button which opens up a Stripe iframe where you add the sensitive data. It is there that the position of the "Remember Me" flag in the commerce_stripe settings is not respected.

The work around I'm using is to turn off the ability to add a card without making a purchase by unchecking the roles for "Create own card data" in Card on File permissions.

πŸ› Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Shai

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024