File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ public function getDefaultParameters()
2626 'transactionKey ' => '' ,
2727 'testMode ' => false ,
2828 'developerMode ' => false ,
29+ 'hashSecret ' => '' ,
2930 'liveEndpoint ' => 'https://api2.authorize.net/xml/v1/request.api ' ,
3031 'developerEndpoint ' => 'https://apitest.authorize.net/xml/v1/request.api ' ,
3132 );
@@ -61,6 +62,16 @@ public function setDeveloperMode($value)
6162 return $ this ->setParameter ('developerMode ' , $ value );
6263 }
6364
65+ public function setHashSecret ($ value )
66+ {
67+ return $ this ->setParameter ('hashSecret ' , $ value );
68+ }
69+
70+ public function getHashSecret ()
71+ {
72+ return $ this ->getParameter ('hashSecret ' );
73+ }
74+
6475 public function setEndpoints ($ endpoints )
6576 {
6677 $ this ->setParameter ('liveEndpoint ' , $ endpoints ['live ' ]);
Original file line number Diff line number Diff line change @@ -53,16 +53,6 @@ public function setDeveloperMode($value)
5353 return $ this ->setParameter ('developerMode ' , $ value );
5454 }
5555
56- public function getHashSecret ()
57- {
58- return $ this ->getParameter ('hashSecret ' );
59- }
60-
61- public function setHashSecret ($ value )
62- {
63- return $ this ->setParameter ('hashSecret ' , $ value );
64- }
65-
6656 public function authorize (array $ parameters = array ())
6757 {
6858 return $ this ->createRequest ('\Omnipay\AuthorizeNet\Message\SIMAuthorizeRequest ' , $ parameters );
You can’t perform that action at this time.
0 commit comments