@@ 13-29 (lines=17) @@ | ||
10 | ||
11 | namespace Omnipay\InterKassa\Stubs; |
|
12 | ||
13 | class PurchaseRequestStub |
|
14 | { |
|
15 | public $purse = '887ac1234c1eeee1488b156b'; |
|
16 | public $signAlgorithm = 'sha256'; |
|
17 | public $signKey = 'Zp2zfdSJzbS61L32'; |
|
18 | public $testKey = 'W0b98idvHeKY2h3w'; |
|
19 | public $returnUrl = 'https://www.example.com/success'; |
|
20 | public $cancelUrl = 'https://www.example.com/failure'; |
|
21 | public $notifyUrl = 'https://www.example.com/notify'; |
|
22 | public $description = 'Test Transaction long description'; |
|
23 | public $transactionId = 'ID_123456'; |
|
24 | public $amount = '14.65'; |
|
25 | public $currency = 'USD'; |
|
26 | public $returnMethod = 'GET'; |
|
27 | public $cancelMethod = 'OPTIONS'; |
|
28 | public $notifyMethod = 'PUT'; |
|
29 | } |
|
30 |
@@ 13-31 (lines=19) @@ | ||
10 | ||
11 | namespace Omnipay\InterKassa\Stubs; |
|
12 | ||
13 | class PurchaseResponseStub |
|
14 | { |
|
15 | public $purse = '887ac1234c1eeee1488b156b'; |
|
16 | public $signAlgorithm = 'sha256'; |
|
17 | public $signKey = 'Zp2zfdSJzbS61L32'; |
|
18 | public $testKey = 'W0b98idvHeKY2h3w'; |
|
19 | public $returnUrl = 'https://www.example.com/success'; |
|
20 | public $cancelUrl = 'https://www.example.com/failure'; |
|
21 | public $notifyUrl = 'https://www.example.com/notify'; |
|
22 | public $description = 'Test Transaction long description'; |
|
23 | public $transactionId = 'ID_123456'; |
|
24 | public $amount = '14.65'; |
|
25 | public $currency = 'USD'; |
|
26 | public $sign = 'USSIBWVpztsCDwP3fZcTOsQLdwUaI9CryGjU1sZalbI='; |
|
27 | public $sci = 'https://sci.interkassa.com/'; |
|
28 | public $returnMethod = 'GET'; |
|
29 | public $cancelMethod = 'OPTIONS'; |
|
30 | public $notifyMethod = 'PUT'; |
|
31 | } |
|
32 |