Template:Profiles

From 360Works Product Documentation Wiki
Jump to: navigation, search

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