Skip to content

Commit

Permalink
Merge pull request #16 from Happyrain67/patch-1
Browse files Browse the repository at this point in the history
Fix payment Multiple
  • Loading branch information
baptiste-dulac authored Apr 11, 2019
2 parents 993499b + 4924af8 commit 83c2492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tlconseil/SystempayBundle/Service/SystemPay.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function init($currency = 978, $amount = 1000)
public function setOptionnalFields($fields)
{
foreach ($fields as $field => $value)
if (empty($this->mandatoryFields[$field]))
if (empty($this->mandatoryFields[$field]) || $field == 'payment_config')
$this->mandatoryFields[$field] = $value;
return $this;
}
Expand Down

0 comments on commit 83c2492

Please sign in to comment.