File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
vendor/omnipay/authorizenet/src Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -208,4 +208,13 @@ public function queryDetail(array $parameters = array())
208
208
{
209
209
return $ this ->createRequest ('\Omnipay\AuthorizeNet\Message\QueryDetailRequest ' , $ parameters );
210
210
}
211
+
212
+ /**
213
+ * @param array $parameters
214
+ * @return QueryDetailResponse
215
+ */
216
+ public function createCard (array $ parameters = array ())
217
+ {
218
+ return $ this ->createRequest ('\Omnipay\AuthorizeNet\Message\CIMCreateCardRequest ' , $ parameters );
219
+ }
211
220
}
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ public function setDeveloperEndpoint($value)
97
97
98
98
public function getEndpoint ()
99
99
{
100
- return $ this ->getDeveloperMode () || $ this -> getTestMode () ? $ this ->getDeveloperEndpoint () : $ this ->getLiveEndpoint ();
100
+ return $ this ->getDeveloperMode () ? $ this ->getDeveloperEndpoint () : $ this ->getLiveEndpoint ();
101
101
}
102
102
103
103
/**
You can’t perform that action at this time.
0 commit comments