Skip to content

Commit

Permalink
Fix additioanl fields adding
Browse files Browse the repository at this point in the history
  • Loading branch information
panda-madness committed Apr 19, 2018
1 parent bc9b798 commit d8b66c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Requests/PaymentRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function buildXML()
$department->addAttribute('merchant_id', $this->clientOptions['MERCHANT_ID']);
$department->addAttribute('amount', $this->requestParams['amount']);

if(isset($this->params['fields'])) {
if(isset($this->requestParams['fields'])) {
foreach ($this->requestParams['fields'] as $field => $value) {
$department->addAttribute($field, $value);
}
Expand Down

0 comments on commit d8b66c6

Please sign in to comment.