Recurly_Transaction::create PHP Method

create() public method

public create ( )
    public function create()
    {
        $this->_save(Recurly_Client::POST, Recurly_Client::PATH_TRANSACTIONS);
    }

Usage Example

 public function testCreateTransactionWithEmptyXMLResponse()
 {
     $this->client->addResponse('POST', '/transactions', 'transactions/empty.xml');
     $transaction = new Recurly_Transaction(null, $this->client);
     $transaction->create();
 }