Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. this is my ipn listener which works when it is used direct;
  2.  
  3. <?php
  4.  
  5. include("system/connect.php");
  6.  
  7. if ($_POST){
  8.  
  9. $email = $_POST["payer_email"];
  10. $uid = $_POST["item_number"];
  11. $tutar = ($_POST["mc_gross"] / 1.18);
  12.  
  13. $query = mysql_query("insert into paypal set
  14. uye_id = '$uid',
  15. uye_email = '$email',
  16. uye_tutar = '$tutar'");
  17.  
  18. mysql_query("insert into paypal2 set
  19. uye_id = '$uid',
  20. uye_email = '$email',
  21. uye_tutar = '$tutar',
  22. tarih = '" . date('Y-m-d H:i:s') . "'");
  23.  
  24. }
  25.  
  26. ?>
  27.  
  28.  
  29.  
  30.  
  31. and this is whats in the _logs file;
  32.  
  33. mc_gross=17.70&protection_eligibility=Eligible&address_status=unconfirmed&payer_id=S6NXBS8KDMCNG&tax=0.00&address_street=I-REMOVED-THIS%FD&payment_date=17%3A20%3A38+Feb+06%2C+2016+PST&payment_status=Completed&charset=windows-1254&address_zip=45020&first_name=I-REMOVED-THIS&mc_fee=1.05&address_country_code=TR&address_name=I-REMOVED-THIS&notify_version=3.8&custom=3&payer_status=verified&business=I-REMOVED-THIS&address_country=Turkey&address_city=Manisa&quantity=1&verify_sign=AESJbhyqYGldn62ddw8iL27wBvFxA32Zxfj98z.EPB4f-H2TtgfdsPm.&payer_email=I-REMOVED-THIS&txn_id=6YM92493TE212421B&payment_type=instant&payer_business_name=I-REMOVED-THIS&last_name=I-REMOVED-THIS&address_state=Turkey&receiver_email=I-REMOVED-THIS&payment_fee=&receiver_id=VFLNM4EKVZ4HA&txn_type=web_accept&item_name=&mc_currency=TRY&item_number=7292&residence_country=TR&handling_amount=0.00&transaction_subject=3&payment_gross=&shipping=0.00&ipn_track_id=e88ebdc26ec1
  34.  
  35.  
  36.  
  37. there is nothing in the error log file which is in the folder where my ipn listener and the broadcaster is in, around the date payment has been made.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement