Skip to content

Commit

Permalink
fix pull request issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mdoulabi committed May 2, 2023
1 parent 3913b53 commit 83bdd9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
9 changes: 4 additions & 5 deletions config/gateway_parsian.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@
/**
* gateway configurations
*/
'behandam' => [
'terminal_id' => '',
'main' => [
'pin_code' => '',
'callback_url' => 'https://yoursite.com/path/to',
'callback_method' => 'POST', // Supported values: POST, GET
'description' => 'رژیم دکتر کرمانی',
'callback_method' => 'POST',
'description' => '',
],

'other' => [
'merchant' => '',
'pin_code' => '',
'callback_url' => 'https://yoursite.com/path/to',
'description' => 'payment using parsian',
]
Expand Down
3 changes: 0 additions & 3 deletions src/Drivers/Parsian/Parsian.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ public function verify(): Receipt

protected function getPurchaseData(): array
{
if (empty($this->settings['terminal_id'])) {
throw new InvalidConfigurationException('terminal_id has not been set.');
}

if (empty($this->settings['pin_code'])) {
throw new InvalidConfigurationException('pin_code has not been set.');
Expand Down

0 comments on commit 83bdd9a

Please sign in to comment.