File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ abstract class SecureXMLAbstractRequest extends AbstractRequest
2222 */
2323 protected $ requestType = 'Payment ' ;
2424
25+ /**
26+ * @var mixed
27+ */
2528 protected $ txnType ;
2629
2730 /**
@@ -132,8 +135,9 @@ protected function getBasePaymentXML()
132135 }
133136
134137 /**
135- * @return \SimpleXMLElement NABTransactMessage with transaction and card
136- * details.
138+ * NABTransactMessage with transaction and card details.
139+ *
140+ * @return \SimpleXMLElement
137141 */
138142 protected function getBasePaymentXMLWithCard ()
139143 {
@@ -145,7 +149,7 @@ protected function getBasePaymentXMLWithCard()
145149 $ card ->addChild ('cardNumber ' , $ this ->getCard ()->getNumber ());
146150 $ card ->addChild ('cvv ' , $ this ->getCard ()->getCvv ());
147151 $ card ->addChild ('expiryDate ' , $ this ->getCard ()->getExpiryDate ('m/y ' ));
148- $ card ->addChild ('cardHolderName ' , $ this ->getCardHolderName ())
152+ $ card ->addChild ('cardHolderName ' , $ this ->getCardHolderName ());
149153 $ card ->addChild ('recurringflag ' , 'no ' );
150154
151155 return $ xml ;
Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ public function getName()
1717 public function getDefaultParameters ()
1818 {
1919 return array (
20- 'merchantId ' => '' ,
20+ 'merchantId ' => '' ,
2121 'transactionPassword ' => '' ,
22- 'testMode ' => false ,
22+ 'testMode ' => false ,
2323 );
2424 }
2525
You can’t perform that action at this time.
0 commit comments