http://drupal.org/cvs?commit=27767

This moves address functionality out of the cart. There are a couple issues about trimming down the requirements, this being one of them.

This breaks some modules expecting the billing_* and/or shipping_* fields. Attached is the output of grep -R billing_firstname * to give a quick idea of affected modules.

And a list of other fields now missing from transaction to look for:

billing_firstname
billing_lastname
billing_street(1/2)
billing_city
billing_state
biling_zip
billing_country
billing_phone

For now, you can get addresses from the address module by calling address_get_address($txn->billing_address) but this means your module will depend on the address module.

In everything above the same thing applies for shipping values.

CommentFileSizeAuthor
billing_firstname.txt4.96 KBneclimdul

Comments

gordon’s picture

Status: Active » Fixed

These fields are meant to be populated, This was actually a bug where user 1 would not get the address fields loaded.

Anonymous’s picture

Status: Fixed » Closed (fixed)