mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-23 13:23:00 +09:00
24 lines
616 B
PHP
24 lines
616 B
PHP
<?php
|
|
/**
|
|
* @group Core
|
|
*/
|
|
class Payment_Adapter_WebMoneyTest extends BBDbApiTestCase
|
|
{
|
|
protected $_initialSeedFile = 'transactions.xml';
|
|
|
|
public function testGateway()
|
|
{
|
|
$config = array(
|
|
'purse' => 'test',
|
|
);
|
|
$adapter = new Payment_Adapter_WebMoney($config);
|
|
$adapter->getConfig();
|
|
$adapter->getHtml($this->api_admin, 1);
|
|
|
|
$data['post'] = array(
|
|
'INVOICE_ID' => '1',
|
|
'LMI_PAYMENT_AMOUNT' => '10',
|
|
);
|
|
$adapter->processTransaction($this->api_admin, 1, $data);
|
|
}
|
|
} |