Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoapi committed Dec 2, 2020
1 parent 1fcdde2 commit 5c855b7
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions lib/cryptobox.newpayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@
function cryptobox_new_payment($paymentID = 0, $payment_details = array(), $box_status = "")
{

// Debug - new payment email notification for webmaster
// Uncomment lines below and make any test payment
// You can use page https://gourl.io/info/ipn to send
// dummy payment data to your website,
// you will receive this email notification
// --------------------------------------------
// $email = "....your email address....";
// mail($email, "Payment - " . $paymentID . " - " . $box_status, " \n Payment ID: " . $paymentID . " \n\n Status: " . $box_status . " \n\n Details: " . print_r($payment_details, true));

/** .............
.............
Expand Down Expand Up @@ -121,16 +129,9 @@ function cryptobox_new_payment($paymentID = 0, $payment_details = array(), $box_
*/

// Debug - new payment email notification for webmaster
// Uncomment lines below and make any test payment
// --------------------------------------------
// $email = "....your email address....";
// mail($email, "Payment - " . $paymentID . " - " . $box_status, " \n Payment ID: " . $paymentID . " \n\n Status: " . $box_status . " \n\n Details: " . print_r($payment_details, true));




return true;
return true;
}

?>

0 comments on commit 5c855b7

Please sign in to comment.