"const microform = new Flex(this.captureContext).microform({ styles: this.myStyles }) const securityCodeField = this.microform?.createField('securityCode', { placeholder: '•••' }) securityCodeField?.load('#securityCode-container')"
it load the security code field in higher environment but in lower environment it through the error like Refused to frame 'https://testflex.cybersource.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors https://andersen--stage.sandbox.lightning.force.com".
even we define the trusted URL as well.
05-27-2024 05:40 AM