File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -175,17 +175,6 @@ public function getBaseUrl(): string
175
175
return $ this ->base_url ;
176
176
}
177
177
178
-
179
- /**
180
- * Verify Payment
181
- * @throws Exception
182
- */
183
- public function verifyPayment ($ paymentRefId )
184
- {
185
- $ url = $ this ->base_url . 'verify/payment/ ' . $ paymentRefId ;
186
- return Helper::httpGet ($ url );
187
- }
188
-
189
178
/**
190
179
* @throws NagadPaymentException
191
180
*/
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public function encryptDataWithPublicKey($data): string
75
75
return base64_encode ($ cryptoText );
76
76
}
77
77
78
- throw new ExceptionHandler ('Invalid Public key ' );
78
+ throw new ExceptionHandler ('Invalid Public key. Check Public Key in Configuration ' );
79
79
}
80
80
81
81
/**
@@ -94,7 +94,7 @@ public function signatureGenerate($data): string
94
94
return base64_encode ($ signature );
95
95
}
96
96
97
- throw new ExceptionHandler ('Invalid private key ' );
97
+ throw new ExceptionHandler ('Invalid private key. Check Private Key in Configuration ' );
98
98
}
99
99
100
100
/**
@@ -133,7 +133,6 @@ public function httpPostMethod(string $postUrl, array $postData)
133
133
$ response = json_decode ($ resultData , true );
134
134
curl_close ($ url );
135
135
return $ response ;
136
-
137
136
}
138
137
139
138
You can’t perform that action at this time.
0 commit comments