We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 566cddd commit b24ebe8Copy full SHA for b24ebe8
src/Message/AIMRefundRequest.php
@@ -17,9 +17,12 @@ public function getData()
17
18
$data['x_trans_id'] = $this->getTransactionReference();
19
$data['x_card_num'] = $this->getCard()->getNumber();
20
- if (!empty($this->getCard()->getExpiryMonth())) {
+
21
+ $expiryMonth = $this->getCard()->getExpiryMonth();
22
+ if (!empty($expiryMonth)) {
23
$data['x_exp_date'] = $this->getCard()->getExpiryDate('my');
24
}
25
26
$data['x_amount'] = $this->getAmount();
27
28
return $data;
0 commit comments