-
Notifications
You must be signed in to change notification settings - Fork 67
Company_Retrieve
Jacob McConnell edited this page Jun 10, 2014
·
3 revisions
The Twocheckout_Company class provides the retrieve method that will return your Site Management details.
##Methods
##retrieve
Returns company information from Site Management page.
####Arguments
- none
####Returns
Returns your Site Management details.
####Example Usage:
Twocheckout::username('APIuser1817037');
Twocheckout::password('APIpass1817037');
$company = Twocheckout_Company::retrieve();####Example Response:
Array
(
[response_code] => OK
[response_message] => company info retrieved
[vendor_company_info] => Array
(
[affiliate_url] =>
[currency_code] => USD
[currency_name] => US Dollars
[currency_symbol] => $
[demo] => P
[pending_return_url] =>
[return_method] => 2
[return_url] => http://localhost:4567/return
[secret_word] => tango
[site_category] => Other
[site_description] =>
[site_title] =>
[soft_descriptor] => D1817037
[url] => http://localhost/
[vendor_id] => 1817037
[vendor_name] => Library Test Account
)
)Please feel free to contact 2Checkout directly for assistance with your integration.