File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -206,8 +206,8 @@ protected function reverseTransaction(): bool
206206 $ soapClient = $ this ->getSoapClient ();
207207
208208 Log::info ('reverseTransaction call ' , [$ this ->RefNum , $ this ->merchant_id ]);
209- $ response = $ soapClient ->reverseTransaction (
210- $ this ->ref_id ,
209+ $ response = $ soapClient ->reverseTransaction1 (
210+ $ this ->RefNum ,
211211 $ this ->merchant_id ,
212212 $ this ->password ,
213213 $ this ->amount
@@ -216,7 +216,7 @@ protected function reverseTransaction(): bool
216216 if (isset ($ response )) {
217217 Log::info ('reverseTransaction response ' , ['response ' => $ response ]);
218218
219- if ($ response === 1 ) { // check by transaction amount
219+ if ($ response == 1 ) { // check by transaction amount
220220 $ this ->getTransaction ()->setRefunded ();
221221
222222 return true ;
You can’t perform that action at this time.
0 commit comments