Django: Shopping site similar to eBay - python

I need to build a site similar to ebay. I've found some "e-commerce" packages for Django but those are not related to the "C2C" model from eBay.
I've tried these:
https://www.django-shop.org/
http://www.satchmoproject.com/
Do you know any app (package, framework) that can deal with it? Thank you very much!

While this is a frequently asked-for application, it doesn't appear as if anyone has actually implemented it.
It doesn't seem like that hard a project. You would need a Profile app to track the user's reputation, a messaging app (easily available), a Products app (users offer products, users bid on products, at a given time the bidding is closed, etc...).
A weekend for the basics, I think. Rip the Hell out of Satchmo for your transaction handling, and get a real authorization account through Authorize.NET, not some Google Checkout or Paypal thingy. You'd be on the hook for one big fraud risk, though, which is why auction sites are generally for the Big Kids.

Here is a near similar solution for you: Collector City Marketplace

Related

How to make a Django application send money to its users using PayPal

I have a Django app for online cockfights. Users can bet if their accounts on the site have balance. They do that by first buying a digital product "Online Sabong Cash-In" through PayPal. The money is sent to the website's PayPal business account. I believe, this kind of transaction is called user-to-website transaction, and I've made this work using django-paypal library. I've followed this tutorial for that simple transaction: https://overiq.com/django-paypal-integration-with-django-paypal/ .
Now, I want to give the website the feature where users can cash-out or like withdraw their money if they want. I want to have the website-to-user transaction. How can I do that, please? I've searched on Google a lot and all I see are articles for user-to-website transaction. I've found one way but I don't know how to do it using django-paypal library:https://developer.paypal.com/docs/checkout/integration-features/pay-another-account/.
PayPal has a Payouts API, which you can request access to. However, only certain use cases will be approved.
(There is a way to facilitate user-to-user transactions by setting a payee object for the checkout, but that's not what you're asking in the question)

Designing a maintainable/editable website for a society

first of all apologies for the vague question, I thought I would clarify it in the body.
So basically, I am looking to design a website for my society, as a person with a fair amount of software development know how(or at-least I would like to think so), how can I go about designing a web application that can be edited, from the front end(I know this breaks alot of MVC principles), I want to make it so, that an administrator can login to the administrator account on the web app, and upload/delete a new blog and make aesthetic changes to the application. Is there any way to build/design a web applications this way.
So basically the program flow would look something like this
Administrators decides to update the blog
Administrator logins into the admin account
Edits the blog on the website
Saves the blog, the edited blog now appears on the front end, visible to all visitors.
Secondly, if the first option is not recommended, what frameworks can I use(preferably python) so that I can ensure the website is as maintainable as possible(after I finish university, I will not be maintaining it ).
Would a common framework such as Django, Flask suffice?
This must all be completed within 4-5 weeks, in a three developer team.
I would go with Flask, you can do almost anything you want with it.
When you say "edit blog" you mean "edit posts of the blog" like postbody-text, photos, etc?
These tasks can be done easily with Flask.
You can do the same with Django too, but Django is more heavy and is more suitable for big websites
In practice, you will create some routes in the Flask app with the functionality you want (edit posts, replace photos, etc) that will be accessed by the admin account only

Dj-stripe conflicts with multipe development severs

My team are developing a payment system for our web services. The site is built using Django, with the payment services provided by stripe. We are using dj-stripe to integrate the two.
For development we are using the stripe test environment, but we are doing this on multiple development servers, each with it's own dev DB.
dj-stripe identifies which customer to associate payment, card and source activity with using the dj-stripe customer id. This causes a conflict in the information for customers with the same ids on different development severs.
We have thought of a number of workarounds for this, the top two choices are;
1) Generate an offset in the customer ids to prevent clash. The issue is this may break down as time goes on, with more developers joining. It fixes the issue for now, but doesn't guarantee it won't be an issue again.
2) Create a stripe account for each developer to ensure no clashes and only use the test environment. However, this seems like something stripe wouldn't be happy with if we end up with many devs working on the project.
I am interested in whether there is a standard solution or best practices for this issue.
In case anyone comes here for a similar issue, Stripe responded very quickly to our question on this. They already have a feature to deal with this, it just wasn't immediately obvious to us.
Stripe have a feature for you to add multiple accounts from your dashboard. You can simple create an account for each developer and just use the test keys for that account. Then invite all developers in your team to have read access to the account so that everyone can see the logs.

Easiest way to implement paypal shopping for e-books

I have an existing django website, and I would like to sell some pdf files through it using paypal. The buyer needs to be able to select 1 or more books, get transferred to the paypal site to enter in payment info. Then after a successful payment, the buyer gets redirected back to my website and the books start downloading automatically.
I have looked at the django-paypal and django-merchent apps, but I don't know how to handle the multiple downloads. As far as I know, using these apps, after a successful purchase, the app sends a success signal, but doesn't tell me which books were ordered.
What is the best way to implement this either with the django-paypal app or using some other method? Again, I'm looking for the easiest/quickest solution.
Thanks,
With respect, the question is slightly naive, in that there is typically a separation between the shopping cart, and the payment processing. A payment returns a binary result - it either worked or it didn't. It is up to your application to recall what was being paid for.
The Paypal API returns the success or failure of an identified payment; plus will happily consume a list of items you give it, so that the user is presented with a breakdown of the total amount. But note that you are telling paypal what is being paid for. It is consuming that data, not providing it.
So the answer depends entirely upon your chosen solution (django-paypal or django-merchant or whatever). Read their documentation. Presumably there is some way to inspect the contents of a recently approved transaction. Cycle through the cart and enable a download of each.
Django-paypal, for example, has no interest of what is in the cart. It just fires a signal when a payment is successful, and passes back the transaction identifier. Your application must recall what the transaction was for.
Often it's not as easy as you'd hope.

Web development with python and sql

I need to build a web site with the following features:
1) user forum where we expect light daily traffic
2) database backend for users to create profiles, where they can log in
and upload media (pictures)
3) users can uses their profile to buy content from an online inventory
4) create web pages, shopping carts etc for online inventory
5) secure online credit card processing
I am very familiar with python but not with python web frameworks. I do know
some SQL. How do I get started developing something like this? Is Django
a good alternative?
Not programming related per se: Where do you recommend I get web hosting with a domain
name for an application like this?
Django was made for this kind of thing. Check it out.
As far as hosting, djangofriendly.com is a great resource. I have used WebFaction before and I am absolutely in love with how easy it is to get Django going with them and with their excellent customer service. Very top notch for reasonable prices if you are going the shared hosting route.
If you are looking to speed up some of the tasks described, you should check out Pinax and Django Pluggables. Thanks to the way Django applications are setup it is trivially easy to plug an application into your project.
You can try Pylons lightweight web framework.
Your requirements make pinax sound like a library you might want to look into if you go the django route.
Google App Engine will provide hosting for free as well as Django and a db..

Categories

Resources