Skip to content

Instantly share code, notes, and snippets.

@jb510
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jb510/e99d446cbed4f0e853f5 to your computer and use it in GitHub Desktop.
Save jb510/e99d446cbed4f0e853f5 to your computer and use it in GitHub Desktop.
3rd Party Gform to Velocify Debug
*** Service ***
Array
(
[name] => Velocify
[url] => https://secure.velocify.com/Import.aspx?Provider=BestRateReferrals&Client=H<snip>e&CampaignId=35&XmlResponse=true&AcrossCampaigns=True
[forms] => Array
(
[0] => gf_2
)
[success] =>
[failure] =>
[timeout] => 10
[mapping] => Array
(
[0] => Array
(
[lbl] => Borrower First Name
[src] => input_1_3
[3rd] => FirstName
)
[1] => Array
(
[lbl] => Borrower Last Name
[src] => input_1_6
[3rd] => LastName
)
[1393001624951] => Array
(
[lbl] =>
[src] => input_1_3
[3rd] => First Name
)
[1393001623946] => Array
(
[lbl] =>
[src] => input_1_3
[3rd] => firstname
)
[1393001637770] => Array
(
[lbl] =>
[src] => input_1_3
[3rd] => first name
)
)
[separator] => ,
)
*** Post (Form) ***
http://domain.wpengine.com/agent/jane-doe/
Array
(
[input_1_3] => Jon
[input_1_6] => Brown
[input_2_3] =>
[input_2_6] =>
[input_3_1] => 123 Test Street
[input_3_2] =>
[input_3_3] => Town
[input_3_4] => State
[input_3_5] => 96708
[input_3_6] => United States
[input_4] => 555-555-1212
[input_5] => email@email.com
[input_12] => Jane Doe
[input_11] => 1000000
[input_27] => 740
[input_14] => 0
[input_30] => No
[input_32] => No
[input_34] => 75000
[input_10] =>
[input_28] => 740
[input_22] =>
[input_31] => No
[input_33] => No
[input_35] => 75000
[is_submit_2] => 1
[gform_submit] => 2
[gform_unique_id] => 530<snip>90a
[state_2] => WyJ<snip>CJd
[gform_target_page_number_2] => 3
[gform_source_page_number_2] => 2
[gform_field_values] => agent=Jane+Doe
)
*** Post (to Service) ***
Array
(
[timeout] => 10
[body] => Array
(
[FirstName] => Jon
[LastName] => Brown
[First Name] => Jon
[firstname] => Jon
[first name] => Jon
)
)
*** Response ***
Array
(
[headers] => Array
(
[cache-control] => private
[content-type] => text/xml; charset=utf-8
[server] => Microsoft-IIS/7.5
[set-cookie] => ASP.NET_SessionId=3ai<snip>zep; path=/; HttpOnly
[x-aspnet-version] => 4.0.30319
[x-powered-by] => ASP.NET
[date] => Fri, 21 Feb 2014 16:54:50 GMT
[connection] => close
[content-length] => 137
)
[body] => <?xml version="1.0" encoding="UTF-8"?><ImportResults><ImportResult refId="" leadId="54931" result="Success" message="" /></ImportResults>
[response] => Array
(
[code] => 200
[message] => OK
)
[cookies] => Array
(
[0] => WP_Http_Cookie Object
(
[name] => ASP.NET_SessionId
[value] => 3ai<snip>zep
[expires] =>
[path] => /
[domain] => secure.velocify.com
[httponly] =>
)
)
[filename] =>
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment