Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Adyen Magento2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shared Libs
Adyen Magento2
Commits
0ea49d3c
Commit
0ea49d3c
authored
Mar 15, 2019
by
alessio
Committed by
attilak
May 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed AdyenInitiatePaymentsInterface and AdyenInitiatePayments,
changed endpoint to 3ds2Process
parent
5c9e1a54
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
10 deletions
+10
-10
Api/Adyen3DS2ProcessInterface.php
Api/Adyen3DS2ProcessInterface.php
+1
-1
Model/Adyen3DS2Process.php
Model/Adyen3DS2Process.php
+2
-2
Observer/AdyenCcDataAssignObserver.php
Observer/AdyenCcDataAssignObserver.php
+1
-1
etc/di.xml
etc/di.xml
+2
-2
etc/webapi.xml
etc/webapi.xml
+2
-2
view/frontend/web/js/view/payment/method-renderer/adyen-cc-method.js
...nd/web/js/view/payment/method-renderer/adyen-cc-method.js
+2
-2
No files found.
Api/Adyen
InitiatePayment
sInterface.php
→
Api/Adyen
3DS2Proces
sInterface.php
View file @
0ea49d3c
...
...
@@ -24,7 +24,7 @@
namespace
Adyen\Payment\Api
;
interface
Adyen
InitiatePayment
sInterface
interface
Adyen
3DS2Proces
sInterface
{
/**
* Returns string
...
...
Model/Adyen
InitiatePayment
s.php
→
Model/Adyen
3DS2Proces
s.php
View file @
0ea49d3c
...
...
@@ -23,9 +23,9 @@
namespace
Adyen\Payment\Model
;
use
Adyen\Payment\Api\Adyen
InitiatePayment
sInterface
;
use
Adyen\Payment\Api\Adyen
3DS2Proces
sInterface
;
class
Adyen
InitiatePayments
implements
AdyenInitiatePayment
sInterface
class
Adyen
3DS2Process
implements
Adyen3DS2Proces
sInterface
{
public
function
__construct
()
{
...
...
Observer/AdyenCcDataAssignObserver.php
View file @
0ea49d3c
...
...
@@ -43,7 +43,7 @@ class AdyenCcDataAssignObserver extends AbstractDataAssignObserver
const
JAVA_ENABLED
=
'java_enabled'
;
const
SCREEN_COLOR_DEPTH
=
'screen_color_depth'
;
const
SCREEN_WIDTH
=
'screen_width'
;
const
SCREEN_HEIGHT
=
'screen_he
gi
ht'
;
const
SCREEN_HEIGHT
=
'screen_he
ig
ht'
;
const
TIMEZONE_OFFSET
=
'timezone_offset'
;
/**
...
...
etc/di.xml
View file @
0ea49d3c
...
...
@@ -883,8 +883,8 @@
type=
"Adyen\Payment\Model\AdyenRequestMerchantSession"
/>
<preference
for=
"Adyen\Payment\Api\AdyenInitiateTerminalApiInterface"
type=
"Adyen\Payment\Model\AdyenInitiateTerminalApi"
/>
<preference
for=
"Adyen\Payment\Api\Adyen
InitiatePayment
sInterface"
type=
"Adyen\Payment\Model\Adyen
InitiatePayment
s"
/>
<preference
for=
"Adyen\Payment\Api\Adyen
3DS2Proces
sInterface"
type=
"Adyen\Payment\Model\Adyen
3DS2Proces
s"
/>
<preference
for=
"Magento\Checkout\Api\PaymentInformationManagementInterface"
type=
"Adyen\Payment\Model\AdyenPaymentInformationManagement"
/>
<type
name=
"Magento\Vault\Api\PaymentTokenRepositoryInterface"
>
...
...
etc/webapi.xml
View file @
0ea49d3c
...
...
@@ -58,8 +58,8 @@
</resources>
</route>
<route
url=
"/V1/adyen/
payment
s"
method=
"POST"
>
<service
class=
"Adyen\Payment\Api\Adyen
InitiatePayment
sInterface"
method=
"initiate"
/>
<route
url=
"/V1/adyen/
3ds2Proces
s"
method=
"POST"
>
<service
class=
"Adyen\Payment\Api\Adyen
3DS2Proces
sInterface"
method=
"initiate"
/>
<resources>
<resource
ref=
"anonymous"
/>
</resources>
...
...
view/frontend/web/js/view/payment/method-renderer/adyen-cc-method.js
View file @
0ea49d3c
...
...
@@ -202,7 +202,7 @@ define(
'
java_enabled
'
:
navigator
.
javaEnabled
(),
'
screen_color_depth
'
:
screen
.
colorDepth
,
'
screen_width
'
:
screen
.
width
,
'
screen_he
gi
ht
'
:
screen
.
height
,
'
screen_he
ig
ht
'
:
screen
.
height
,
'
timezone_offset
'
:
new
Date
().
getTimezoneOffset
()
}
};
...
...
@@ -237,7 +237,7 @@ define(
fullScreenLoader
.
startLoader
();
var
serviceUrl
=
urlBuilder
.
createUrl
(
'
/adyen/
payment
s
'
,
{});
var
serviceUrl
=
urlBuilder
.
createUrl
(
'
/adyen/
3ds2Proces
s
'
,
{});
var
payload
=
{
"
payload
"
:
JSON
.
stringify
(
self
.
getData
()),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment