2017 © Pedro Peláez
 

component escrow

Wrapper for escrow.com API

image

kdaviesnz/escrow

Wrapper for escrow.com API

  • Saturday, October 28, 2017
  • by kdaviesnz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

escrow

Install

Via Composer, (*1)

``` bash $ composer require kdaviesnz/escrow, (*2)


## Usage ``` php $customerEmail = uniqid() . "@example.com"; $address = new \kdaviesnz\escrow\Address( 'San Francisco', '10203', 'US', 'Apartment 301020', '1829 West Lane', 'CA' ); $customer = new \kdaviesnz\escrow\Customer( '8885118600', 'John', 'Smith', 'Kane', $customerEmail, $address ); $item = new \kdaviesnz\escrow\Item( 'johnwick.com', 1000.0, 259200, "domain_name", 1, 'johnwick.com' ); $cart = new \kdaviesnz\escrow\Cart( 'usd', 'me', 'keanu.reaves@escrow.com', 'The sale of johnwick.com' ); $cart->addItem($item); $escrow = new \kdaviesnz\escrow\Escrow("lkdfklakljsdfs", "lkjsdflkasdf@example.com"); $responseCode = $escrow->createTransaction($cart); $escrow = new \kdaviesnz\escrow\Escrow("YOUR ESCROW.COM PASSWORD", "YOUR ESCROW.COM EMAIL"); // Create new customer $responseCode = $escrow->createNewCustomer($customer); // Get customer $result = $escrow->getCustomer("me"); $responseCode = $escrow->createTransaction($cart);

Change log

Please see CHANGELOG.md for more information on what has changed recently., (*3)

Testing

bash $ composer test, (*4)

Contributing

Please see CONTRIBUTING.md and CODE_OF_CONDUCT.md for details., (*5)

Security

If you discover any security related issues, please email kdaviesnz@gmail.com instead of using the issue tracker., (*6)

Credits

  • kdaviesnz@gmail.com

License

The MIT License (MIT). Please see LICENSE.md for more information., (*7)

escrow

escrow

The Versions

28/10 2017

dev-master

9999999-dev https://github.com/kdaviesnz/escrow/

Wrapper for escrow.com API

  Sources   Download

MIT

The Requires

 

The Development Requires

payments ecommerce escrow escrow.com

28/10 2017

v1.0.0.0-alpha

1.0.0.0-alpha https://github.com/kdaviesnz/escrow/

Wrapper for escrow.com API

  Sources   Download

MIT

The Requires

 

The Development Requires

payments ecommerce escrow escrow.com