What are steps to create a class for only update database ?
That is: I've a product class with some options. Then, after some action, a remote webservice return data on my site ( like PayPal IPN ) and I've update products info.
And How will be link for call that action?
Just to be clear, your "product" is not referring the the product class that is bundled with ecommerce? if it is you should have this in the ecommerce forum.
If your building your own Product class the option of extending Page or Dataobject depends on what you want. Do you want each product to have a page on the site? Do you want to manage products in the sitetree? If these are yes then extend Page, otherwise extend DataObject.
I need product to manage a Wedding-wishlist.
I simulated a list as a Product Categorie and each product with a page child of Categories.
After a person books a gift and payed via PayPal, I need to setup booked flag at true value. So, that product is not more in list.
So, I need a method to read returned value from PayPal.