Skip to content
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

[Forwardport] #15588 Fixed incorrect image urls in multistore xml sitemap #1

Open
wants to merge 212 commits into
base: 2.3-develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
212 commits
Select commit Hold shift + click to select a range
82d0491
Merge pull request #6 from magento/2.3-develop
julienanquetil Apr 26, 2018
3852a34
MAGETWO-45950: Product ResourceCollection wrong Join Query
danielrenaud May 14, 2018
5ba8ebb
MAGETWO-45950: Product ResourceCollection wrong Join Query
danielrenaud May 15, 2018
cf05a84
fix for Wrong price amount on product page #11717
HirokazuNishi May 26, 2018
67a2038
Fixed line exceeds issue.
gelanivishal May 28, 2018
12f2e93
MAGETWO-89407: [2.3] PayPal Payments Pro settings gets from wrong store
OlgaVasyltsun May 29, 2018
d1446bf
MAGETWO-89407: [2.3] PayPal Payments Pro settings gets from wrong store
OlgaVasyltsun May 29, 2018
769352f
MAGETWO-92134: [2.2.x] Payment Failed Email is not generated
ameysar May 29, 2018
8559900
MAGETWO-92134: [2.2.x] Payment Failed Email is not generated
ameysar May 29, 2018
67ad165
DocBloc typo fixes
rogyar May 29, 2018
3cc1dc4
Merge remote-tracking branch 'origin/2.3-develop' into MAGETWO-92134
ameysar May 29, 2018
6f4e81b
MAGETWO-90762: [2.3.0] Placing an order takes more time then usual
svitja May 30, 2018
15c920e
MAGETWO-90349: Template file 'header.html' is not found.
ameysar May 30, 2018
107aa22
MAGETWO-66217: Product Url key value comes from product name on store…
zakdma May 30, 2018
e71aa35
MAGETWO-90349: Template file 'header.html' is not found.
ameysar May 30, 2018
ea9c0f1
MAGETWO-90762: [2.3.0] Placing an order takes more time then usual
svitja May 30, 2018
bdc6d47
Merge remote-tracking branch 'origin/2.3-develop' into MAGETWO-92134
ameysar May 30, 2018
6cc997e
[fix] PHPDoc and type hints
May 28, 2018
026da34
MAGETWO-89991: Change default AVS and CVV codes for Signifyd
zakdma May 30, 2018
aa41f77
MAGETWO-92134: [2.2.x] Payment Failed Email is not generated
ameysar May 30, 2018
401c7d1
Merge remote-tracking branch 'origin/2.3-develop' into MAGETWO-90349
ameysar May 30, 2018
fdd33f7
Merge remote-tracking branch 'origin/2.3-develop' into MAGETWO-90762
svitja May 30, 2018
556bad2
MAGETWO-89407: [2.3] PayPal Payments Pro settings gets from wrong store
OlgaVasyltsun May 30, 2018
b8fe9e8
Merge remote-tracking branch 'origin/2.3-develop' into MAGETWO-66217
zakdma May 30, 2018
ef8e84d
Merge branch '2.3-develop' into MAGETWO-89991
zakdma May 30, 2018
e7a296f
Merge remote-tracking branch 'origin/2.3-develop' into MAGETWO-90349
ameysar May 31, 2018
6a0e8cb
MAGETWO-66217: Product Url key value comes from product name on store…
zakdma May 31, 2018
483c858
MAGETWO-91104: [2.3.0] Using a multiselect product attribute with a c…
svitja May 31, 2018
69e6087
Merge remote-tracking branch 'origin/2.3-develop' into MAGETWO-91104
svitja May 31, 2018
0e09c78
Merge remote-tracking branch 'origin/2.3-develop' into MAGETWO-90762
OlgaVasyltsun May 31, 2018
f38d3e4
Merge remote-tracking branch 'origin/2.3-develop' into MAGETWO-90349
ameysar May 31, 2018
f8355ae
MAGETWO-64173: Browser back button issue (Checkout pages)
OlgaVasyltsun May 31, 2018
c93a64e
Merge remote-tracking branch 'origin/2.3-develop' into MAGETWO-92134
ameysar May 31, 2018
5542c81
MAGETWO-92134: [2.2.x] Payment Failed Email is not generated
ameysar May 31, 2018
3ac0add
MAGETWO-91104: [2.3.0] Using a multiselect product attribute with a c…
svitja May 31, 2018
9e4cc7b
[forwardpport] fixes in config module #15511
Jun 1, 2018
075a64c
MAGETWO-90349: Template file 'header.html' is not found.
ameysar Jun 1, 2018
0413b68
Merge remote-tracking branch 'origin/2.3-develop' into MAGETWO-90349
ameysar Jun 1, 2018
9b1b80e
MAGETWO-90349: Template file 'header.html' is not found.
ameysar Jun 1, 2018
45da022
MAGETWO-91807: Error when adding a product to the cart in the backend…
svitja Jun 1, 2018
c5eab1c
MAGETWO-90349: Template file 'header.html' is not found.
zakdma Jun 1, 2018
ec83580
Merge remote-tracking branch 'origin/2.3-develop' into MAGETWO-90349
zakdma Jun 1, 2018
662a316
MAGETWO-90349: Template file 'header.html' is not found.
zakdma Jun 1, 2018
d5c3952
#14063 - Wrong invoice prefix in multistore setup due to default stor…
sanjay-wagento May 19, 2018
080dba1
MAGETWO-91434: Default option for 'Status' attribute not being set
fascinosum Jun 1, 2018
760e889
MAGETWO-92247: Verify that product price is displayed on additional s…
dthampy May 27, 2018
d2e7668
MAGETWO-92247: Verify that product price is displayed on additional s…
cpartica Jun 2, 2018
3c0946d
MAGETWO-91436: Custom Options are corruputed when saving product to a…
dthampy Jun 1, 2018
8719c1b
ENGCOM-1773: [Forwardport] Wrong invoice prefix in multistore setup d…
magento-engcom-team Jun 2, 2018
f6a82ff
ENGCOM-1782: [Forwardport] Fixes in config module #15649
magento-engcom-team Jun 2, 2018
e718a1a
Merge remote-tracking branch 'mainline/2.3-develop' into MAGETWO-4595…
cpartica Jun 2, 2018
943e2cd
Merge pull request #2637 from magento-borg/MAGETWO-45950-product-join…
cpartica Jun 2, 2018
ff02c91
Add missing property, fixed incorrect proprty type, add missing throw…
dmytro-ch Jun 2, 2018
f0eb540
Fixed typos:
dverkade Jun 2, 2018
04583ac
fixed Submitting search form (mini) with enter key fires event handle…
amjad-codilar May 19, 2018
09459f6
Fix HTML syntax in report.phtml error template
dmytro-ch Jun 3, 2018
1ad9c5c
Remove extra space from trnslation file
May 28, 2018
fbb81c9
Merge pull request #11 from magento/2.3-develop
julienanquetil Jun 3, 2018
6301ed4
[Forwardport] Fix #13415 : Duplicated elements id
julienanquetil Jun 3, 2018
83b3587
Use stored value of method instead of calling same method again.
May 25, 2018
82d254b
Use stored value of method instead of calling same method again.
May 25, 2018
42f3f2e
Revert "Use stored value of method instead of calling same method aga…
May 25, 2018
31e49bc
Typo correction
May 25, 2018
14bf8af
hitesh-wagento Jun 1, 2018
0b4a3d0
ENGCOM-1783: Fix minor issues in ui export converter classes #15692
magento-engcom-team Jun 3, 2018
2bd1c37
ENGCOM-1787: [Forwardport] Fix HTML syntax in report.phtml error temp…
magento-engcom-team Jun 3, 2018
ecfc0ee
ENGCOM-1789: [Forwardport] Remove extra space and format the code in …
magento-engcom-team Jun 3, 2018
a147ed5
ENGCOM-1790: [Forwardport] Use stored value of method instead of call…
magento-engcom-team Jun 3, 2018
f8e26c9
ENGCOM-1791: [Forwardport] Typo correction #15707
magento-engcom-team Jun 3, 2018
6736223
ENGCOM-1793: [Forwardport] [Resolved : Menu widget submenu alignment …
magento-engcom-team Jun 3, 2018
b2fd343
Fixed return type of getImageData
rogyar Jun 3, 2018
eaa585d
Refactor javascript code of button split widget
amittiwari024 May 19, 2018
d91fe7c
ENGCOM-1801: Fixed return type of wishlist's getImageData in DocBlock…
magento-engcom-team Jun 4, 2018
a9f5a1d
fix: support multiple minisearch widget instances
May 17, 2018
31cbafe
MAGETWO-91807: Error when adding a product to the cart in the backend…
svitja Jun 4, 2018
840398a
ENGCOM-1803: [Forwardport] fix: support multiple minisearch widget in…
magento-engcom-team Jun 4, 2018
a8ef6ad
ENGCOM-1807: [Forwardport] Refactor javascript code of button split …
magento-engcom-team Jun 4, 2018
1a55c1a
Merge remote-tracking branch 'origin/2.3-develop' into MAGETWO-91807
svitja Jun 4, 2018
6bc77cb
art: Fix typo in method name
avoelkl May 25, 2018
c494d73
Revert ":pencil2: Fix typos in Multishipping and User module"
avoelkl May 25, 2018
6e2dea6
bug: Add phpdoc return type
avoelkl May 25, 2018
9850d9c
Remove unneeded white space
dmanners May 25, 2018
365bfb4
hitesh-wagento May 23, 2018
7924b0b
ENGCOM-1810: [Forwardport] Resolved : UI Component listing action col…
magento-engcom-team Jun 4, 2018
f9a4abf
ENGCOM-1814: [Forwardport] Fix #13415 : Duplicated elements id #15705
magento-engcom-team Jun 4, 2018
4989af7
ENGCOM-1815: [Forwardport] fixed Submitting search form (mini) with e…
magento-engcom-team Jun 4, 2018
6711694
Refactor JavsScript for UrlRewrite module edit page
patelnimesh1988 May 22, 2018
868c077
Prevent multiple add-to-cart initializations in case of ajax loaded c…
vovayatsyuk May 21, 2018
3e21edd
Added language translation in template files
RahulKachhadia May 19, 2018
27c3e85
ENGCOM-1817: [Forwardport] Refactor JavsScript for UrlRewrite module …
magento-engcom-team Jun 4, 2018
10955cd
ENGCOM-1818: [Forwardport] Prevent multiple add-to-cart initializatio…
magento-engcom-team Jun 4, 2018
604618a
ENGCOM-1820: [Forwardport] Added language translation in template fil…
magento-engcom-team Jun 4, 2018
8128913
Refactor javscript for customer logout
patelnimesh1988 May 18, 2018
2922332
Fixed Invalid quote mark issue
patelnimesh1988 May 18, 2018
486f7a7
Error 500 in Module Manager
flancer64 May 15, 2018
1b5d1d1
Fixed according to review
May 21, 2018
037b97c
Move buttons definition to separate file
jissereitsma May 14, 2018
fdb70a0
Change relative path to absolute path for testability
jissereitsma May 14, 2018
c70ba5b
Add strict mode
jissereitsma May 14, 2018
a71b178
Fix missing comma
jissereitsma May 14, 2018
526911c
Make sure colons are in right place
jissereitsma May 15, 2018
4b27bd8
Fix missing column because of eslint
jissereitsma May 15, 2018
d61fbe7
ENGCOM-1821: [Forwardport] Move buttons definition to separate file #…
magento-engcom-team Jun 4, 2018
24e246d
ENGCOM-1822: [Forwardport] Refactor JavsScript for customer logout #1…
magento-engcom-team Jun 4, 2018
bcdd8f2
Function unnecessarily called multiple time
May 19, 2018
ecc5f7b
[Forwardport] [Resolved : Menu widget submenu alignment]
hitesh-wagento Jun 4, 2018
9fc35ee
ENGCOM-1823: [Forwardport] Function unnecessarily called multiple tim…
magento-engcom-team Jun 4, 2018
15180ed
ENGCOM-1824: [Forwardport] [Resolved : Menu widget submenu alignment]…
magento-engcom-team Jun 4, 2018
c2765a7
Update AbstractMultishipping.php
VladimirZaets Jun 4, 2018
c36fdc2
ENGCOM-1811: [Forwardport] Fix method name (typo) #15745
magento-engcom-team Jun 4, 2018
402d565
MAGETWO-91958: EE install fails on 7.2.5 with fatal error
rganin May 21, 2018
d9548f8
merge magento/2.3-develop into magento-earl-grey/MAGETWO-91958
Jun 4, 2018
8acafcf
ENGCOM-1824: [Forwardport] [Resolved : Menu widget submenu alignment]…
VladimirZaets Jun 4, 2018
a66e2c5
ENGCOM-1823: [Forwardport] Function unnecessarily called multiple tim…
VladimirZaets Jun 4, 2018
a4c2f2e
ENGCOM-1822: [Forwardport] Refactor JavsScript for customer logout #1…
VladimirZaets Jun 4, 2018
6e34dc4
ENGCOM-1821: [Forwardport] Move buttons definition to separate file #…
VladimirZaets Jun 4, 2018
d9d34f0
ENGCOM-1820: [Forwardport] Added language translation in template fil…
VladimirZaets Jun 4, 2018
7ba1dd2
ENGCOM-1817: [Forwardport] Refactor JavsScript for UrlRewrite module …
VladimirZaets Jun 4, 2018
49a6ced
ENGCOM-1815: [Forwardport] fixed Submitting search form (mini) with e…
VladimirZaets Jun 4, 2018
b7d7a06
ENGCOM-1814: [Forwardport] Fix #13415 : Duplicated elements id #15705
VladimirZaets Jun 4, 2018
3530214
ENGCOM-1807: [Forwardport] Refactor javascript code of button split …
VladimirZaets Jun 4, 2018
bad90b4
ENGCOM-1803: [Forwardport] fix: support multiple minisearch widget in…
VladimirZaets Jun 4, 2018
424948c
ENGCOM-1801: Fixed return type of wishlist's getImageData in DocBlock…
VladimirZaets Jun 4, 2018
c665b89
ENGCOM-1793: [Forwardport] [Resolved : Menu widget submenu alignment …
VladimirZaets Jun 4, 2018
a3cc95e
ENGCOM-1791: [Forwardport] Typo correction #15707
VladimirZaets Jun 4, 2018
4c7a33d
ENGCOM-1790: [Forwardport] Use stored value of method instead of call…
VladimirZaets Jun 4, 2018
55395a6
ENGCOM-1789: [Forwardport] Remove extra space and format the code in …
VladimirZaets Jun 4, 2018
6ffb562
ENGCOM-1787: [Forwardport] Fix HTML syntax in report.phtml error temp…
VladimirZaets Jun 4, 2018
da8b1c2
ENGCOM-1773: [Forwardport] Wrong invoice prefix in multistore setup d…
VladimirZaets Jun 4, 2018
bf2e3c5
ENGCOM-1827: [Forwardport] Docblock typo fixes #15572
magento-engcom-team Jun 4, 2018
a4e9c9b
ENGCOM-1829: Fixes in catalog component blocks [2.3-develop] #15558
magento-engcom-team Jun 4, 2018
52b3100
Merge remote-tracking branch 'origin/2.3-develop' into MAGETWO-89991
ameysar Jun 4, 2018
66abad2
Merge pull request #2638 from magento-earl-grey/MAGETWO-91958
cpartica Jun 4, 2018
eaf8caa
MAGETWO-91434: Default option for Status attribute not being set
dthampy Jun 4, 2018
3409fba
[EngCom] Public Pull Requests - 2.3-develop
magento-engcom-team Jun 4, 2018
9fa6425
hitesh-wagento Jun 4, 2018
27e9d2f
fix: support multiple minisearch widget instances
May 17, 2018
9e03568
ENGCOM-1845: [Forwardport] fix: support multiple minisearch widget in…
magento-engcom-team Jun 5, 2018
c825e04
ENGCOM-1851: [Forwardport] [Resolved : Styling <select> by changing l…
magento-engcom-team Jun 5, 2018
0ad656d
:arrows_clockwise: [EngCom] Public Pull Requests - 2.3-develop
Jun 5, 2018
f3066c6
ENGCOM-1857: [Forwardport] Error 500 in Module Manager #15755
magento-engcom-team Jun 5, 2018
279655a
MAGETWO-90787: Swagger does not render correctly for many POST/PUT op…
zakdma Jun 5, 2018
8770b41
Merge remote-tracking branch 'origin/MAGETWO-89407' into 2.3-develop-…
zakdma Jun 5, 2018
3c60f87
Merge remote-tracking branch 'origin/MAGETWO-89991' into 2.3-develop-…
zakdma Jun 5, 2018
43b3714
Merge remote-tracking branch 'origin/MAGETWO-90762' into 2.3-develop-…
zakdma Jun 5, 2018
d128d03
Merge remote-tracking branch 'origin/MAGETWO-90787' into 2.3-develop-…
zakdma Jun 5, 2018
009ddf5
Merge remote-tracking branch 'origin/MAGETWO-91104' into 2.3-develop-…
zakdma Jun 5, 2018
1825c06
Merge remote-tracking branch 'origin/MAGETWO-91807' into 2.3-develop-…
zakdma Jun 5, 2018
a393505
Merge remote-tracking branch 'origin/MAGETWO-92134' into 2.3-develop-…
zakdma Jun 5, 2018
78e0d13
Merge remote-tracking branch 'origin/MAGETWO-66217' into 2.3-develop-…
zakdma Jun 5, 2018
745d99d
Merge remote-tracking branch 'origin/MAGETWO-90349' into 2.3-develop-…
zakdma Jun 5, 2018
71bfdc6
Merge remote-tracking branch 'origin/MAGETWO-64173' into 2.3-develop-…
zakdma Jun 5, 2018
843fa11
ENGCOM-1689: fix for Wrong price amount on product page #11717 #15540
magento-engcom-team Jun 5, 2018
110ee75
Format the javascript code
yogeshsuhagiya May 3, 2018
3994790
Refactor JS code and added JS component file
yogeshsuhagiya May 4, 2018
8281b38
Fixed issue of line feed at end of the file
yogeshsuhagiya May 4, 2018
e7dc28f
ENGCOM-1871: [Forwardport] Format the javascript code #10 #15833
magento-engcom-team Jun 5, 2018
e46e5a5
check if order data is available to incl ec
torhoehn Jun 4, 2018
c77d3cb
ENGCOM-1872: [Up-port] check if order data is available to incl ec #1…
magento-engcom-team Jun 5, 2018
4bb4155
ENGCOM-1873: Fixed a couple of typos #15695
magento-engcom-team Jun 5, 2018
644aabc
MAGETWO-91434: Default option for Status attribute not being set
dthampy Jun 5, 2018
ea8c241
Fixed return type hinting in DocBlocks
rogyar Jun 5, 2018
addd4af
merge magento/2.3-develop into magento-arcticfoxes/MAGETWO-91434
Jun 5, 2018
539039c
ENGCOM-1877: Fixed return type hinting in DocBlocks for Wishlist modu…
magento-engcom-team Jun 5, 2018
5aaf95b
merge magento/2.3-develop into magento-honey-badgers/MAGETWO-91436-Cu…
Jun 5, 2018
43533f9
Update webapi.xml to fix typo
mhaack Jun 5, 2018
6110fdd
Merge pull request #2649 from magento-arcticfoxes/MAGETWO-91434
cpartica Jun 5, 2018
2136fca
Merge remote-tracking branch 'mainline/2.3-develop' into MAGETWO-9143…
cpartica Jun 5, 2018
92392b5
MAGETWO-91436: Custom Options are corruputed when saving product to a…
cpartica Jun 5, 2018
5565a24
Merge pull request #2650 from magento-honey-badgers/MAGETWO-91436-Cus…
cpartica Jun 6, 2018
e6e0868
Merge remote-tracking branch 'origin/2.3-develop' into 2.3-develop-pr21
zakdma Jun 6, 2018
d35b544
ENGCOM-1890: [Forwardport] Update webapi.xml to fix typo #15867
magento-engcom-team Jun 6, 2018
2e6669e
ENGCOM-1877: Fixed return type hinting in DocBlocks for Wishlist modu…
Jun 6, 2018
bd29d28
ENGCOM-1873: Fixed a couple of typos #15695
Jun 6, 2018
c5f9fb4
ENGCOM-1871: [Forwardport] Format the javascript code #10 #15833
Jun 6, 2018
7291e70
ENGCOM-1857: [Forwardport] Error 500 in Module Manager #15755
Jun 6, 2018
bf5f004
ENGCOM-1851: [Forwardport] [Resolved : Styling <select> by changing l…
Jun 6, 2018
cfa7196
ENGCOM-1845: [Forwardport] fix: support multiple minisearch widget in…
Jun 6, 2018
27807fd
ENGCOM-1829: Fixes in catalog component blocks [2.3-develop] #15558
Jun 6, 2018
65d27f5
ENGCOM-1827: [Forwardport] Docblock typo fixes #15572
Jun 6, 2018
50ff419
ENGCOM-1818: [Forwardport] Prevent multiple add-to-cart initializatio…
Jun 6, 2018
c5f43cf
ENGCOM-1811: [Forwardport] Fix method name (typo) #15745
Jun 6, 2018
b821f30
ENGCOM-1810: [Forwardport] Resolved : UI Component listing action col…
Jun 6, 2018
eabf3cb
ENGCOM-1783: Fix minor issues in ui export converter classes #15692
Jun 6, 2018
7e1b294
ENGCOM-1782: [Forwardport] Fixes in config module #15649
Jun 6, 2018
d3cf6ff
ENGCOM-1689: fix for Wrong price amount on product page #11717 #15540
Jun 6, 2018
8f9f374
ENGCOM-1810: [Forwardport] Resolved : UI Component listing action col…
Jun 6, 2018
c62d922
:arrows_clockwise: [EngCom] Public Pull Requests - 2.3-develop
Jun 6, 2018
0687df0
Merge remote-tracking branch 'origin/2.3-develop' into 2.3-develop-pr21
zakdma Jun 6, 2018
23d76ed
Adjust the cache key for product price box renderer in order to fix t…
dmytro-ch Jun 6, 2018
d3a849c
Merge pull request #2656 from magento-tsg/2.3-develop-pr21
Jun 6, 2018
fdaf7cb
Remove double semicolon from the style sheets.
sanganinamrata Jun 5, 2018
3782793
Fixed set template syntax issue
sanganinamrata Jun 5, 2018
4d03776
chore: remove unused less import
DanielRuf Jun 5, 2018
4d611ba
ENGCOM-1901: [Forwardport] chore: remove unused less import #15921
magento-engcom-team Jun 7, 2018
56fc476
ENGCOM-1912: [Forwardport] Fixed set template syntax issue #15912
magento-engcom-team Jun 7, 2018
52c4e2b
ENGCOM-1913: [Forwardport] Remove double semicolon from the style she…
magento-engcom-team Jun 7, 2018
5d9e6ea
ENGCOM-1914: [Forwardport] Complete the fix for cache issue due to th…
magento-engcom-team Jun 7, 2018
7618a9a
ENGCOM-1914: [Forwardport] Complete the fix for cache issue due to th…
Jun 7, 2018
fba5580
ENGCOM-1913: [Forwardport] Remove double semicolon from the style she…
Jun 7, 2018
c95e087
ENGCOM-1912: [Forwardport] Fixed set template syntax issue #15912
Jun 7, 2018
a3762f9
ENGCOM-1901: [Forwardport] chore: remove unused less import #15921
Jun 7, 2018
d6d758f
ENGCOM-1890: [Forwardport] Update webapi.xml to fix typo #15867
Jun 7, 2018
1b51d5c
ENGCOM-1872: [Up-port] check if order data is available to incl ec #1…
Jun 7, 2018
4688217
:arrows_clockwise: [EngCom] Public Pull Requests - 2.3-develop
magento-engcom-team Jun 7, 2018
d5bb4d0
#15588
StevenGuapaBV Jun 2, 2018
6ab9c55
#15588 Refactor for code neatness Travis CI.
StevenGuapaBV Jun 2, 2018
972b93c
Update for Codacy removed whitespace
StevenGuapaBV Jun 3, 2018
9d256d9
#15588 Fixed incorrect image urls sitemap
StevenGuapaBV Jun 3, 2018
b24905c
#15588 Fixed incorrect image urls in multistore xml sitemap
StevenGuapaBV Jun 6, 2018
b4ff77e
magento/magento2#15588: Remove extra line from if
dmanners Jun 6, 2018
e30a440
magento/magenot2#15588: add dependency in a backwards compatible way
dmanners Jun 6, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 57 additions & 18 deletions app/code/Magento/Authorizenet/Model/Directpost.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
*/
namespace Magento\Authorizenet\Model;

use Magento\Framework\HTTP\ZendClientFactory;
use Magento\Framework\App\ObjectManager;
use Magento\Payment\Model\Method\ConfigInterface;
use Magento\Payment\Model\Method\TransparentInterface;
use Magento\Sales\Model\Order\Email\Sender\OrderSender;

/**
* Authorize.net DirectPost payment method model.
Expand Down Expand Up @@ -102,7 +101,7 @@ class Directpost extends \Magento\Authorizenet\Model\Authorizenet implements Tra
protected $response;

/**
* @var OrderSender
* @var \Magento\Sales\Model\Order\Email\Sender\OrderSender
*/
protected $orderSender;

Expand All @@ -123,6 +122,16 @@ class Directpost extends \Magento\Authorizenet\Model\Authorizenet implements Tra
*/
private $psrLogger;

/**
* @var \Magento\Sales\Api\PaymentFailuresInterface
*/
private $paymentFailures;

/**
* @var \Magento\Sales\Model\Order
*/
private $order;

/**
* @param \Magento\Framework\Model\Context $context
* @param \Magento\Framework\Registry $registry
Expand All @@ -134,18 +143,19 @@ class Directpost extends \Magento\Authorizenet\Model\Authorizenet implements Tra
* @param \Magento\Framework\Module\ModuleListInterface $moduleList
* @param \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate
* @param \Magento\Authorizenet\Helper\Data $dataHelper
* @param Directpost\Request\Factory $requestFactory
* @param Directpost\Response\Factory $responseFactory
* @param \Magento\Authorizenet\Model\Directpost\Request\Factory $requestFactory
* @param \Magento\Authorizenet\Model\Directpost\Response\Factory $responseFactory
* @param \Magento\Authorizenet\Model\TransactionService $transactionService
* @param \Magento\Framework\HTTP\ZendClientFactory $httpClientFactory
* @param \Magento\Sales\Model\OrderFactory $orderFactory
* @param \Magento\Store\Model\StoreManagerInterface $storeManager
* @param \Magento\Quote\Api\CartRepositoryInterface $quoteRepository
* @param OrderSender $orderSender
* @param \Magento\Sales\Model\Order\Email\Sender\OrderSender $orderSender
* @param \Magento\Sales\Api\TransactionRepositoryInterface $transactionRepository
* @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource
* @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection
* @param array $data
* @param \Magento\Sales\Api\PaymentFailuresInterface|null $paymentFailures
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
*/
public function __construct(
Expand All @@ -161,16 +171,17 @@ public function __construct(
\Magento\Authorizenet\Helper\Data $dataHelper,
\Magento\Authorizenet\Model\Directpost\Request\Factory $requestFactory,
\Magento\Authorizenet\Model\Directpost\Response\Factory $responseFactory,
TransactionService $transactionService,
ZendClientFactory $httpClientFactory,
\Magento\Authorizenet\Model\TransactionService $transactionService,
\Magento\Framework\HTTP\ZendClientFactory $httpClientFactory,
\Magento\Sales\Model\OrderFactory $orderFactory,
\Magento\Store\Model\StoreManagerInterface $storeManager,
\Magento\Quote\Api\CartRepositoryInterface $quoteRepository,
\Magento\Sales\Model\Order\Email\Sender\OrderSender $orderSender,
\Magento\Sales\Api\TransactionRepositoryInterface $transactionRepository,
\Magento\Framework\Model\ResourceModel\AbstractResource $resource = null,
\Magento\Framework\Data\Collection\AbstractDb $resourceCollection = null,
array $data = []
array $data = [],
\Magento\Sales\Api\PaymentFailuresInterface $paymentFailures = null
) {
$this->orderFactory = $orderFactory;
$this->storeManager = $storeManager;
Expand All @@ -179,6 +190,8 @@ public function __construct(
$this->orderSender = $orderSender;
$this->transactionRepository = $transactionRepository;
$this->_code = static::METHOD_CODE;
$this->paymentFailures = $paymentFailures ? : ObjectManager::getInstance()
->get(\Magento\Sales\Api\PaymentFailuresInterface::class);

parent::__construct(
$context,
Expand Down Expand Up @@ -561,13 +574,10 @@ public function process(array $responseData)
$this->validateResponse();

$response = $this->getResponse();
//operate with order
$orderIncrementId = $response->getXInvoiceNum();
$responseText = $this->dataHelper->wrapGatewayError($response->getXResponseReasonText());
$isError = false;
if ($orderIncrementId) {
/* @var $order \Magento\Sales\Model\Order */
$order = $this->orderFactory->create()->loadByIncrementId($orderIncrementId);
if ($this->getOrderIncrementId()) {
$order = $this->getOrderFromResponse();
//check payment method
$payment = $order->getPayment();
if (!$payment || $payment->getMethod() != $this->getCode()) {
Expand Down Expand Up @@ -632,9 +642,10 @@ public function checkResponseCode()
return true;
case self::RESPONSE_CODE_DECLINED:
case self::RESPONSE_CODE_ERROR:
throw new \Magento\Framework\Exception\LocalizedException(
$this->dataHelper->wrapGatewayError($this->getResponse()->getXResponseReasonText())
);
$errorMessage = $this->dataHelper->wrapGatewayError($this->getResponse()->getXResponseReasonText());
$order = $this->getOrderFromResponse();
$this->paymentFailures->handle((int)$order->getQuoteId(), $errorMessage);
throw new \Magento\Framework\Exception\LocalizedException($errorMessage);
default:
throw new \Magento\Framework\Exception\LocalizedException(
__('There was a payment authorization error.')
Expand Down Expand Up @@ -988,12 +999,40 @@ protected function getTransactionResponse($transactionId)
private function getPsrLogger()
{
if (null === $this->psrLogger) {
$this->psrLogger = \Magento\Framework\App\ObjectManager::getInstance()
$this->psrLogger = ObjectManager::getInstance()
->get(\Psr\Log\LoggerInterface::class);
}
return $this->psrLogger;
}

/**
* Fetch order by increment id from response.
*
* @return \Magento\Sales\Model\Order
*/
private function getOrderFromResponse(): \Magento\Sales\Model\Order
{
if (!$this->order) {
$this->order = $this->orderFactory->create();

if ($incrementId = $this->getOrderIncrementId()) {
$this->order = $this->order->loadByIncrementId($incrementId);
}
}

return $this->order;
}

/**
* Fetch order increment id from response.
*
* @return string
*/
private function getOrderIncrementId(): string
{
return $this->getResponse()->getXInvoiceNum();
}

/**
* Checks if filter action is Report Only. Transactions that trigger this filter are processed as normal,
* but are also reported in the Merchant Interface as triggering this filter.
Expand Down
51 changes: 44 additions & 7 deletions app/code/Magento/Authorizenet/Test/Unit/Model/DirectpostTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/
namespace Magento\Authorizenet\Test\Unit\Model;

use Magento\Sales\Api\PaymentFailuresInterface;
use Magento\Framework\Simplexml\Element;
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager as ObjectManagerHelper;
use Magento\Authorizenet\Model\Directpost;
Expand Down Expand Up @@ -74,6 +75,14 @@ class DirectpostTest extends \PHPUnit\Framework\TestCase
*/
protected $requestFactory;

/**
* @var PaymentFailuresInterface|\PHPUnit_Framework_MockObject_MockObject
*/
private $paymentFailures;

/**
* @inheritdoc
*/
protected function setUp()
{
$this->scopeConfigMock = $this->getMockBuilder(\Magento\Framework\App\Config\ScopeConfigInterface::class)
Expand Down Expand Up @@ -104,6 +113,12 @@ protected function setUp()
->setMethods(['getTransactionDetails'])
->getMock();

$this->paymentFailures = $this->getMockBuilder(
PaymentFailuresInterface::class
)
->disableOriginalConstructor()
->getMock();

$this->requestFactory = $this->getRequestFactoryMock();
$httpClientFactoryMock = $this->getHttpClientFactoryMock();

Expand All @@ -117,7 +132,8 @@ protected function setUp()
'responseFactory' => $this->responseFactoryMock,
'transactionRepository' => $this->transactionRepositoryMock,
'transactionService' => $this->transactionServiceMock,
'httpClientFactory' => $httpClientFactoryMock
'httpClientFactory' => $httpClientFactoryMock,
'paymentFailures' => $this->paymentFailures,
]
);
}
Expand Down Expand Up @@ -313,12 +329,16 @@ public function checkResponseCodeSuccessDataProvider()
}

/**
* @param bool $responseCode
* Checks response failures behaviour.
*
* @param int $responseCode
* @param int $failuresHandlerCalls
* @return void
*
* @expectedException \Magento\Framework\Exception\LocalizedException
* @dataProvider checkResponseCodeFailureDataProvider
*/
public function testCheckResponseCodeFailure($responseCode)
public function testCheckResponseCodeFailure(int $responseCode, int $failuresHandlerCalls): void
{
$reasonText = 'reason text';

Expand All @@ -333,18 +353,35 @@ public function testCheckResponseCodeFailure($responseCode)
->with($reasonText)
->willReturn(__('Gateway error: %1', $reasonText));

$orderMock = $this->getMockBuilder(Order::class)
->disableOriginalConstructor()
->getMock();

$orderMock->expects($this->exactly($failuresHandlerCalls))
->method('getQuoteId')
->willReturn(1);

$this->paymentFailures->expects($this->exactly($failuresHandlerCalls))
->method('handle')
->with(1);

$reflection = new \ReflectionClass($this->directpost);
$order = $reflection->getProperty('order');
$order->setAccessible(true);
$order->setValue($this->directpost, $orderMock);

$this->directpost->checkResponseCode();
}

/**
* @return array
*/
public function checkResponseCodeFailureDataProvider()
public function checkResponseCodeFailureDataProvider(): array
{
return [
['responseCode' => Directpost::RESPONSE_CODE_DECLINED],
['responseCode' => Directpost::RESPONSE_CODE_ERROR],
['responseCode' => 999999]
['responseCode' => Directpost::RESPONSE_CODE_DECLINED, 1],
['responseCode' => Directpost::RESPONSE_CODE_ERROR, 1],
['responseCode' => 999999, 0],
];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
<?php endif; ?>
</div>

<script>
require(['jquery'], function($){
$('.actions-split')
.on('click.splitDefault', '.action-default', function() {
$(this).siblings('.dropdown-menu').find('.item-default').trigger('click');
});
});
<script type="text/x-magento-init">
{
".actions-split": {
"Magento_Ui/js/grid/controls/button/split": {}
}
}
</script>

2 changes: 1 addition & 1 deletion app/code/Magento/Braintree/Model/AvsEmsCodeMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class AvsEmsCodeMapper implements PaymentVerificationInterface
*
* @var string
*/
private static $unavailableCode = 'U';
private static $unavailableCode = '';

/**
* List of mapping AVS codes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ public function testGetCodeWithException()
public function getCodeDataProvider()
{
return [
['avsZip' => null, 'avsStreet' => null, 'expected' => 'U'],
['avsZip' => null, 'avsStreet' => 'M', 'expected' => 'U'],
['avsZip' => 'M', 'avsStreet' => null, 'expected' => 'U'],
['avsZip' => 'M', 'avsStreet' => 'Unknown', 'expected' => 'U'],
['avsZip' => 'I', 'avsStreet' => 'A', 'expected' => 'U'],
['avsZip' => null, 'avsStreet' => null, 'expected' => ''],
['avsZip' => null, 'avsStreet' => 'M', 'expected' => ''],
['avsZip' => 'M', 'avsStreet' => null, 'expected' => ''],
['avsZip' => 'M', 'avsStreet' => 'Unknown', 'expected' => ''],
['avsZip' => 'I', 'avsStreet' => 'A', 'expected' => ''],
['avsZip' => 'M', 'avsStreet' => 'M', 'expected' => 'Y'],
['avsZip' => 'N', 'avsStreet' => 'M', 'expected' => 'A'],
['avsZip' => 'M', 'avsStreet' => 'N', 'expected' => 'Z'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ $ccType = $block->getInfoData('cc_type');
name="payment[is_active_payment_token_enabler]"
class="admin__control-checkbox"/>
<label class="label" for="<?= /* @noEscape */ $code ?>_vault">
<span><?= $block->escapeHtml('Save for later use.') ?></span>
<span><?= $block->escapeHtml(__('Save for later use.')) ?></span>
</label>
</div>
<?php endif; ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Checkbox extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Op
/**
* @var string
*/
protected $_template = 'product/composite/fieldset/options/type/checkbox.phtml';
protected $_template = 'Magento_Bundle::product/composite/fieldset/options/type/checkbox.phtml';

/**
* @param string $elementId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Multi extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Optio
/**
* @var string
*/
protected $_template = 'product/composite/fieldset/options/type/multi.phtml';
protected $_template = 'Magento_Bundle::product/composite/fieldset/options/type/multi.phtml';

/**
* @param string $elementId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Radio extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Optio
/**
* @var string
*/
protected $_template = 'product/composite/fieldset/options/type/radio.phtml';
protected $_template = 'Magento_Bundle::product/composite/fieldset/options/type/radio.phtml';

/**
* @param string $elementId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Select extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Opti
/**
* @var string
*/
protected $_template = 'product/composite/fieldset/options/type/select.phtml';
protected $_template = 'Magento_Bundle::product/composite/fieldset/options/type/select.phtml';

/**
* @param string $elementId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Bundle extends \Magento\Backend\Block\Widget implements \Magento\Backend\B
/**
* @var string
*/
protected $_template = 'product/edit/bundle.phtml';
protected $_template = 'Magento_Bundle::product/edit/bundle.phtml';

/**
* Core registry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Option extends \Magento\Backend\Block\Widget
/**
* @var string
*/
protected $_template = 'product/edit/bundle/option.phtml';
protected $_template = 'Magento_Bundle::product/edit/bundle/option.phtml';

/**
* Core registry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Search extends \Magento\Backend\Block\Widget
/**
* @var string
*/
protected $_template = 'product/edit/bundle/option/search.phtml';
protected $_template = 'Magento_Bundle::product/edit/bundle/option/search.phtml';

/**
* @return void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Selection extends \Magento\Backend\Block\Widget
/**
* @var string
*/
protected $_template = 'product/edit/bundle/option/selection.phtml';
protected $_template = 'Magento_Bundle::product/edit/bundle/option/selection.phtml';

/**
* Catalog data
Expand Down
Loading