Skip to content

Leading zero in CVV is being stripped

Summary

When customer add card using CVV with leading zero, the zero was stripped from the number which cause the card to be invalid

Steps to reproduce

Add a payment method that has CVV with leading zero.

What is the current bug behavior?

What is the expected correct behavior?

Leading zero in CVV numbers should not be stripped.

Relevant logs and/or screenshots

(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's tough to read otherwise.)

Workarounds

(Ways to get around the issue)

Reported examples

  1. https://gitlab.zendesk.com/agent/tickets/149065