Skip to content

Commit

Permalink
Update Service.php (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
jillingk authored Aug 15, 2024
1 parent 738ee9b commit ec17ea5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Adyen/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ public function createBaseUrl(string $url): string

// Replace 'test' in string with 'live' for the other endpoints
$url = str_replace('-test', '-live', $url);
} else {
$url = str_replace('-live', '-test', $url);
}
return $url;
}
Expand Down

0 comments on commit ec17ea5

Please sign in to comment.