Is there any payment option we can use for few content type not for all.Please help me.
You can allow users who have paid for the content type by assining them a special role in which they are allowed to add/edit/view the content type.
But the point is that when a user pays for the content either you have to manually assign a new role or write a script for that.
Am I explaining properly or you mean something else?
Say for example I have role of Publisher .Now when he creates a content with the content type available to him he put some amount for that content and then to view that content user has to pay the amount for that particular content which is created by publisher.
Rest of the members with his role has to pay the amount.
When one door closes,another opens, but if we spend too much time concentrating on the closed door we don't notice the open one.
So that means, you want to charge the user for per node view for node type that are chargable, right?
If you are not using CCK to create such content type, it would be help you a lot to put what ever the functionality you want.
My way is:
-> Create a custom content type not using CCK but writing a module by your own.
-> For this content type, create a custom table, listing only user ids who have paid for the particular content, say the table has two fields, for expample, nid and uid.
-> When a user pays for a particular content, add his uid in this table with the content id he is to permitted to view.
-> Check the access when user tries to view the content.
-> You can implement the functionality as you want but the underlying mechanism would be the same as explained here.
-> You should not expect any contributed modules for this, as your requirement is highly customized.
-> I would be glad to know what ever the way you choose to implement this feature.
Can I use ecommerce for this .Please suggest me.
I would say: Yes. But use it with caution. As it might not be met with your requirement. Any how, first test the module on your local site and then integrate it with your live site. All the best!
Drupal is a registered trademark of Dries Buytaert.