Skip to content

aprendephp/ApResellerclubBundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ApResellerClubBundle

Instalation:

Add this line in composer.json

	"require": { 
	     ...
         "ap/resellerclubbundle": "1.0.*@dev"

AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Ap\ResellerclubBundle\ApResellerclubBundle(),
    );
}

Update:

  composer update

Configuration:

In parameters.yml

    reseller_authuserid:
    reseller_apikey:
    reseller_test:

Example:

		$this->resellerClub = $container->get('ap_resellerclub.api');

		$customerSignup = new CustomerSignup('anyuser@asf.com','anypass','A Good Name ', 'Company', 'Avenue 78890', 'San Jhon', 'San Jhon', null, 'UY','820347', '34', '87508745', 'es');

        $this->resellerClub->setOperation($customerSignup);
        $this->customerId = $this->resellerClub->exec();

Important:

Testing ONLY with a Demo Account

Disclaimer:

THIS SOFTWARE IS PROVIDED BY "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES

PR are wellcome