File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ protected function getBaseXML()
6565 $ xml = new \SimpleXMLElement ('<SecurePayMessage/> ' );
6666
6767 $ messageInfo = $ xml ->addChild ('MessageInfo ' );
68- $ messageInfo ->addChild ( ' messageID ' , $ this ->getMessageId () );
68+ $ messageInfo ->messageID = $ this ->getMessageId ();
6969 $ messageInfo ->addChild ('messageTimestamp ' , $ this ->generateTimestamp ());
7070 $ messageInfo ->addChild ('timeoutValue ' , 60 );
7171 $ messageInfo ->addChild ('apiVersion ' , 'xml-4.2 ' );
@@ -98,7 +98,7 @@ protected function getBasePaymentXML()
9898 $ transaction ->addChild ('txnSource ' , 23 ); // Must always be 23 for SecureXML.
9999 $ transaction ->addChild ('amount ' , $ this ->getAmountInteger ());
100100 $ transaction ->addChild ('currency ' , $ this ->getCurrency ());
101- $ transaction ->addChild ( ' purchaseOrderNo ' , $ this ->getTransactionId () );
101+ $ transaction ->purchaseOrderNo = $ this ->getTransactionId ();
102102
103103 return $ xml ;
104104 }
You can’t perform that action at this time.
0 commit comments