Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #40 from performadigital/address_state-nullfix
Browse files Browse the repository at this point in the history
Address state null fix
  • Loading branch information
pmclain authored Apr 6, 2018
2 parents 8669475 + d086eff commit 1c60bd6
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,10 @@ define(
ownerData.owner.address.state = billingAddress.regionCode;
}

if (stripeData.address_state == null){
stripeData.address_state = '';
}

return ownerData;
},

Expand All @@ -332,8 +336,12 @@ define(
stripeData.address_state = billingAddress.regionCode;
}

if (stripeData.address_state == null){
stripeData.address_state = '';
}

return stripeData;
}
});
}
);
);

0 comments on commit 1c60bd6

Please sign in to comment.