File manager - Edit - /home/opticamezl/www/newok/libraries/fabrik/vendor/omnipay/firstdata/tests/Message/PayeezyAuthorizeRequestTest.php
Back
<?php namespace Omnipay\FirstData\Message; use Omnipay\Tests\TestCase; class PayeezyAuthorizeRequestTest extends TestCase { public function testAuthorizeSuccess() { $request = new PayeezyAuthorizeRequest($this->getHttpClient(), $this->getHttpRequest()); $request->initialize( array( 'amount' => '12.00', 'card' => $this->getValidCard(), ) ); $data = $request->getData(); $this->assertEquals('01', $data['transaction_type']); $this->assertEquals('4111111111111111', $data['cc_number']); $this->assertEquals('Visa', $data['credit_card_type']); $this->assertEquals('12.00', $data['amount']); $this->assertEquals('123 Billing St|12345|Billstown|CA|US', $data['cc_verification_str1']); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0.04 |
proxy
|
phpinfo
|
Settings