Skip to content

Commit

Permalink
Minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
mgesing committed Oct 18, 2018
1 parent b71f62f commit 52e6060
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,12 @@ public void Copy(PayPalPlusPaymentSettings settings, bool fromSettings)
if (fromSettings)
{
MiniMapper.Map(settings, this);
}
}
else
{
MiniMapper.Map(this, settings);
TransactMode = TransactMode.AuthorizeAndCapture;

MiniMapper.Map(this, settings);
settings.ApiAccountName = ApiAccountName.TrimSafe();
settings.ApiAccountPassword = ApiAccountPassword.TrimSafe();
settings.ClientId = ClientId.TrimSafe();
Expand Down

0 comments on commit 52e6060

Please sign in to comment.