PHP-building my own shopping cart
Hi all
Has anyone tried to build their own shopping cart?
Besides a secure space on a server, does anyone know a little
bit about what building a shopping
cart entails?
I am using PHP and I would look into integrating the shopping
Cart with authorize.net...
Authorize.net has some documentation for developpers about
this, so I'll look into it, but I just
wondered if this was something anybody had done, and if this
was accessible to someone like me (I
know my PHP pretty good) if this is way over-the-top
complicated.
seb ( [email protected])
http://webtrans1.com | high-end web
design
Downloads: Slide Show, Directory Browser, Mailing List
thanks a lot for this info gareth
gareth wrote:
>>> If there's come particular technology beyond
PHP, or some specific
>>> protocol, to thansfer the
> shopping cart info (including CC number) to the
institution that processes
> the transaction.
>
> Well HTTPS is always used to encrypt the transaction in
transite. Apart from
> that it really depends on the financial institution your
details with. A
> large proportion of payment providers actually take the
card details on
> their site. You pass across the customers details, name,
address, order
> number, order value etc to the provider site, and then
they take the card
> details on their site, and then pass back a response to
you with the order
> number (or some other unique reference), saying if the
transaction has
> succeeded or not. This way, you actually have no contact
with the credit
> card details. This method is prefered, as it takes a lot
of responsibility
> off you, you don't have to try and store the details
securely or pass the
> details securely.
>
> Various methods are used by the institutions when
passing the details. Its
> always by post, by some provide code that you run all
the fields through
> that you send to them with a secret key, which creates a
hash that you send
> to them as well. At their end, they run the details
through the hash
> generator with your key, and if the two hash values
don't match then they
> know the data has been tampered with in transit (eg the
customer saving your
> checkout page, changing the order amount, and then
submitting the data from
> their own server). They then hash the reponse they send
back to you, and
> then you hash it and compare the values, so you can be
sure the info coming
> from the payment provider hasn't been tampered with.
Usually the code is
> available in a variety of languages, and most give PHP,
although HSBC use C,
> which you can run through PHP (although I actually
created an extension to
> PHP to generate the hash).
>
>> You can always just send POST vars, in the format
they require, to the
>> transaction processor, right?
> Or is there something else at play?
>
> Yes, its almost always sent to the institution as a
simple form POST. You
> just need to pass a unique value, so that they can pass
it back and you can
> link the response to the customers order at your end.
>
>> And it's just a matter of knowing how this response
is formatted, to deal
>> with it, right?
>
> Yes, usually they send the data to an address on your
server you provide, as
> POST data. So, its simple to read it using PHP.
>
>> thanks for this info... All in all I was just
wondering what's the big
>> deal about building a
> shopping cart, compared to, say, builing a CMS.
>
> No problem, to be honest with you, and IMHO its really
not that difficult,
> less so than building a complete CMS. It used to be,
years ago, but the
> financial institutions have made things easier now, and
provide all the
> processing for you. The main problem that put people off
was security, but
> nowadays merchants don't take credit card details
themselves, so its not a
> major issue.
>
> It really depends on the payment provider, some are
easier than others, the
> banks own systems tend to be more complex than other
parties such as
> Worldpay.
>
seb ( [email protected])
http://webtrans1.com | high-end web
design
Downloads: Slide Show, Directory Browser, Mailing List
Similar Messages
-
Display other shopping carts without change/delete possibility?
Hi,
We are using SRM 5.0 and some users needs to display shopping carts created by other, without given the access to change and delete those shopping cart (should still be able to change/delete one's own shopping carts).
Anyone who has a solution on how to give users this authorization? Monitor Shopping Cart transaction displays all shopping cart, but the delete function is active.
Thank you.
Christina C-WHi Christina,
If i understand your requirement correctly, it is as follows;
1.) User shall be able to change/delete their own shopping cart.
2.) The same select user shall be able to view other shopping carts but will not be allowed to change/delete a shopping cart.
<b>Solution:
1.) User shall be able to change/delete their own shopping cart.</b>
Analysis: The use can still continue to use the "Check Status" Transaction to change/deletre their own shopping carts.
<b>2.) The same select user shall be able to view other shopping carts but will not be allowed to change/delete a shopping cart.</b>
Analysis: Build a Custom Z role that will have access to the BBP_MON_SC (Monitor Shopping Cart Transaction). Use the BADI BBP_MON_SC and use the method, especially the one highlighted in bold below:
BEFORE_SELECTION_SCREEN
This method is carried out before the selection screen is displayed.
Default values for the selection screen can be set in the following structures:
CS_HEADER
General Data
CS_ITEM
Item Data
Furthermore, you can define the functions available in the list or define whether icons are active or inactive:
CS_HEADER-AUTH_TRANSFER
Transfer Shopping Cart to Backend
CS_HEADER-AUTH_GET_STATUS:
Update Shopping Cart with Data from Backend
CS_HEADER-AUTH_ALERTS:
Display Error Messages from Monitor Shopping Cart
CS_HEADER-AUTH_SC_DISPLAY:
Display Shopping Cart Overview or Items
<b>CS_HEADER-AUTH_SC_CHANGE
Delete Shopping Cart/Shopping Cart Item, Change Erroneous SC Item</b>
Also, in the BADI, you need to make it specific to the Z-role that you had created, so that your standard monitor shopping cart transactions work for other standard or custom role in your organization.
Hope this info helps !!
Pls assign points for usefull answers !
Sundeep
null -
Client managed eCommerce Shopping Cart
I am attempting to create my first website projects using Adobe BC. I have two client projects both requiring shopping cart functionality 1.) I will manage product inventory and 2.) the second client has strong interest in being able to upload and change product items on their own. This client has also inquired about product upload automation.
Originally being a designer and not a programmer, I myself am finding it somewhat difficult to create and configure a shopping cart solution for these clients Using Adobe BC as opposed to using a hosted template based cart system such as BigCommerce, Godaddy, Shopify, etc.
My questions is, once the site has been created and published on BC, is there a product module in BC that will allow my client the ability to easily upload and change or update pricing and general specs for the products in their shopping cart -or- will the client need to know html, CSS and javascript in order to manage the products in their own shopping cart.
Constructive feedback would be greatly appreciated.Hi there,
If you have the eCommerce plan you have the full access to the admin for the client. The admin like many CMS's has full control on products, catalogs, CRM and more. IF you build the site well the client never has to do or touch anything html, css or javascript.
The product side has a full stock, order, invoice management etc ...
A powerful online store, built-in | Features | Adobe Business Catalyst -
Created by in Monitor shopping cart requires employee numer since SRM 5.0
Hello experts,
We have upgraded from SRM 4.0 to SRM 5.0 SRM SRM server 550. In monitor shopping cart using 'created by' to search shopping carts, users could usually enter their username. After the upgrade however users need to enter their empoyee number. So they first use the search functionality (binoculars) to search for their name afterwihich the field will be filled with their employee number. Does anybody know how to change that ? So users will be able to enter their username again to search for their own shopping carts ?
Thanks as ever!
Kind regards,
Antoinette
Edited by: Antoinette Stork on Nov 14, 2008 5:45 PMProblem solved
-
Shopping Cart - Default Settings for items
Hi all,
We are on SRM 7.0 SP05 classic scenario with backend ECC 6.0 EHP4. There is a requirement to retain shopping cart default settings so that user is no need to enter default values on each shopping cart creation.
We are intent to develop a custom WDA for users to edit their own shopping cart default settings, the values will be saved to user position attributes and extended attributes (including some customized attributes) at PPOMA_BBP. After that, default settings will be copied from attribute during shopping cart creation, for example:
Item Basic Data: Product Category <== extended attribute "Product Category" value which is set as default
Account Assignment: Account Assignment Category <== attribute KNT which is set as default
Assign Number: Cost Center <== attribute CNT, Asset <== attribute AN1, WBS Element <== attribute PRO (plus two custom attributes to hold value of Internal Order and Network)
Here are the questions:
(1) For GL account, we did not config combination of Product Category and Account Assignment Category in SPRO, we will create a custom attribute as mentioned above. However, where can we insert our coding to copy custom attribute value to default setting during shopping cart creation? Is class /SAPSRM/CL_PDO_USER_CONTEXT a candidate? If yes, which method should be enhanced?
(2) For Delivery Address, if we do not use standard address management and maintain value at attribute ADDR_SHIPT, we intent to use similar approach: maintain custom attribute and then populate to default settings. The same question is where can we insert our coding to copy custom attribute values to default setting during shopping cart creation?
Thanks.
Regards,
DonaldHi Lee,
Please implement the following SAP notes in SRM 7.0
There is a product bug in SRM 7.0
1. 1450367-Default settings for Acct assignment.
2.1442277 -Default setting for delivery address.
hope it will solve your problem
Regards
G.Ganesh Kumar -
Monitor Shopping Carts with approval overview
Hi experts,
Do you know of any report similar to BBP_MON_SC that shows also the approval overview, or at least who is the current approver that has to release the Shopping Cart?
Many thanks,
EzequielHello Ezequiel,
Actually, BBP_MON_SC is a transaction which is suitable for the administrators.
If you would like to assign the same to users who has employee role, you will have to create custom specific role to suit your modification.
BBP_MON_SC belongs to role SAP_BBP_STAL_ADMINISTRATOR.
Through transaction BBPSC04 (Shopping Cart Check Status), you can see the approval preview, but within this transaction, user can see only his own shopping carts.
Via BBPSC04 is not possible to check shopping carts from other users, only your own documents.
Actually, there is no standard transaction where you can look for carts from other users without administrator role.
I hope this helps.
Kind regards.
Ricardo -
How do I add an already built Shopping Cart (PHP and MYSQL) (Cartweaver 4) application to a page in a Muse site? Do I have to export the Muse site as Html to dreamweaver and them use the extension to bring the shooping cart in or can I do it directly in Muse?
Message was edited by: mgv2048We have experimented with doing this with some good success. We have been working on adding Cartweaver to a Facebook page by essentially adding a Cartweaver store to Facebook in an iframe. The "store" would be pages with just your basic product display, cart, and checkout functionality, with none of the "window dressing" - just use CSS to match the color and general look of the design it's being added to.
The one problem with this for Facebook is when it comes time to check out toy have to leave Facebook and go to your server where an SSL is in place. Fortunately in this situation this would not be the case, you can have an SSL installed to the root of your site and you'll be okay.
This is an interesting project. Give this a try and let me know how it goes and if you run into any snags, please make a post on the Cartweaver forums: http://forums.cartweaver.com - I'm really confident that this can work, and not only work, but work well.
Looking forward to hearing how this goes, and being of what help we can.
Lawrence Cramer - *Adobe Community Professional*
http://www.Cartweaver.com
PHP & ColdFusion Shopping Cart for Adobe Dreamweaver
Stay updated:
http://www.facebook.com/cartweaver
http://www.twitter.com/cartweaver
http://blog.cartweaver.com -
Shopping Cart php (no database)
Anyone know of a shopping cart that doesn't rely on getting the information from a database?
I have a lot of working out AFTER the information has been sourced from the database to end up with final prices/information etc
I guess what I'm looking for is a cart that is able to take 'static' form values although they are generated with php and dump that in a cart then pass that over to a payment gateway.
All the shopping carts that I have looked at seem at some point to source the final information from a database, where the information is set in concrete.
Obviously the Paypal cart does what I need as it doesnt have access to a local database to source any info. It just takes it directly from the form value fields - so that's the kind of workflow I'm looking for.
No hosted carts either as I need to be able to manipulate the code to blend in with the site design.
Cheers
OsTeodor Kuduschiev wrote:
Hello,
Take a look at DMXzone's Sliding Paypal Shopping cart http://www.dmxzone.com/go/21622/sliding-paypal-shopping-cart
It works both with Static and Dynamic data.
Hi Teodor,
Ok, will check that one out.
Thank you
Os -
Buy or build shopping cart?/
I'm redesigning a publishing site which accepts subs payments
online. As the site only offers different options i am tempted to
design a shopping cart myself. I was wondering if any one knows of
core security issues i need to consider first, or if it really is
better to buy a shopping cart to add onto the site? thanksHi,
No need to pay and buy any shopping cart applications since
there are lot of other free CF applications like (CFShopkart) that
you can download and use.. Also when it comes to security you may
go for SSL certificates especially for the payment pages... -
I'm new to web design, and self taught, so go easy on me, haha. I have a site up, that sells organic mattresses and I need to add a shopping cart to it so customers can purchase online. I've added a buy now button and I want that to take them to another page where they can customize the bed and then purchase it online. You can look at it if you'd like; www.dremata.com
I have a google checkout account, which comes with a shopping cart widget but it's limited and I need a shopping cart with more options/more customizeable because there are a lot of different options the customer can pick that effect price.
I've been googling shopping carts for 6 hours now. Everything I've found turns out to be an entire online store. Which I'm not looking for, because I've already designed my website and set up the product pages. I'm just looking to add a shopping cart. I can't, for the life of me, find a premade shopping cart that I can just add to my site. At this point, I'm assuming I'm really ignorant on the subject and you can't do that?
I don't know too much about shopping carts, or how they work. So if anyone could help me out, let me know what my options are and the different ways to add a shopping cart, I'd really appreciate it!
- ThanksYou've made a common newbie mistake of putting the wagon ahead of the horse. Ideally, you should build your site pages within your shopping cart system. IOW, the product IDs, descriptions, prices, options, etc... are stored in server-side databases. Content is dynamically populated to your site pages. This is the price of doing things on your own without first consulting an expert. All is not lost though. Find out which programming languages your server supports (ASP, PHP, ColdFusion...)
Have a look at Cartweaver and Web Assist They each have e-commerce extensions that can be used with DW.
Good luck,
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Flash shopping cart..... Help Please
Hi Guys,
I Would like to add a shopping cart to my flash website. The
current website is working with actionscript 2. selling 10+ items
Anyone knows of a good tutorial, book, program or advise that
would help me from start to finish? should i use xml or php? Any
open source codes with instructions? what can i use to processes
credit cards inside of flash?
Really need the help, thanksquote:
because of the questions you're asking, you should off-load
the handling of secure transactions to a third party. paypal is the
most well-known of these. check their website for details on how
you can accept a variety of payments, including credit cards. it's
relatively simple (compared to creating your own secure shopping
cart).
Thank you kglad, What would u recommend i do for the coding
of the shopping cart before the total amount is sent to a 3rd
party? Like the add to cart, remove from cart, total etc. -
I have a client that would like an e-commerce site for her
business. I've searched various e-commerce web building sites and
have found that the templates used are not sufficient nor
attractive for me or the client.
I like to do a lot of my web building using Dreamweaver 8,
Frontpage, and Publisher. I would prefer to use Dreamweaver 8 and I
have been searching tutorials, manuals, forums, etc. trying to find
an answer.
I'm not the "best" person when it comes to web designing, so
therefore I would prefer an almost Step-by-Step Guide that I can
read. Money is very scarce so going out and purchasing books or
software really isn't an option as well.
Can someone knowledgeable in this PLEASE, PLEASE help. I have
been working on this for a week now. I need an answer ASAP as the
site needs to be built and ready to be uploaded in 3 days.As time is of the essence, at this point, I would recommend
using a prebuilt
cart .. if there aren't too many products, you can use
something like the
PayPal shopping cart, which is free and there are
instructions on the paypal
site for getting started.
Also see if your host has a shopping cart included .. many
have a simple one
already included with your package.
Nancy Gill
Adobe Community Expert
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
2003)
Technical Editor: Dreamweaver CS3: The Missing Manual,
DMX 2004: The Complete Reference, DMX 2004: A Beginner's
Guide
Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
Web Development
"NoonieB" <[email protected]> wrote in
message
news:f60kt6$rlc$[email protected]..
>I have a client that would like an e-commerce site for
her business. I've
> searched various e-commerce web building sites and have
found that the
> templates used are not sufficient nor attractive for me
or the client.
>
> I like to do a lot of my web building using Dreamweaver
8, Frontpage, and
> Publisher. I would prefer to use Dreamweaver 8 and I
have been searching
> tutorials, manuals, forums, etc. trying to find an
answer.
>
> I'm not the "best" person when it comes to web
designing, so therefore I
> would
> prefer an almost Step-by-Step Guide that I can read.
Money is very scarce
> so
> going out and purchasing books or software really isn't
an option as well.
>
> Can someone knowledgeable in this PLEASE, PLEASE help. I
have been
> working on
> this for a week now. I need an answer ASAP as the site
needs to be built
> and
> ready to be uploaded in 3 days.
> -
Can anyone point me in the right direction please?
I'm looking for a 'comprehensive' shopping cart system
written in 'Classic
ASP' and editable in DW8.
It needs to have a fully functioning admin (backend) system
and also enable
me to add asp code as and when required.
Bit of a tall order I guess, but my reason for the question
is that at
present we're using 'Actinic v8' and it is rather restrictive
in both
functions and design ability.
Hope someone can advise.
Thanks in advance
Kind Regards
AndyThanks for that Dave - I've emailed you
Andy
"Dave Buchholz" <[email protected]> wrote
in message
news:[email protected]...
> Andy,
>
> There are none that I am aware of but if you want to
contact me offlist
> I'll see what I can do for you.
>
> --
>
> Dave Buchholz
> I-CRE8
> www.i-cre8.co.uk
> Skype ID: I-CRE8
>
>
> "Andy" <[email protected]> wrote in message
> news:[email protected]...
>> Thanks Dave
>>
>> Do you know if they offer any screenshots of this? I
can't seem to find
>> any on their site.
>>
>> Andy
>>
>> "Dave Buchholz"
<[email protected]> wrote in message
>> news:[email protected]...
>>> Not Lee but I can tell you that eCart comes with
a sample store that
>>> features a admin backend that you could modify
for your own needs.
>>>
>>> --
>>>
>>> Dave Buchholz
>>> I-CRE8
>>> www.i-cre8.co.uk
>>> Skype ID: I-CRE8
>>>
>>>
>>> "Andy" <[email protected]> wrote in message
>>> news:[email protected]...
>>>> Thanks Lee
>>>>
>>>> Excellent review -
>>>> After looking into WA e-cart, i'm getting a
little ocnfused with their
>>>> product range.
>>>> Does the e-cart come with a back-end system?
or do you have to purchase
>>>> another ackage from them to do this?
>>>>
>>>> Thanks Again Lee
>>>>
>>>> Andy
>>>>
>>>> "Lee" <[email protected]> wrote
in message
>>>> news:[email protected]...
>>>>> I've been using WebAssist. It's good and
bad depending on what you
>>>>> need it to do. It offers a lot of
flexibility but when you want
>>>>> something unique it can be difficult to
implement.
>>>>>
>>>>> For me, it wasn't so much the cost of
the program but the time it took
>>>>> to build what I needed. Had I a
programmer sitting next to me, I would
>>>>> have been very satisfied with WebAssist.
Since I am not a programmer I
>>>>> often ran into brick walls with much of
the process.
>>>>>
>>>>> Don't count on too much help from them
unless you are ready to pay for
>>>>> help. I don't blame them, this is very
difficult stuff. Their help
>>>>> files are adequate but often lack the
resource that is needed to
>>>>> really understand the workings of the
cart. They have a forum but
>>>>> essentially, the responses to the posts
only suggest a solution and
>>>>> often it's not as soon as you might
wish. In order to get real help,
>>>>> you have use help credits that come with
the original purchase. Once
>>>>> those are gone, you can buy more. They
also have a good mentoring
>>>>> program that you can purchase for, I
think, $150 a shot. It's helpful
>>>>> and I would just budget a few of those
right off the bat. In my case,
>>>>> doing this earlier on would have saved a
lot of grief. I wish I would
>>>>> have gotten help earlier, instead, I
built some things in a way that
>>>>> didn't mesh very well with the cart.
>>>>>
>>>>> In many ways I wonder if I should have
gotten something that was more
>>>>> canned but it's hard to say what the
right answer is. Something that
>>>>> was canned may not have offered what I
needed to have. If you're not a
>>>>> programmer, for simple carts without a
lot of complicated programming
>>>>> needs, WebAssist is probably pretty
good. If you are a solid
>>>>> programmer, WebAssist is even a better
choice. However, if you have a
>>>>> complicated project/s and you have
little programming skills, beware.
>>>>>
>>>>>
>>>>>
>>>>> The pluggins can be a little buggy
sometimes but on average, I am
>>>>> satisfied.
>>>>>
>>>>>> Thanks Guys!
>>>>>> Anyone got any thoughts or
experience with using 'cartweaver' or
>>>>>> 'webb assist's e-cart'?
>>>>>>
>>>>>> Thanks
>>>>>> Andy
>>>>>>
>>>>>>
>>>>>> "Andy" <[email protected]> wrote in
message
>>>>>>
news:[email protected]...
>>>>>>> Can anyone point me in the right
direction please?
>>>>>>> I'm looking for a
'comprehensive' shopping cart system written in
>>>>>>> 'Classic ASP' and editable in
DW8.
>>>>>>>
>>>>>>> It needs to have a fully
functioning admin (backend) system and also
>>>>>>> enable me to add asp code as and
when required.
>>>>>>>
>>>>>>> Bit of a tall order I guess, but
my reason for the question is that
>>>>>>> at present we're using 'Actinic
v8' and it is rather restrictive in
>>>>>>> both functions and design
ability.
>>>>>>>
>>>>>>> Hope someone can advise.
>>>>>>>
>>>>>>> Thanks in advance
>>>>>>>
>>>>>>> Kind Regards
>>>>>>> Andy
>>>>>>>
>>>>>>
>>>>
>>>
>>>
>>
>>
>
> -
How to get business partner no from guid of shopping cart
Hi experts,
is there any relation between guid of shopping cart and business partner in but000 table , here we need to find the approver for the shopping cart based on guid , when it is just being created in single step approval. we are using process controlled workflow in srm 7.0.
Thanks
kamakshiHi Kamakshi,
I do not which FM can do the trick. But you can build your own FM by searching table swiwiobjct, provide below data:
- objtype = 'BUS2121'
- objkey = shopping cart number
- wi_stat = COMPLETED
- wi_rh_task = TS10007991 (or other tasks to set SC status to released)
Then the value(s) of field wi_aagent should be the user ID of approver.
Regards,
Donald -
Is there a way to remove the currency from you shopping cart products or create your own currency? I am tryning to aad products that can be purchased with my own type of currency ie points. These poins will be send out as gift vouchers for dealers and then they can purchase products depending on the mount of points they have. Is this at all possible?
HimChris. No.
This is based on real money and the currency is set bass on the country you chose when for I the site through the site builder at the start.
You can add multiple currency into BC but not your own thing.
Maybe you are looking for
-
In Portal Content admin Role "Portal content" folder is not displaying
Hi, I created a user in EP and assign Only Content admin Role. But in portal content area "Portal content "folder is not displaying. Can someone help me the process steps to achieve it? Thanks, kundan
-
Hi, As per the weblog /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2, I did follow the steps. I configured serv-u FTP server for my local system. I gave my systems Ip Addr
-
Need help with a simple Rename/Join Domain/Install SCCM Client Task Sequence
Good morning everyone, I need to create a very simple task sequence that will run an .exe that we have created that renames the computer based on a prefix-serialnumber...then restarts, adds it to our domain, restarts, and then installs the SCCM clien
-
Hi All Did any one try adding couple of white spaces in Header bean prompt dynamically??I tried " " but oaframework encodes "&" -> "&". Is there any way for displaying white spaces in header prompt? Thanks in advance Murari
-
Integrating with sap , some doubt
Hello friends , i am trying to integrate my JBOSSMQ of JBOSS4.0 APP Server with SAP. For that i need to set few parameters in SAP like the QueueConnectory Factory, Queue , etc. I found out that the QueueConnectoryFactory is org.jboss.mq.SpyConnectorF