Skip to content

Commit

Permalink
Merge pull request #40 from manhndbss/master
Browse files Browse the repository at this point in the history
Set a payment group, name group for the module
  • Loading branch information
CodemakersDK authored Sep 27, 2023
2 parents cd7ba51 + 74c647f commit 93fd757
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
11 changes: 11 additions & 0 deletions etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<can_void>1</can_void>
<can_cancel>1</can_cancel>
<can_refund>1</can_refund>
<group>quickpay</group>
<apikey backend_model="Magento\Config\Model\Config\Backend\Encrypted" />
<private_key backend_model="Magento\Config\Model\Config\Backend\Encrypted" />
<mobilepay>
Expand Down Expand Up @@ -61,6 +62,7 @@
<can_void>1</can_void>
<can_cancel>1</can_cancel>
<can_refund>1</can_refund>
<group>quickpay</group>
</quickpay_klarna>
<quickpay_mobilepay>
<model>QuickPay\Gateway\Model\MobilePay</model>
Expand All @@ -79,6 +81,7 @@
<can_void>1</can_void>
<can_cancel>1</can_cancel>
<can_refund>1</can_refund>
<group>quickpay</group>
</quickpay_mobilepay>
<quickpay_vipps>
<model>QuickPay\Gateway\Model\Vipps</model>
Expand All @@ -96,6 +99,7 @@
<can_void>1</can_void>
<can_cancel>1</can_cancel>
<can_refund>1</can_refund>
<group>quickpay</group>
</quickpay_vipps>
<quickpay_paypal>
<model>QuickPay\Gateway\Model\PayPal</model>
Expand All @@ -113,6 +117,7 @@
<can_void>1</can_void>
<can_cancel>1</can_cancel>
<can_refund>1</can_refund>
<group>quickpay</group>
</quickpay_paypal>
<quickpay_viabill>
<model>QuickPay\Gateway\Model\ViaBill</model>
Expand All @@ -130,6 +135,7 @@
<can_void>1</can_void>
<can_cancel>1</can_cancel>
<can_refund>1</can_refund>
<group>quickpay</group>
</quickpay_viabill>
<quickpay_swish>
<model>QuickPay\Gateway\Model\Swish</model>
Expand All @@ -147,6 +153,7 @@
<can_void>1</can_void>
<can_cancel>1</can_cancel>
<can_refund>1</can_refund>
<group>quickpay</group>
</quickpay_swish>
<quickpay_trustly>
<model>QuickPay\Gateway\Model\Trustly</model>
Expand All @@ -165,6 +172,7 @@
<can_void>1</can_void>
<can_cancel>1</can_cancel>
<can_refund>1</can_refund>
<group>quickpay</group>
</quickpay_trustly>
<quickpay_anyday>
<model>QuickPay\Gateway\Model\Anyday</model>
Expand All @@ -182,6 +190,7 @@
<can_void>1</can_void>
<can_cancel>1</can_cancel>
<can_refund>1</can_refund>
<group>quickpay</group>
</quickpay_anyday>
<quickpay_applepay>
<model>QuickPay\Gateway\Model\ApplePay</model>
Expand All @@ -200,6 +209,7 @@
<can_void>1</can_void>
<can_cancel>1</can_cancel>
<can_refund>1</can_refund>
<group>quickpay</group>
</quickpay_applepay>
<quickpay_googlepay>
<model>QuickPay\Gateway\Model\GooglePay</model>
Expand All @@ -218,6 +228,7 @@
<can_void>1</can_void>
<can_cancel>1</can_cancel>
<can_refund>1</can_refund>
<group>quickpay</group>
</quickpay_googlepay>
</payment>
<carriers>
Expand Down
8 changes: 8 additions & 0 deletions etc/payment.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<payment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Payment:etc/payment.xsd">
<groups>
<group id="quickpay">
<label>Quickpay Paypal</label>
</group>
</groups>
</payment>

0 comments on commit 93fd757

Please sign in to comment.