第一次建立贝宝电子商务网站 - 如何正确做?
这可能很奇怪,但我现在正在开发一个基于会员资格的网站,用户可以在该网站上注册并选择按月、按季度或按年付款的会员模式。 它将基于贝宝。 然而,尽管已经工作了 5 年,但我之前从未参与过任何电子商务项目:\ 相反,我几乎做过其他所有事情,即集成维基百科、构建电子邮件客户端、pdf 解析等,我有点困惑如何开始呢? 我以前没有做过任何网上购物 - 我知道使用第三方付款背后的理论,但我不知道应该如何构建我的系统。
比如我们有 3 个用户,免费用户、高级用户和黄金用户。 免费用户的访问权限最小,黄金用户的访问权限最大,而高级用户的访问权限介于两者之间,因此需要相应收费。 我在想这样的网站是如何运作的,我的意思是,假设用户注册了一个黄金账户并支付 3 个月的费用。 三个月结束后,会员网站会发生什么情况,以便它们在每个时间段后自动向个人收取费用,或者在会员资格即将结束时提示个人付款? 在这种情况下,我需要存储哪些有关交易等的信息。
另外,我如何在不使用实时信用卡的情况下测试这个系统:\ - 抱歉,如果我听起来像个菜鸟,但以前从未有机会从事这样的项目。 学习永远不会太晚。
我决定会员资格在这方面会有点简单 - 用户在注册时将获得一个免费帐户,并被允许在一段设定的时间内升级他们的帐户,到期后他们将被重置回他们的帐户基本帐户,除非他们选择通过付费订阅续订。 现在的问题是 - 我完全不知道如何让它发挥作用,而且我不会使用定期计费。
我使用 paypal、2checkout 还是 google check out 有什么区别吗?或者所有的基本方法都是一样的吗?
this may come as pretty odd but I'm now working on a membership based website where users sign up and choose mode of membership which would be on monthly, quarterly or yearly payment basis. Its going to be paypal based. However despite having worked 5 years I haven't ever working on any ecommerce project before :\ instead I've worked pretty much everything else i.e integrating wikipedia, built an email client, pdf parsing, etc etc and I'm a bit perplexed on how to start on this. I haven't done any online shopping before - I know the theory behind it using a third party for payments and all but I don't know how should I structure my system.
Like we have 3 users , free users, premium and gold users. Free users have minimal access, gold users have maximum access and premium users have.. somewhat in between and thus they are charged accordingly. I was thinking like how do such websites work I mean lets say a user signs up for a gold account and pays for 3 months. What happens at the end of the three months are memberships sites such that they automatically bill the individual after every time period or would the individual be prompted upon nearing the end of his membership to pay up? And what information would I need to store in this case with respect to the transactions and all.
Plus how can I test this system without having to use a real time credit card or so :\ - sorry if I sound like a noob here but never had the chance to work on such a project before. Its never too late to learn.
I've decided that the membership would be kinda simple in this aspect that - the users would upon signing up be given a free account and would be allowed to upgrade their accounts for a set period the expiration of which they would be reset back to their basic accounts unless they choose to renew with a paid subscription. The issue now is that - I have absolutely no idea of how to get this to work and I would not be using periodic billing.
Does it make any difference whether I use paypal, 2checkout or google check out or is the underlying methodology the same for all?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Paypal 有一个用于开发和测试目的的沙箱环境。 在此注册 - https://developer.paypal.com。 它的工作方式与实时 PayPal 完全相同,并且非常易于使用。
您要使用什么类型的 PayPal 帐户? 如果是标准版,那么您将无法使用任何高级 API,并且只会提供带有“金额”或“电子邮件”等隐藏元素的表单。 您在网站上放置的此表格和客户将被重定向到 PayPal 进行付款。 如果您想从 PayPal 获得包含交易详细信息的通知,您必须启用 IPN 帖子。 这可以在 PayPal 帐户设置中完成。 IPN post 将在您应指定的 URL 处执行您的脚本。
如果您需要任何示例,请告诉我。
我不知道如何自动向客户计费。 请检查 API - https:// cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_documentation。
Paypal has a sandbox environment for development and testing purposes. Sign up here - https://developer.paypal.com. It works exactly like live PayPal and very easy to use.
What type of PayPal account are you going to use? If the Standard one then you won't be able to use any advanced API and will be provided only with a form with hidden elements like "amount" or "email". This form you put on your site and clients will be redirected to PayPal to make payments. If you want to get a notification from PayPal with transaction details you have to enable IPN posts. This can be done in the PayPal account settings. IPN post will execute your script at the URL you should specify.
Let me know if you need any examples.
I am not sure how to automatically bill the client. Please check with API - https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_documentation.
看看你的标签,你提到了PHP。 OSCommerce 将是您开始的好地方,因为您可以看到管理站点、面向前端的客户站点。 然后您就有了代码、文档、支付网关集成等...
从这里您可以用作更定制和更小的系统的模板,或者使用 OSCommerce 并为其创建额外的模块。
安德鲁
http://www.oscommerce.com/
Looking at your tags, you mention PHP. OSCommerce would be a good place to start for you as you could then see a Administration Site, Front end facing customer site. Then you have the code, the documentation, payment gateway integrations etc...
From here you could use as a template for a more custom and smaller system, or use OSCommerce and create extra modules for it.
Andrew
http://www.oscommerce.com/