evilempire |
Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 |
|
Junior Member
Join Date: Aug 2012
Location: Houston
Posts: 3
![]() |
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 http://hombankingsystemproject.com) 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 http://hombankingsystemproject.com); the bankcard will be back to using the funds from the bank who issued the card (i.e. Wells Fargo). EXAMPLE: 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 http://hombankingsystemproject.com instead and is sent to store's bank. 4. I decide to keep the card in my account on http://hombankingsystemproject.com, 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. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|