-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Añadir documentación, arreglar cosillas y añadir test
- Loading branch information
Showing
6 changed files
with
851 additions
and
2 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Tabla Ds_ProcessedPayMethod | ||
|
||
Informa sobre el método en el que se ha realizado la operación: | ||
|
||
https://pagosonline.redsys.es/parametros-entrada-salida.html | ||
|
||
| Método de pago | Valor | | ||
|---------------:|-------| | ||
| 1 | Visa Secure | ||
| 3 | Tradicional Mundial | ||
| 5 | Finanet | ||
| 11 | Capacidad FINANET | ||
| 13 | Capacidad Visa Secure | ||
| 14 | Tradicional UE | ||
| 22 | MasterCard Identity Check | ||
| 23 | Capacidad Identity Check | ||
| 24 | Pago AMEX | ||
| 25 | Pago MOTO | ||
| 28 | Pago JCB | ||
| 31 | Pago DINERS | ||
| 39 | JCB JSecure | ||
| 40 | Capacidad JSecure | ||
| 41 | Domiciliacion | ||
| 42 | Transferencia | ||
| 54 | PayPal | ||
| 57 | SafeKey | ||
| 58 | Capacidad SafeKey | ||
| 59 | MasterPass Wallet | ||
| 68 | Bizum | ||
| 70 | UPI ExpressPay | ||
| 71 | GooglePay | ||
| 72 | ApplePay | ||
| 73 | UPI SecurePlus | ||
| 74 | Capacidad Discover | ||
| 75 | Discover ProtectBuy | ||
| 76 | Discover | ||
| 77 | Amazon Pay | ||
| 78 | Challenge Visa | ||
| 79 | Challenge MasterCard | ||
| 80 | Frictionless Visa | ||
| 81 | Frictionless MasterCard | ||
| 82 | Attempt Visa | ||
| 83 | Attempt MasterCard | ||
| 85 | Challenge Amex | ||
| 86 | Challenge Discover | ||
| 87 | Frictionless Amex | ||
| 88 | Frictionless Discover | ||
| 89 | Attempt Amex | ||
| 90 | Attempt Discover | ||
| 92 | Pago DINERS ProtectBuy | ||
| 93 | Challenge Diners ProtectBuy | ||
| 94 | Frictionless Diners ProtectBuy | ||
| 95 | Pago Attempt Diners ProtectBuy | ||
| 96 | Challenge JCB | ||
| 97 | Frictionless JCB | ||
| 98 | Attempt JCB | ||
| 107 | Pago con cuenta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace Redsys\Merchant; | ||
|
||
use PHPUnit\Framework\TestCase as PHPUnitTestCase; | ||
|
||
class MerchantEnvironmentTest extends PHPUnitTestCase { | ||
public function testCodeIsValid () { | ||
$this->assertTrue(MerchantEnvironment::isValid(MerchantEnvironment::LIVE)); | ||
} | ||
|
||
public function testCodeNotValid () { | ||
$this->assertFalse(MerchantEnvironment::isValid('INVALID')); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters