Template:Profiles

From 360Works Product Documentation Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "When retrieving information about a profile with '''CCProfileGetCustomer''', '''CCProfileGetShipping''', or '''CCProfileGetPayment''', the response will return a list of value...")
 

Latest revision as of 16:17, 19 September 2013

When retrieving information about a profile with CCProfileGetCustomer, CCProfileGetShipping, or CCProfileGetPayment, the response will return a list of values marked with a dollar sign, like so:

$billingFirstName="First";$billingLastName="Name";$billingCompany="";

To parse out these values, you can use a combination of the Evaluate and Let functions. After seeing a response from the gateway, note the value you want to parse, such as $billingLastName in the example above. Then you can use the formula:

Evaluate ( "Let([" & Transaction::Response Message& "] ; $billingLastName)")

Which will return the last name of the profile requested.

Personal tools
Namespaces

Variants
Actions
Plug-in Products
Other Products
Navigation
Toolbox