I am coming here because I don't really even know what to google for, and I'm sure that many of you can do this with your eyes closed. That's why
I'm coming to the experts.
Here is the scenario. A customer is at the checkout page of an online
store, example.com. They would put in their email address, credit card information, etc., and hit send.
1. The site, example.com, sends a post request to
https://aloyaltycard.com with the person's email address, their merchant number and total amount of the transation.
2. aloyaltycard.com receives the information, does a quick check to
verify that the email address is on file and notes the transaction in its db. (I already know how to do this part)
3. aloyaltycard.com sends back a verification to example.com that the
email address is good and 90% of the transaction amount. (This is where I need help)
4. Then example.com completes the tranaction on their end giving the user
a 10% discount, which should match up with the 90% aloyaltycard.com sent back in the verification.
Thank you in advance for your time and assistance.
--
Adrienne Boswell
http://the-good-plate.com - Gourmet Foods on a Budget http://cavalcade-of-coding.info - Organic Web Design
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 351 |
Nodes: | 16 (2 / 14) |
Uptime: | 29:27:25 |
Calls: | 7,634 |
Files: | 12,796 |
Messages: | 5,688,854 |