Skip to content

Commit

Permalink
Change alphabank test urls
Browse files Browse the repository at this point in the history
  • Loading branch information
dnna committed Aug 3, 2022
1 parent 0d4e670 commit e2d0318
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AlphaBankGatewayFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ protected function populateConfig(ArrayObject $config): void
'payum.action.refund' => new RefundAction(),
'payum.action.create_charge' => function (ArrayObject $config) {
if ($config['sandbox'] == true) {
$actionUrl = 'https://alpha.test.modirum.com/vpos/shophandlermpi';
$actionUrl = 'https://ecommerce-test.cardlink.gr/vpos/shophandlermpi';
} else {
$actionUrl = 'https://www.alphaecommerce.gr/vpos/shophandlermpi';
}
Expand Down
2 changes: 1 addition & 1 deletion Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ protected function doRequest($method, string $endpoint, string $body): \Psr\Http
*/
protected function getApiEndpoint(): string
{
return $this->options['sandbox'] ? 'https://alpha.test.modirum.com/vpos' : 'https://www.alphaecommerce.gr/vpos';
return $this->options['sandbox'] ? 'https://ecommerce-test.cardlink.gr/vpos' : 'https://www.alphaecommerce.gr/vpos';
}
}

0 comments on commit e2d0318

Please sign in to comment.