Skip to main content
Version: 3.x

Customize data sent to Stripe

This guide explains how to Customize data sent to Stripe

The Stripe payment module is extensible. It leverages Front-Commerce's data transform pattern to allow developers to customize payloads sent to Stripe for Customer and Cart content.

Both the Customer and PaymentIntent Stripe objects can be customized at application level. It allows to add additional metadata depending on your own logic. For this, you can use the registerCustomerDataTransform and registerPaymentIntentDataTransform methods of the Stripe loader to add your custom transformers.