Skip to content

Commit

Permalink
1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 29, 2019
1 parent af17abf commit 090dbd2
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/ginger-payments"
,"version": "1.3.3"
,"version": "1.3.4"
,"description": "Ginger Payments integration with Magento 2"
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/ginger-payments"
Expand Down
21 changes: 21 additions & 0 deletions view/frontend/requirejs-config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
var config = {config: {mixins: {
/**
* 2019-09-30
* Without this mixin, even the standard Magento 2.3.2 checkout
* does not show my payment methods on a first page load with an empty browser cache.
* Previously, I thought that the problem is only reproducible with third-party checkout modules.
* See my previous evidences of the issue:
* 1) «How to fix the bug of Aheadworks OneStepCheckout not showing a payment module
* on the frontend checkout screen?» https://mage2.pro/t/5616
* 2) «Mageplaza One Step Checkout does not show Mage2.PRO payment methods on the frontend checkout screen»:
* https://github.com/mage2pro/core/issues/78
* 3) «Mageplaza One Step Checkout does not show the Stripe module on the frontend checkout screen»:
* https://github.com/mage2pro/stripe/issues/65
* 4) «Make the Vantiv payment module compatible with a custom checkout module»:
* https://github.com/mage2pro/vantiv/issues/3
* 5) «Mageplaza One Step Checkout does not show the Dragonpay payment option to anonymous visitors
* on the frontend checkout screen's initial load»:
* https://github.com/mage2pro/dragonpay/issues/5
*/
'Magento_Checkout/js/view/payment/list': {'Dfe_GingerPayments/payment-list': true}
}}};
19 changes: 19 additions & 0 deletions view/frontend/web/payment-list.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* 2019-09-30
* Without this mixin, even the standard Magento 2.3.2 checkout
* does not show my payment methods on a first page load with an empty browser cache.
* Previously, I thought that the problem is only reproducible with third-party checkout modules.
* See my previous evidences of the issue:
* 1) «How to fix the bug of Aheadworks OneStepCheckout not showing a payment module
* on the frontend checkout screen?» https://mage2.pro/t/5616
* 2) «Mageplaza One Step Checkout does not show Mage2.PRO payment methods on the frontend checkout screen»:
* https://github.com/mage2pro/core/issues/78
* 3) «Mageplaza One Step Checkout does not show the Stripe module on the frontend checkout screen»:
* https://github.com/mage2pro/stripe/issues/65
* 4) «Make the Vantiv payment module compatible with a custom checkout module»:
* https://github.com/mage2pro/vantiv/issues/3
* 5) «Mageplaza One Step Checkout does not show the Dragonpay payment option to anonymous visitors
* on the frontend checkout screen's initial load»:
* https://github.com/mage2pro/dragonpay/issues/5
*/
define(['Dfe_GingerPayments/loader'], function() {return function(sb) {return sb;};});

0 comments on commit 090dbd2

Please sign in to comment.