Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix Guest Order Placement via Soap Api #6

Merged
merged 1 commit into from
Dec 15, 2012
Merged

Conversation

aaxl
Copy link
Contributor

@aaxl aaxl commented Dec 14, 2012

Api Use Case - Community Edition 1.6.2 - Soap V1 interface:

  • Mage::app()->getStore()->isAdmin() returns true
  • $customer is used from the $order object

In the case of an 'guest' order, the validation of the $customer failed, 
because it contains no data. To make it work properly, added the getId check also.
Ohterwise return null.

Api Use Case - Community Edition 1.6.2 - Soap V1 interface:

* Mage::app()->getStore()->isAdmin() returns true
* $customer is used from the $order object

In the case of an 'guest' order, the validation of the $customer failed, 
because it contains no data. To make it work properly, added the getId check also.
Ohterwise return null.
therouv added a commit that referenced this pull request Dec 15, 2012
Bugfix Guest Order Placement via Soap Api
@therouv therouv merged commit 19e8d1e into therouv:master Dec 15, 2012
@therouv
Copy link
Owner

therouv commented Dec 15, 2012

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants