diff --git a/README.md b/README.md index 0b0e113..ab288be 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,12 @@ -# Omnipay:: Offline dummy +# Omnipay:: Bank transfer -Omnipay Offline Dummy Gateway for testing +Omnipay bank Transfer Gateway -[![tests](https://github.com/descom-es/omnipay-offline-dummy/actions/workflows/tests.yml/badge.svg)](https://github.com/descom-es/omnipay-offline-dummy/actions/workflows/tests.yml) -[![analyse](https://github.com/descom-es/omnipay-offline-dummy/actions/workflows/analyse.yml/badge.svg)](https://github.com/descom-es/omnipay-offline-dummy/actions/workflows/analyse.yml) -[![style-fix](https://github.com/descom-es/omnipay-offline-dummy/actions/workflows/style-fix.yml/badge.svg)](https://github.com/descom-es/omnipay-offline-dummy/actions/workflows/style-fix.yml) ## Instalation ```sh -composer require descom/omnipay-offline-dummy +composer require descom/omnipay-bank-transfer ``` ## Basic Usage @@ -19,7 +16,7 @@ composer require descom/omnipay-offline-dummy ```php use Omnipay\Omnipay; -$gateway = Omnipay::create('OfflineDummy'); +$gateway = Omnipay::create('BankTransfer'); $request = $gateway->purchase([ 'amount' => '12.00', diff --git a/composer.json b/composer.json index 656363e..26101ef 100644 --- a/composer.json +++ b/composer.json @@ -1,16 +1,16 @@ { - "name": "descom/omnipay-offline-dummy", - "description": "Omnipay Offline Dummy Gateway for testing", + "name": "descom/omnipay-bank-transfer", + "description": "Omnipay Bank Transfer Gateway", "type": "library", "license": "MIT", "autoload": { "psr-4": { - "Omnipay\\OfflineDummy\\": "src/" + "Omnipay\\BankTransfer\\": "src/" } }, "autoload-dev": { "psr-4": { - "Omnipay\\OfflineDummy\\Tests\\": "tests/" + "Omnipay\\BankTransfer\\Tests\\": "tests/" } }, "authors": [ @@ -40,8 +40,8 @@ "extra": { "laravel": { "providers": [ - "Omnipay\\OfflineDummy\\App\\AppServiceProvider" + "Omnipay\\BankTransfer\\App\\AppServiceProvider" ] } } -} +} \ No newline at end of file diff --git a/phpstan.neon.dist b/phpstan.neon.dist index c27661a..0af358a 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -10,7 +10,4 @@ parameters: # The level 9 is the highest level level: 5 - checkMissingIterableValueType: false - - ignoreErrors: - - '#Property Omnipay\\OfflineDummy\\Tests.* \(Omnipay\\OfflineDummy\\Gateway\) does not accept Omnipay\\Common\\GatewayInterface.#' \ No newline at end of file + checkMissingIterableValueType: false \ No newline at end of file diff --git a/resources/views/payment.blade.php b/resources/views/payment.blade.php index cda5a37..13d095d 100644 --- a/resources/views/payment.blade.php +++ b/resources/views/payment.blade.php @@ -100,9 +100,10 @@
- Este método de pago ha sido desarrollado por Descom para testear los procesos de compra. + Este método de pago ha sido desarrollado por Descom para realizar procesos de compra por transferencia + bancaria.