Tags/topics: 
1
Answers
Vote up!
2
Vote down!

How do you programatically save a billing information?

How is this done? I have a feeling I will be using the entity_metadata_wrapper.

Asked by: ryangambito
on June 20, 2012

1 Answer

Vote up!
0
Vote down!

The API page that might be of help is here...

http://api.drupalcommerce.org/api/Drupal%20Commerce/sites%21all%21module...

To answer your question, I must ask/state, "Why? Customer Profiles are created and saved as a part of the order creation process."

Josh Miller
Answer by: Josh Miller
Posted: Jul 5, 2012

Comments

Hi Josh!

Well, I'm with the same issue. My project requirements is that the customer profile pane and process be invisible, and I should create it and associate to that order programmatically.

I'm searching a way to get it done but there is no many examples available.

Also, the API provide only hooks information. There is no helpers to create, for example, the billing information right on checkout process start.

- Joel Wallis Jucá on October 25, 2012