-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addition of a field to allow adding a personalized url. Because endpo… #6
Conversation
…ints can change and it's hard to have endpoints hard-coded in the code
Wonderful @camilleislasse ! |
src/Api/Api.php
Outdated
@@ -479,6 +482,10 @@ private function getHashModes(): array | |||
|
|||
private function getUrl(): string | |||
{ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this blank line.
src/PayzenGatewayFactory.php
Outdated
@@ -53,6 +53,7 @@ protected function populateConfig(ArrayObject $config) | |||
'ctx_mode' => null, | |||
'directory' => null, | |||
'endpoint' => null, | |||
'endpoint_url' => null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please align arrow.
src/PayzenGatewayFactory.php
Outdated
@@ -66,6 +67,7 @@ protected function populateConfig(ArrayObject $config) | |||
|
|||
$payzenConfig = [ | |||
'endpoint' => $config['endpoint'], | |||
'endpoint_url'=> $config['endpoint_url'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be a space between string and arrow. Then align arrows.
Thx @camilleislasse |
Addition of SogeCommerce Endpoint ( Societé Génerale )
Addition of a field to allow adding a personalized url. Because endpoints can change and it's restrictive to have endpoints hard-coded in the code