LFS version compatibility: LFS v12.22 or later available for the Limio Acquisition Flow
LFS version compatibility: LFS v12.72 or later available for:
Refund
Change payment
Cancel
Switch
Change Address
Credit memo
Gift refund
Manage Add-ons
Pause print
Redeem gift
Renew
Revert cancel
If you've ever wanted to enhance the order payload sent to Limio Commerce via the Limio for Salesforce managed package by adding custom details, now there is a way to do so.
Within the Limio Order Summary component, situated on the last screen of the flow, a new attribute named "Input: Custom Fields" was introduced.
This attribute accepts a JSON object string (e.g., '{"field1": "value1", "field2": "value2"}') as input. The provided value is then parsed, integrated into the order payload, and transmitted to Limio. You can use a flow Formula resource to create the string.
Important: Do not assign plain text values like email addresses, usernames, or other strings directly to customFields.
The value must be a properly formatted JSON object string like '{"email": "user@example.com"}' rather than just 'user@example.com'.
Empty strings, non-object JSON (like arrays), or malformed JSON will cause parsing errors.
Note: Limio Order Summary component available for the Acquisition/ Cancel/Change Address/Change payment/Credit Memo/Refund/Renew/Revert Cancel/Switch/Manage Add-ons Flows
For Pause Print Flow the Pause Print Screen contains "Input: Custom Fields" attribute
Formula examples
Here is an example format you want to follow to populate custom fields property:
"{\"Custom_Field__c\": \"" & {!$User.FirstName} & {!$User.LastName} & "\"}"
If you will need to pass more than one field, you can add them separating with a comma:
"{\"Custom_Field_One__c\": \"" & {!$User.FirstName} & {!$User.LastName} & "\", \"Custom_Field_Two__c\": \"" & {!$User.FirstName} & {!$User.LastName} & "\" }"
Details are included in the customFields object at the top level of an order:
With Limio Commerce configured appropriately to support your custom properties, you can tailor the experience to better align with specific business requirements.
Comments
0 comments
Please sign in to leave a comment.