Context:
- How are the payment data assigned to the Vault payment method instance on an order placement?
- How does the Braintree module saves the current bank card for a later use?
The single usage
It is a handler of the payment_method_assign_data
event:
This event is triggered by the Magento\Payment\Model\Method\Adapter::assignData()
method.
Context: How are the payment data assigned to the Vault payment method instance on an order placement?
Implementation