Refactor payment confirmation template and fix status check
This commit is contained in:
@@ -18,6 +18,8 @@ class ShopOrder
|
||||
{
|
||||
global $mdb;
|
||||
|
||||
file_put_contents( 'tpay.txt', print_r( $_POST, true ) . print_r( $_GET, true ), FILE_APPEND );
|
||||
|
||||
if ( \S::get( 'tr_status' ) == 'TRUE' and \S::get( 'tr_crc' ) )
|
||||
{
|
||||
$order = new \shop\Order( 0, \S::get( 'tr_crc' ) );
|
||||
|
||||
Reference in New Issue
Block a user