nikefido Posted March 26, 2008 Share Posted March 26, 2008 I need to figure out a proper way to store transaction info.. the payment gateway used passes XML back and forth. There are three steps - Auhorization, Settlement and Voiding. Auth / Settlement both happen for (successful) transactions while voiding is optional.... For each step, I'm sending info and then receiving a response with info. So i'm not sure how to database this. Should I have one row for each transaction, incl auth, settle and void info? Or 3 tables, one for each step? I also need to pull info in from a users and billing information table (2 separate tables). Any ideas on how to get started? Link to comment https://forums.phpfreaks.com/topic/98006-making-normalized-database-for-credit-card-transactions-via-payment-gateway/ Share on other sites More sharing options...
fenway Posted March 26, 2008 Share Posted March 26, 2008 Definitely just a single payments table... all cc transactions have a similar format (i.e. # of fields returned). Link to comment https://forums.phpfreaks.com/topic/98006-making-normalized-database-for-credit-card-transactions-via-payment-gateway/#findComment-501455 Share on other sites More sharing options...
nikefido Posted March 26, 2008 Author Share Posted March 26, 2008 mmm..should the datatable entries all come from incoming data only? (where as outgoing data such as authorization requests would be automated from other datatables such as the users billing information table) Link to comment https://forums.phpfreaks.com/topic/98006-making-normalized-database-for-credit-card-transactions-via-payment-gateway/#findComment-501512 Share on other sites More sharing options...
fenway Posted March 26, 2008 Share Posted March 26, 2008 I usually have a payments table where I hold all of the "final" details that go out for payment processing... this table also has fields for all of the "incoming" data too. Link to comment https://forums.phpfreaks.com/topic/98006-making-normalized-database-for-credit-card-transactions-via-payment-gateway/#findComment-501634 Share on other sites More sharing options...
nikefido Posted March 27, 2008 Author Share Posted March 27, 2008 Thanks, your replies are a good help! Link to comment https://forums.phpfreaks.com/topic/98006-making-normalized-database-for-credit-card-transactions-via-payment-gateway/#findComment-502155 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.