TokenBase is the foundational package for most ParadoxLabs extensions for Magento®. It provides a tokenized card storage mechanism that is similar to but more featureful than Magento_Vault, and abstract components of a payment gateway implementation for Magento built around those stored cards.
A new database property (and associated APIs) for reading and updating the "default" card for a customer.
Your Use Case
As a user, I would to be able to choose which of my cards is my "default" card.
As a user, I would like to do instant purchases using my "default" card.
Environment
TokenBase version: 4.5.5
Magento version: 2.4.5-p5
PHP version: PHP 8.1.18 (cli) (built: Apr 14 2023 04:39:07) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.18, Copyright (c) Zend Technologies
with Zend OPcache v8.1.18, Copyright (c), by Zend Technologies
Thanks Damien! It's definitely possible, and probably wouldn't be very involved. We would have to add a new flag to the card model. Current behavior is to default to the most recently used card.
:bulb: Feature request
Feature Name
Default stored cards
The Desired Behavior
A new database property (and associated APIs) for reading and updating the "default" card for a customer.
Your Use Case
As a user, I would to be able to choose which of my cards is my "default" card. As a user, I would like to do instant purchases using my "default" card.
Environment