Skip to main content
Version: 3.x

Customize data sent to Stripe

This guide explains how to Customize data sent to Stripe

WIP

This advanced pattern must be documented with further details. While we are working on it, please contact us if you need further assistance.

See the tests for an example (while a detailed documentation is being written):

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.