Conversation
client-app/shared/payment/components/payment-processing-cyber-source.vue
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
This pull request adds masking functionality to the CVV/security code field in the CyberSource payment form component. The change enhances security by visually obscuring the security code as users type, similar to password fields.
Changes:
- Extended the
IFieldOptionsTypeScript interface to support masking and custom styles configuration - Applied masking with bullet character (
\u2022) and-webkit-text-security: discto the security code field for visual obfuscation
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
client-app/shared/payment/components/payment-processing-cyber-source.vue
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| "font-size": "1rem", | ||
| "-webkit-text-security": "disc", | ||
| }, | ||
| }, |
There was a problem hiding this comment.
Unsupported microform field options used
Medium Severity
microform.createField("securityCode", ...) now passes type, masking, and per-field styles. If CyberSource Flex Microform doesn’t support these options for createField, they may be ignored (leaving CVV unmasked) or cause field initialization to fail at runtime.
| "font-size": "1rem", | ||
| "-webkit-text-security": "disc", | ||
| }, | ||
| }, |
There was a problem hiding this comment.
|





Description
References
Jira-link:
Artifact URL:
https://vc3prerelease.blob.core.windows.net/packages/vc-theme-b2b-vue-2.43.0-pr-2197-c837-c83727fd.zip
Note
Low Risk
UI/input-configuration change limited to CVV field rendering and local typings; no changes to tokenization or payment authorization logic.
Overview
Updates the CyberSource payment microform CVV (
securityCode) field to be masked by configuring it as a password-style input with bullet masking and input-level styling.Extends the local
IFieldOptionsTypeScript typing to include the newtype,masking, andstylesoptions passed tomicroform.createField.Written by Cursor Bugbot for commit c83727f. This will update automatically on new commits. Configure here.