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()
26
26
'transactionKey ' => '' ,
27
27
'testMode ' => false ,
28
28
'developerMode ' => false ,
29
+ 'hashSecret ' => '' ,
29
30
'liveEndpoint ' => 'https://api2.authorize.net/xml/v1/request.api ' ,
30
31
'developerEndpoint ' => 'https://apitest.authorize.net/xml/v1/request.api ' ,
31
32
);
@@ -61,6 +62,16 @@ public function setDeveloperMode($value)
61
62
return $ this ->setParameter ('developerMode ' , $ value );
62
63
}
63
64
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
+
64
75
public function setEndpoints ($ endpoints )
65
76
{
66
77
$ this ->setParameter ('liveEndpoint ' , $ endpoints ['live ' ]);
Original file line number Diff line number Diff line change @@ -53,16 +53,6 @@ public function setDeveloperMode($value)
53
53
return $ this ->setParameter ('developerMode ' , $ value );
54
54
}
55
55
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
-
66
56
public function authorize (array $ parameters = array ())
67
57
{
68
58
return $ this ->createRequest ('\Omnipay\AuthorizeNet\Message\SIMAuthorizeRequest ' , $ parameters );
You can’t perform that action at this time.
0 commit comments