# Hide the terms displayed in the PaymentElement form Disable the terms text under the PaymentElement using a custom module. Some payment methods inside the PaymentElement display terms relevant to their use. Use this guide to disable the terms text under the PaymentElement using a custom module. See the [API documentation](https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-terms) for more information. ## 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/ │ └── Helper/ │ └── PaymentMethodOptions.php └── registration.php ``` Inside `registration.php`, register your module with Magento. ```php ``` Inside `etc/di.xml`, define the following plugin: ```xml ``` Inside `Plugin/Helper/PaymentMethodOptions.php`, create the plugin class: ```php