when I enable (and try to use) PayPal Payments Advanced and Payflow Link sub-module of Paypal module and submit the product form I get this error:
messageEntityMetadataWrapperException: Unknown data property
commerce_customer_address. in EntityStructureWrapper-
>getPropertyInfo() (line 335 of
/site/sites/all/modules/entity/includes/entity.wrapper.inc).
When I remove Payflow Link module I do not get this error.
The problem occurs when I remove the default 'address' field from the Customer Profiles > Billing Information and instead just use my own fields...but I don't want to use that default address field because it contains items I don't want.
Anyone know how I can fix this so i can use Payflow?
It appears to be a problem in the Entity module but only gives me an error when trying to use Payflow Pro to purchase a product.
This is what that line of the entity module file has:
public function getPropertyInfo($name = NULL) {
$this->spotInfo();
if (!isset($name)) {
return $this->propertyInfo['properties'];
}
if (!isset($this->propertyInfo['properties'][$name])) {
throw new EntityMetadataWrapperException('Unknown data property
' . check_plain($name) . '.'); } return $this->propertyInfo['properties'][$name] + $this-
info['property defaults'] + $this->propertyInfoDefaults; }