During the checkout process, the plugin event
payments_preauthorized can now be sent to plugins after the payment preauthorization step.
The following additional fields have been added to the
payments object in the plugin request body:
expiry: the expiration date on the card
avs_result: the status of address verification service (AVS)
cvd_result: the status of card validation digits (CVD)
These values come from the payment gateway that performed the preauthorization and can only be populated after preauthorization.
Visit your specific payment gateway documentation for more information on expiration.
For more information about plugin events, see the Plugins Events reference.