Back to All

Iframe no agarra los estilos

Estoy pasando el objeto options a la configuración del iframe y no toma los estilos, a que se debe? o que estoy haciendo mal?

        const config = {
            targetIFrame: "conektaIframeContainer",
            checkoutRequestId: state.conektaCheckoutId.checkoutId,
            publicKey: process.env.CONEKTA_PUBLIC_KEY,
            locale: "es",
          };
          const options = {
            theme: 'default',
            styles: {
               inputType: 'basic',
               button: {
                   colorText: '#607d8b',
                   text: 'PAGAR',
                   backgroundColor: '#86E897',
               },
            }
     };
          console.log(options);

          const callbacks = {
            onFinalizePayment: (event) => {
         
            },
            onErrorPayment: (event) => {
                onError(event)
            },
            onGetInfoSuccess: (event) => {

            },
          }
       window?.ConektaCheckoutComponents?.Integration({ config,options, callbacks });