reverbdotcom / reverb-magento

Magento 1.x plugin for syncing with Reverb
Other
7 stars 10 forks source link

Order sync: interpreting last name as middle name? #184

Closed skwp closed 8 years ago

skwp commented 8 years ago

Possible bug seen in customer log. Customer says orders are not syncing. Reverb returns a single "buyer_name" field on the order which contains both the first name and last name, such as: "John Doe"

The error in the log seems to indicate that the name was processed incorrectly as a middle name?

2016-02-01T19:36:27+00:00 DEBUG (7): Error creating Reverb Order 736779: While validating a quote address for a Reverb Order Sync, the address failed validation. The address's serialized data was: a:24:{s:12:"address_type";s:7:"billing";s:8:"quote_id";N;s:6:"vat_id";N;s:12:"vat_is_valid";N;s:14:"vat_request_id";N;s:16:"vat_request_date";N;s:19:"vat_request_success";N;s:19:"customer_address_id";N;s:11:"customer_id";N;s:6:"prefix";N;s:9:"firstname";s:6:"John";s:10:"middlename";s:7:"doe";s:8:"lastname";s:0:"";s:6:"suffix";N;s:7:"company";N;s:6:"street";s:13:"1234 4th st w";s:4:"city";s:12:"Lehigh Acres";s:6:"region";s:7:"Florida";s:9:"region_id";i:18;s:8:"postcode";s:5:"33971";s:10:"country_id";s:2:"US";s:9:"telephone";s:16:"+1 (239) 1231234";s:3:"fax";N;s:20:"save_in_address_book";i:0;}. The error message was: Please enter the last name.

skwp commented 8 years ago

These are old orders from november so there may be an old bug that is no longer relevant but these are stuck in the retry queue