Skip to content

Commit dff53d4

Browse files
1.3.5
1 parent 26e68b3 commit dff53d4

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mage2pro/moip"
3-
,"version": "1.3.4"
3+
,"version": "1.3.5"
44
,"description": "Moip integration with Magento 2"
55
,"type": "magento2-module"
66
,"homepage": "https://mage2.pro/c/extensions/moip"

view/frontend/requirejs-config.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
var config = {config: {mixins: {
2+
/**
3+
* 2019-09-30
4+
* Without this mixin, even the standard Magento 2.3.2 checkout
5+
* does not show my payment methods on a first page load with an empty browser cache.
6+
* Previously, I thought that the problem is only reproducible with third-party checkout modules.
7+
* See my previous evidences of the issue:
8+
* 1) «How to fix the bug of Aheadworks OneStepCheckout not showing a payment module
9+
* on the frontend checkout screen?» https://mage2.pro/t/5616
10+
* 2) «Mageplaza One Step Checkout does not show Mage2.PRO payment methods on the frontend checkout screen»:
11+
* https://github.com/mage2pro/core/issues/78
12+
* 3) «Mageplaza One Step Checkout does not show the Stripe module on the frontend checkout screen»:
13+
* https://github.com/mage2pro/stripe/issues/65
14+
* 4) «Make the Vantiv payment module compatible with a custom checkout module»:
15+
* https://github.com/mage2pro/vantiv/issues/3
16+
* 5) «Mageplaza One Step Checkout does not show the Dragonpay payment option to anonymous visitors
17+
* on the frontend checkout screen's initial load»:
18+
* https://github.com/mage2pro/dragonpay/issues/5
19+
*/
20+
'Magento_Checkout/js/view/payment/list': {'Dfe_Moip/payment-list': true}
21+
}}};

view/frontend/web/payment-list.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/**
2+
* 2019-09-30
3+
* Without this mixin, even the standard Magento 2.3.2 checkout
4+
* does not show my payment methods on a first page load with an empty browser cache.
5+
* Previously, I thought that the problem is only reproducible with third-party checkout modules.
6+
* See my previous evidences of the issue:
7+
* 1) «How to fix the bug of Aheadworks OneStepCheckout not showing a payment module
8+
* on the frontend checkout screen?» https://mage2.pro/t/5616
9+
* 2) «Mageplaza One Step Checkout does not show Mage2.PRO payment methods on the frontend checkout screen»:
10+
* https://github.com/mage2pro/core/issues/78
11+
* 3) «Mageplaza One Step Checkout does not show the Stripe module on the frontend checkout screen»:
12+
* https://github.com/mage2pro/stripe/issues/65
13+
* 4) «Make the Vantiv payment module compatible with a custom checkout module»:
14+
* https://github.com/mage2pro/vantiv/issues/3
15+
* 5) «Mageplaza One Step Checkout does not show the Dragonpay payment option to anonymous visitors
16+
* on the frontend checkout screen's initial load»:
17+
* https://github.com/mage2pro/dragonpay/issues/5
18+
*/
19+
define(['Dfe_Moip/loader'], function() {return function(sb) {return sb;};});

0 commit comments

Comments
 (0)