Skip to content

Commit

Permalink
refactor: rename test connection method
Browse files Browse the repository at this point in the history
  • Loading branch information
mastudillot committed Nov 29, 2024
1 parent 45490fd commit 7940e19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/src/Utils/ConnectionCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ class ConnectionCheck
{
public static function check()
{
$resp = ConnectionCheck::setCreateTransaction();
$resp = ConnectionCheck::performTestTransaction();

header('Content-Type: application/json');
ob_clean();
echo json_encode($resp);
wp_die();
}

public static function setCreateTransaction()
public static function performTestTransaction()
{
$amount = 990;
$buyOrder = '_Healthcheck_';
Expand Down

0 comments on commit 7940e19

Please sign in to comment.