Register FAQ Members List Search Today's Posts Mark Forums Read

Go Back   Evil Empire Forums > Computers, Technology & Gaming

Thread Tools Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
Old 02-06-2013, 07:35 PM   #1
Junior Member
Join Date: Aug 2012
Location: Houston
Posts: 3
antoinelbanks has one green dot.  Good for them!
Default PHP or JavaScript Function Needed for Class Project

For our web programming/ecommerce class, our teacher told us to come up with any website final project that we wanted to do as far as using money transfer is concerned. Being that this is an ecommerce class; my teacher will barrow a bankcard terminal that will be disabled; so that there will not be real money transfers, but, simulation.

I've decided to work on a home banking system for my project. I've pretty much got it finished. However, I don't know anything about how to create a PHP or Javascript function to transfer money out of the database and to another financial system through current bankcards.

Here is what I'm trying to accomplish with my project:

I've created pages to add, edit and delete current active bankcards. When adding a bankcard, there's gonna be a checkbox that will allow funds to be deducted from the system (i.e. from when the card is used instead of from where the card is actually issued (i.e. Wells Fargo).

When editing current bankcard information, if I uncheck the use of the system funds; or, I delete a bankcard from the system (i.e. from; the bankcard will be back to using the funds from the bank who issued the card (i.e. Wells Fargo).

1. I add a currently active bankcard to my account (i.e. Wells Fargo) and before I actually attach the card to my account, I click the checkbox.

2. I go to the store to swipe my Wells Fargo card to make a purchase.

3. When I make a purchase; the money doesn't come from Wells Fargo, but, from instead and is sent to store's bank.

4. I decide to keep the card in my account on, but, edit the card and uncheck the checkbox; or I delete the card. When, I swipe the card at the store again, the funds will be deducted from my Wells Fargo account again instead of from my banking system project.

P.S. My function will be an external file, linked to the pages that needs to use the function. So, out of the "cust_add_card.php," "cust_delete_card.php," "cust_edit_card.php" and "cust_view_cards.php" files, I need to know what file(s) if not all of them in order for the function to be called upon.

We will present our projects soon. Our total class grade is dependent on rather or not it works. If it works we'll pass, but, if it fail to do a simulated transfer, we will get 50% of our class grade deducted. Thanks. Any help is appreciated.
antoinelbanks is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

All times are GMT -7. The time now is 11:29 AM.

Copyright 2005 Evil Empire