-
Notifications
You must be signed in to change notification settings - Fork 67
Contact_Retrieve
Jacob McConnell edited this page Jun 10, 2014
·
2 revisions
The Twocheckout_Contact class provides the retrieve method that will return your contact information.
##Methods
##retrieve
Returns contact information from Contact Information page.
####Arguments
- none
####Returns
Returns contact information from Contact Information page.
####Example Usage:
Twocheckout::username('APIuser1817037');
Twocheckout::password('APIpass1817037');
$company = Twocheckout_Company::retrieve();####Example Response:
Array
(
[response_code] => OK
[response_message] => contact info retrieved
[vendor_contact_info] => Array
(
[2co_account_level_id] => 1
[customer_service_email] => no-reply@2checkout.com
[customer_service_phone] => 6149212450
[customer_service_phone_ext] => 0
[mailing_address_1] => 1785 Obrien Rd
[mailing_address_2] => 1785 Obrien Rd
[mailing_address_id] => 4774374395
[mailing_city] => Columbus
[mailing_country_code] => USA
[mailing_postal_code] => 43228
[mailing_state] => OH
[mid] => BOFA
[office_email] => no-reply@2checkout.com
[office_phone] => 6149212450
[office_phone_ext] => 0
[physical_address_1] => 1785 Obrien Rd
[physical_address_2] => 1785 Obrien Rd
[physical_address_id] => 4774374398
[physical_city] => Columbus
[physical_country_code] => USA
[physical_postal_code] => 43228
[physical_state] => OH
[vendor_id] => 1817037
)
)Please feel free to contact 2Checkout directly for assistance with your integration.