SunQuest
           Development Software
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementDevelopment Software

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old July 31st, 2006, 06:42 PM
misterdanny's Avatar
misterdanny misterdanny is offline
Null Pointer Exception
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Mar 2006
Location: america
Posts: 2,086 misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 2 h 10 m 35 sec
Reputation Power: 217
Storing paypal information

im trying to implement paypal with IPN to update my databases on completed payments. (im using php and mysql)

right now it works. yay! but i dont know what kind of information i should store in the database.

right now this is what i have in mind

server gets IPN. checks data blah

if IPN is VERIFIED and Completed (meaning the payment cleared) i update my databases to show that i received the payment. i do this buy increasing their balance in their user login table.

i also think its appropiate to keep track of transactions themself.

right now i log every paypal IPN i get regardless of the results and in the log i put all the variables the IPN script gets posted. so if theres any issues i can always refer to this log at a for sure identifier.

but what about the mysql database. at first im thinking i should just put the txn_id the payer_id and payer_email the amount datetime.

but what if the user creates a dispute ie a chargeback or something the payment_status would be different and id have invalid data. my IPN script is queried on each update i beleive but when it comes to refunds and dipsutes etc i dont know what other information id need easy access to (refernig back to a possibly huge IPN log file doesnt seem that fun)

Reply With Quote
  #2  
Old August 1st, 2006, 06:27 PM
misterdanny's Avatar
misterdanny misterdanny is offline
Null Pointer Exception
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Mar 2006
Location: america
Posts: 2,086 misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 2 h 10 m 35 sec
Reputation Power: 217
bump sorry

Reply With Quote
  #3  
Old August 4th, 2006, 12:38 AM
BPmedia-David's Avatar
BPmedia-David BPmedia-David is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 55 BPmedia-David User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 46 m 25 sec
Reputation Power: 2
have u tried looking at TinyTool? I didnt read your entire post, so i hope it helps.

Reply With Quote
  #4  
Old August 15th, 2006, 05:09 AM
irisblaze irisblaze is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Location: Palestine
Posts: 95 irisblaze User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 Days 16 h 26 m 56 sec
Reputation Power: 0
Send a message via Yahoo to irisblaze
hash the info?

Reply With Quote
  #5  
Old August 15th, 2006, 11:58 AM
misterdanny's Avatar
misterdanny misterdanny is offline
Null Pointer Exception
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Mar 2006
Location: america
Posts: 2,086 misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level)misterdanny User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 2 h 10 m 35 sec
Reputation Power: 217
no what i mean is like, thers 100s of paypal variables which can be used which ones are important (in a simple transaction of the user paying me money nothing special about it) bassicaly i cant figure out the bare bone variables to do the basic paypal task of using it for receiving money on a website. (as far as receiving the money, clearing it after the payment is cleared, and if there is a dispute like a charge back or similar)

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementDevelopment Software > Storing paypal information


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway