# Add additional metadata to payments Send additional payments metadata from Adobe Commerce to Stripe. When you click a payment in your Stripe Dashboard, you might see some metadata already set on the payment, such as the order number in Magento and the module version used to collect the payment. This guide describes how to extend the Stripe module to add additional metadata to each payment. ## Create a new module Create a new module with the following directory structure. Replace `Vendor` with your preferred vendor name. ``` app/code/Vendor/StripeCustomizations/ ├── etc/ │ ├── module.xml │ └── di.xml ├── Plugin/ │ └── Payments/ │ └── ConfigPlugin.php └── registration.php ``` Inside `registration.php`, register your module with Magento. ```php ``` Inside `etc/di.xml`, define the following plugin: ```xml ``` Inside `Plugin/Payments/ConfigPlugin.php`, add an afterMethod interceptor: ```php getCustomerGroupId(); $result['Customer Group'] = $customerGroup; return $result; } } ``` Enable the module: ```sh php bin/magento module:enable Vendor_StripeCustomizations php bin/magento setup:upgrade php bin/magento cache:clean php bin/magento cache:flush ```