Skip to content

Commit

Permalink
Fix bug in passing the id number to Stripe
Browse files Browse the repository at this point in the history
  • Loading branch information
OtterleyW committed Jul 4, 2019
1 parent 3797572 commit 738458b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ducks/stripe.duck.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ const personTokenParams = (personData, country) => {
country === 'US'
? { ssn_last_4: personalIdNumber }
: personalIdNumber
? { personal_id_number: personalIdNumber }
? { id_number: personalIdNumber }
: {};

const accountOpenerMaybe = isAccountOpener ? { account_opener: true } : {};
Expand Down Expand Up @@ -476,7 +476,7 @@ const accountTokenParamsForIndividual = (individual, country) => {
country === 'US'
? { ssn_last_4: personalIdNumber }
: personalIdNumber
? { personal_id_number: personalIdNumber }
? { id_number: personalIdNumber }
: {};

return {
Expand Down

0 comments on commit 738458b

Please sign in to comment.