Hide transaction date - Additional settings - Mercado Pago Developers

Hide transaction date

Client-Side

By default, the Brick displays the data of the transaction for the user, therefore, if desired, it is possible to hide this data through the configuration below.

javascript

const settings = {
 initialization: {
   paymentId: 100, // payment id generated by Mercado Pago
 },
 callbacks: {
   onReady: () => {
     // callback called when Brick is ready
   },
   onError: (error) => {
     // callback called for all Brick error cases
   },
 },
 customization: {
   visual: {
       hideTransactionDate: true
   }
 }
};