Skip to content

Commit

Permalink
Merge pull request #270 from TransbankDevelopers/refactor/rename-test…
Browse files Browse the repository at this point in the history
…-connection-method

refactor: rename test connection method
  • Loading branch information
mastudillot authored Nov 29, 2024
2 parents 45490fd + 7940e19 commit b2fd46d
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 b2fd46d

Please sign in to comment.