Skip to content

Commit 1596160

Browse files
author
Aboozar Ghaffari
authored
Merge branch 'master' into new-version
2 parents 003b92a + 11ffb00 commit 1596160

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Adapter/Saman.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414
class Saman extends AdapterAbstract implements AdapterInterface
1515
{
16-
protected $WSDL = 'https://sep.shaparak.ir/payments/referenclarapay.asmx?WSDL';
16+
protected $WSDL = 'https://sep.shaparak.ir/payments/referencepayment.asmx?WSDL';
1717
protected $tokenWSDL = 'https://sep.shaparak.ir/Payments/InitPayment.asmx?WSDL';
1818
protected $endPoint = 'https://sep.shaparak.ir/Payment.aspx';
1919

@@ -218,7 +218,6 @@ protected function reverseTransaction(): bool
218218

219219
if ($response == 1) { // check by transaction amount
220220
$this->getTransaction()->setRefunded(true);
221-
222221
return true;
223222
} else {
224223
throw new Exception($response);

0 commit comments

Comments
 (0)