File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ class Zarinpal extends AdapterAbstract implements AdapterInterface
1919 protected $ zarinEndPoint = 'https://www.zarinpal.com/pg/StartPay/{authority}/ZarinGate ' ;
2020 protected $ mobileEndPoint = 'https://www.zarinpal.com/pg/StartPay/{authority}/MobileGate ' ;
2121
22- protected $ testWSDL = 'https ://banktest.ir/gateway/zarinpal/ws?wsdl ' ;
23- protected $ testEndPoint = 'https ://banktest.ir/gateway/zarinpal/gate/{authority} ' ;
22+ protected $ testWSDL = 'http ://banktest.ir/gateway/zarinpal/ws?wsdl ' ;
23+ protected $ testEndPoint = 'http ://banktest.ir/gateway/zarinpal/gate/{authority} ' ;
2424
2525 public $ reverseSupport = false ;
2626
@@ -107,14 +107,13 @@ protected function verifyTransaction(): bool
107107
108108 $ this ->checkRequiredParameters ([
109109 'merchant_id ' ,
110- 'amount ' ,
111110 'Authority ' ,
112111 ]);
113112
114113 $ sendParams = [
115114 'MerchantID ' => $ this ->merchant_id ,
116115 'Authority ' => $ this ->Authority ,
117- 'Amount ' => intval ($ this ->amount ),
116+ 'Amount ' => intval ($ this ->transaction -> amount ),
118117 ];
119118
120119 try {
You can’t perform that action at this time.
0 commit comments