Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoapi committed Dec 3, 2016
1 parent 2bc6875 commit f03d28e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cryptobox.newpayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,14 @@ function cryptobox_new_payment($paymentID = 0, $payment_details = array(), $box_
{
// ... Your code ...
// ... and update status
// ... and update status in default table where all payments stored - https://github.com/cryptoapi/Payment-Gateway#mysql-table
$sql = "UPDATE crypto_payments SET processed = 1, processedDate = '".gmdate("Y-m-d H:i:s")."' WHERE paymentID = ".intval($paymentID)." LIMIT 1";
run_sql($sql);
}
.............
Debug - new payment email notification for webmaster
Uncomment lines below and make any test payment
--------------------------------------------
Expand Down

0 comments on commit f03d28e

Please sign in to comment.