# paypal-personalization **Repository Path**: mirrors_paypal/paypal-personalization ## Basic Information - **Project Name**: paypal-personalization - **Description**: PayPal Personalization - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-12 - **Last Updated**: 2026-04-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Personalization Definition, eligibility and personalization of PayPal experiments. ## Convention ### Experiments Experiment definitions are added under the `experiments` folder. The folder name should be the experiment name as it would be returned from calling the `checkoutCustomization`API. #### Treatments (future) Create a `treatments` folder within each personalization definition with as many treatments as are defined by the experiment. For each treatment, create a folder with it's treatment name as will be defined in the response. #### HTML ``` javascript type Html = ({| personalization? : ?PersonalizationResponse |}) => string; ``` Define the HTML to be injected into the DOM for the experiment in a file named, `html.js` under the root folder of the defined experiment. Export a function named `html`. #### CSS ``` javascript type Style = ({| personalization? : ?PersonalizationResponse |}) => string; ``` Define the CSS to be injected into the `