cancel
Showing results for 
Search instead for 
Did you mean: 

Call to a member fu nction setFinalPrice()

Call to a member fu nction setFinalPrice()

 

 

I'm using SOAP V2
http://www.magentocommerce.com/api/soap/checkout/cart/cart.order.html

Here is my code.

$this->cartID = $this->client->shoppingCartCreate($this->session);
$this->client->shoppingCartCustomerAddresses($this->session, $this->cartID, $address);

when running the an error thrown "Call to a member function setFinalPrice()"

but If will change the cartID to let say 10 or 11. $this->client->shoppingCartCustomerAddresses($this->session, 11, $address); no error occur. Please advice.
1 REPLY 1

Re: Call to a member fu nction setFinalPrice()

@addmers If yopu can proved the complete code I can try to help you. (Use exmsple.com as domain and dummy user and key in code when you post online)

 

From your current givven code it is not clear in whihc line are you getting error.

 

I think you are not passing the store view id in your code.

$this->cartID = $this->client->shoppingCartCreate($this->session,<store id>);

Refer Module: Mage_Checkout

 

 

 

 

 

---
Problem Solved Click Accept as Solution!:Magento Community India Forum