Skip to content

Commit

Permalink
Do not remove Oxipay payment option when outside of AU or NZ.
Browse files Browse the repository at this point in the history
Addresses feedback on issue #8
  • Loading branch information
iugo-josh committed Mar 23, 2017
1 parent 81130f1 commit 74381c6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions Oxipay/OxipayPaymentGateway/etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@
<label>Debug</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
<field id="allowspecific" translate="label" type="hidden" sortOrder="86" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1">
<label>Payment from Applicable Countries</label>
<frontend_model>Oxipay\OxipayPaymentGateway\Block\System\Config\Form\Field\Hidden</frontend_model>
<source_model>Magento\Payment\Model\Config\Source\Allspecificcountries</source_model>
</field>
<field id="specificcountry" translate="label" type="multiselect" sortOrder="90" showInDefault="1" showInWebsite="1" showInStore="0">
<label>Payment from Specific Countries</label>
<source_model>Oxipay\OxipayPaymentGateway\Model\Config\Source\RestrictedCountry</source_model>
Expand Down
1 change: 0 additions & 1 deletion Oxipay/OxipayPaymentGateway/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<description>Pay the easier way</description>
<api_key backend_model="Magento\Config\Model\Config\Backend\Encrypted" />
<gateway_url>https://secure.oxipay.com.au/Checkout?platform=default</gateway_url>
<allowspecific>1</allowspecific>
<specificcountry>AU,NZ</specificcountry>
<group>oxipay</group>
</oxipay_gateway>
Expand Down

0 comments on commit 74381c6

Please sign in to comment.