diff --git a/web/checkout.js b/web/checkout.js index b017735..a868341 100644 --- a/web/checkout.js +++ b/web/checkout.js @@ -405,7 +405,10 @@ customization:{paymentMethods:tipo==='debito' ? {maxInstallments:1,types:{excluded:['credit_card']}} : {maxInstallments:12,types:{excluded:['debit_card']}}, - visual:{style:{customVariables:{baseColor:'#FFA81A',buttonTextColor:'#03060B'}}}}, + // The option above already names the card; the form's own title + // ("crédito ou débito") would contradict it. + visual:{hideFormTitle:true, + style:{customVariables:{baseColor:'#FFA81A',buttonTextColor:'#03060B'}}}}, callbacks:{ onReady:()=>{}, onError:error=>{ console.error(error); message('Erro no formulário do cartão. Confira os dados e tente de novo.'); },