Page MenuHomePhabricator

Validate CPF for AstroPay
Closed, ResolvedPublic1 Estimated Story Points

Description

We should never send an empty or obviously invalid fiscal_number to AstroPay

Event Timeline

Ejegg raised the priority of this task from to Needs Triage.
Ejegg updated the task description. (Show Details)
Ejegg added a subscriber: Ejegg.
atgo triaged this task as Medium priority.Jul 17 2015, 6:33 PM
atgo set Security to None.

Change 225349 had a related patch set uploaded (by Ejegg):
WIP Check CPF is numeric when exists, require for AstroPay

https://gerrit.wikimedia.org/r/225349

We'll need a new calculated validation function that takes country into account. This table may help: https://en.wikipedia.org/wiki/VAT_identification_number#VAT_numbers_of_Latin_American_countries

atgo added a subscriber: atgo.

While you're in there... T106137? If not, we can hit it in the next sprint.

Change 225349 merged by jenkins-bot:
Validate fiscal number when exists, require for AstroPay

https://gerrit.wikimedia.org/r/225349

Change 226248 had a related patch set uploaded (by Ejegg):
Undo last commit's fiscal number normalization

https://gerrit.wikimedia.org/r/226248

Change 226248 merged by jenkins-bot:
Undo last commit's fiscal number normalization

https://gerrit.wikimedia.org/r/226248

Ejegg updated the task description. (Show Details)
Ejegg edited a custom field.