Announcement

Collapse
No announcement yet.

Representing State as full name vs. State Code in C&P Data records

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CnP.Support.AM
    replied
    Good day @[email protected]

    Since those are WooCommerce transactions we have no control over. We are getting the shortcode of states from Woocommerce.

    Leave a comment:


  • Representing State as full name vs. State Code in C&P Data records

    A client has recently enabled State Picklists in Salesforce. They use the full names of states ("Oregon" vs. "OR").

    They use Woocommerce on their website and have the C&P Woocommerce plugin to bring transactions into SF.

    Woocommerce purchases come into Salesfroce with the state code in the "Data XML" field of the "C&P Data" records.

    For example:
    "<BillingStateProvince>OR</BillingStateProvince>"

    When I simulate a purchase on the website, my state options are a picklist with the full names, but they end up as the state code in the C&P Data record in SF.

    Is there a way to keep the full state name in the C&P Data records as they come into SF, so that the C&P Data "Data XML" field reads "<BillingStateProvince>Oregon</BillingStateProvince>"?

    Thanks
Working...
X