Magento 2
How does the Braintree module save the current bank card for a later use?
Development
Vault
vault
,
braintree
,
payment
,
checkout
dmitrii_fediuk
(Dmitrii Fediuk)
June 6, 2017, 1:56am
1
Step 1. The «
Save for later use
» checkbox
Step 2.
The chosen «
Save for later use
» checkbox value is processed here:
Step 3.
Magento\Vault\Observer\VaultEnableAssigner::execute()
Step 4.
Magento\Vault\Observer\AfterPaymentSaveObserver::execute()
How is the «Stored Payment Methods» customer account section implemented?
dmitrii_fediuk
(Dmitrii Fediuk)
June 8, 2017, 4:25am
2
See also:
The
vault_payment_token
database table structure and sample data