How can I to relate Customer Profiles to Orders with Rules? Customer Profiles are essential?
first, this is the scenario: I have a custom payment gateway based on a remote web form displayed in a Chekout pane, works OK. When the data is received from the remote payment gateway and the transaction is completed, the user is redirected to a page of Drupal with the result of the process, that´s OK too. I have implemented Rules to process the feedback from the remote payment gateway and the Order is stored and his status changed to "Complete", so I guess that that´s OK too.
the issue that when I try to view the details of each order created (inside Orders web interface), an error is displayed. the message displayed in the event report is:
ntityMalformedException: Missing bundle property on entity of type commerce_order. in entity_extract_ids() (line 7633 of /home/falconfi/public_html/includes/common.inc).
but the set of Rules options does not allow an action to relate orders with Customer profiles, so how can achieve that? Customer Profiles are essential to the orders?