fix payment_notification_handler.php to use emitting transaction