Skip to content

Commit

Permalink
Merge branch 'hotfix/v2.1.1' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
omalizadeh committed Sep 27, 2021
2 parents bc99191 + 4f3e640 commit f3fae77
Show file tree
Hide file tree
Showing 8 changed files with 286 additions and 206 deletions.
2 changes: 1 addition & 1 deletion README-EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ payment was successful).

return PaymentGateway::purchase($invoice, function (string $transactionId) {
// Save transaction_id and do stuff...
})->render();
})->view();
```

### Verification
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@

return PaymentGateway::purchase($invoice, function (string $transactionId) {
// Save transaction_id and do stuff...
})->render();
})->view();
```

<div dir="rtl">
Expand All @@ -170,7 +170,7 @@
return PaymentGateway::setGateway('mellat.app')
->purchase($invoice, function (string $transactionId) {
// Save transaction_id and do stuff...
})->render();
})->view();
```

<div dir="rtl">
Expand Down
25 changes: 18 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,21 @@
"type": "library",
"license": "MIT",
"keywords": [
"laravel",
"php",
"payment",
"bank",
"shetab",
"gateway",
"invoice",
"behpardakht",
"saman",
"mellat",
"zarinpal",
"saman",
"sep",
"pasargad",
"eghtesad novin",
"online payment",
"laravel payment"
"zarinpal",
"zibal"
],
"authors": [
{
Expand All @@ -27,11 +30,15 @@
"require": {
"php": "^7.4|^8.0",
"ext-json": "*",
"ext-soap": "*",
"ext-openssl": "*",
"illuminate/support": "^7.0|^8.0",
"ramsey/uuid": "^4.0"
},
"suggest": {
"ext-bcmath": "Needed to use pasargad gateway",
"ext-openssl": "Needed to use eghtesad novin gateway",
"ext-simplexml": "Needed to use pasargad gateway",
"ext-soap": "Needed to use SOAP drivers: mellat, saman"
},
"require-dev": {
"orchestra/testbench": "^6.18"
},
Expand All @@ -45,6 +52,9 @@
"Omalizadeh\\MultiPayment\\Tests\\": "tests/"
}
},
"config": {
"sort-packages": true
},
"extra": {
"laravel": {
"providers": [
Expand All @@ -55,5 +65,6 @@
}
}
},
"minimum-stability": "dev",
"prefer-stable": true
}
}
Loading

0 comments on commit f3fae77

Please sign in to comment.