1 <?php
2 3 4
5 namespace Team3\PayU\Configuration\Credentials;
6
7 use Team3\PayU\SignatureCalculator\Encoder\Algorithms\Md5Algorithm;
8
9 10 11 12 13 14 15 16 17
18 class TestCredentials extends Credentials
19 {
20 const MERCHANT_POS_ID = '145227';
21 const PRIVATE_KEY = '13a980d4f851f3d9a1cfc792fb1f5e50';
22
23 public function __construct()
24 {
25 $this->signatureAlgorithm = new Md5Algorithm();
26 $this->encryptionProtocols = 'TLSv1';
27 }
28
29 30 31
32 public function getMerchantPosId()
33 {
34 return self::MERCHANT_POS_ID;
35 }
36
37 38 39
40 public function getPrivateKey()
41 {
42 return self::PRIVATE_KEY;
43 }
44 }
45