Skip to content

Commit

Permalink
Class inheritance fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
judgej committed Aug 25, 2016
1 parent 50f8969 commit 9e7f298
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Message/ShopFrontendAuthorizeRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,16 +138,16 @@ public function getData()
$data['narrative_text'] = $this->getDescription();
}

// Create the hash.
$data['hash'] = $this->hashArray($data);

$data += $this->getDataPersonal();
$data += $this->getDataShipping();

if ($this->getLanguage()) {
$data['language'] = $this->getLanguage();
}

// Create the hash for hashable fields.
$data['hash'] = $this->hashArray($data);

return $data;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Message/ShopServerCaptureRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* PAYONE Shop Capture Request
*/

class ShopServerCaptureRequest extends AbstractRequest
class ShopServerCaptureRequest extends ShopServerAuthorizeRequest
{
/**
* Values for the settleAccount parameter.
Expand Down

0 comments on commit 9e7f298

Please sign in to comment.