| Project: | Ubercart Contributions |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | bibeksahu |
| Status: | active |
Let me just start by saying thank you for getting this module out there - it is very exciting for us to be able to integrate Ubercart with Salesforce! I'm also not sure if what I'm reporting is a bug report or just a support question.
It looks like on my system, there is no data to automatically populate Salesforce when a user buys something. However, the manual export from the order page seems to be working fine. I am in a test environment, and am using the billing fields only (no delivery fields are active in my setup), so, I'm mapping the field Last Name in the Salesforce Contact object to the field Billing Last Name in Ubercart order. When I go through the checkout process, it tries to do the Salesforce export while I am reviewing the order (earlier than I would expect), and gives me the following error:
stdClass Object
(
[errors] => stdClass Object
(
[fields] => LastName
[message] => Required fields are missing: [LastName]
[statusCode] => REQUIRED_FIELD_MISSING
)
[id] =>
[success] =>
)
When I map the Last Name field to the primary e-mail field in ubercart order, it works during checkout, but it creates the Salesforce contact during the order review - which is earlier than I would expect - but maybe intended behavior? It just seems like the billing field data isn't available to the module at this point. I have not yet tried it with mappings to delivery address fields to see if this is similar.
I am using "Other" as the payment method for testing, and have disabled the delivery addresses, I'm only using the billing addresses since we are using Ubercart for event sign up and don't actually have shippable products.
Does this sound like something in my configuration that won't work with the module? Or a bug?
