Skip to content

Commit

Permalink
Add billCountry as well
Browse files Browse the repository at this point in the history
  • Loading branch information
dnna committed Sep 13, 2019
1 parent d7ca1a8 commit 17b6ef3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Action/Api/CreateChargeAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ public function execute($request): void
$mappedModel[$k] = $v;
}
}
if (isset($model['billCountry'])) {
unset($mappedModel['billCountry']);
$mappedModel['billCountry'] = $model['billCountry'];
}
if (isset($model['billState'])) {
unset($mappedModel['billState']);
$mappedModel['billState'] = $model['billState'];
Expand Down

0 comments on commit 17b6ef3

Please sign in to comment.