Initial commit

This commit is contained in:
2021-03-23 13:54:38 +01:00
commit 82b142ff95
16941 changed files with 2617212 additions and 0 deletions

View File

@@ -0,0 +1 @@
{"CMCIC_TPE":"0907411","CMCIC_KEY":"03448F4A7AFD0ABBFB97C0283D9A166CEDFA6591","CMCIC_CODESOCIETE":"apartmomen","CMCIC_VERSION":"3.0","CMCIC_SERVER":"https:\/\/p.monetico-services.com\/","CMCIC_PAGE":"paiement.cgi"}

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8" ?>
<config xmlns="http://thelia.net/schema/dic/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://thelia.net/schema/dic/config http://thelia.net/schema/dic/config/thelia-1.0.xsd">
<loops>
<loop name="cmcic.check.rights" class="CmCIC\Loop\CheckRightsLoop" />
</loops>
<forms>
<form name="cmcic.configure" class="CmCIC\Form\ConfigureCmCIC"/>
</forms>
<services>
<service id="cmcic.confirmation.email" class="CmCIC\EventListeners\SendConfirmationEmail">
<argument type="service" id="mailer"/>
<argument type="service" id="event_dispatcher"/>
<tag name="kernel.event_subscriber"/>
</service>
</services>
<hooks>
<hook id="cmcic.back.hook" class="CmCIC\Hook\HookManager">
<tag name="hook.event_listener" event="module.configuration" type="back" method="onModuleConfigure" />
</hook>
</hooks>
</config>

View File

@@ -0,0 +1,33 @@
<module xmlns="http://thelia.net/schema/dic/module"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://thelia.net/schema/dic/module http://thelia.net/schema/dic/module/module-2_2.xsd">
<fullnamespace>CmCIC\CmCIC</fullnamespace>
<descriptive locale="en_US">
<title>Pay with credit card using CmCIC</title>
<subtitle>A payment module for Crédit Mutuel, CIC, Neuflize OBC and Monetico</subtitle>
</descriptive>
<descriptive locale="fr_FR">
<title>Paiement en carte bancaire avec CmCIC</title>
<subtitle>Un module de paiement pour le Crédit Mutuel, le CIC, Neuflize OBC et Monetico</subtitle>
</descriptive>
<languages>
<language>fr_FR</language>
<language>en_US</language>
</languages>
<version>1.4.0</version>
<authors>
<author>
<name>Thelia</name>
<email>info@thelia.net</email>
</author>
<author>
<name>Franck Allimant</name>
<company>CQFDev</company>
<email>franck@cqfdev.fr</email>
<website>www.cqfdev.fr</website>
</author>
</authors>
<type>payment</type>
<thelia>2.2.0</thelia>
<stability>prod</stability>
</module>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
<route id="cmcic.payfail" path="/cmcic/payfail/{order_id}" methods="get">
<default key="_controller">CmCIC\Controller\CmcicPayResponse::payfail</default>
<requirement key="order_id">\d+</requirement>
</route>
<route id="cmcic.payfail.with.message" path="/cmcic/payfail/{order_id}/{message}" methods="get">
<default key="_controller">CmCIC\Controller\CmcicPayResponse::payfail</default>
<requirement key="order_id">\d+</requirement>
</route>
<route id="cmcic.receive" path="/cmcic/validation" methods="post">
<default key="_controller">CmCIC\Controller\CmcicPayResponse::receiveResponse</default>
</route>
<route id="cmcic.saveconfig" path="/admin/module/cmcic/saveconfig" methods="post">
<default key="_controller">CmCIC\Controller\CmcicSaveConfig::save</default>
</route>
<route id="cmcic.download.log" path="/admin/module/cmcic/log">
<default key="_controller">CmCIC\Controller\CmcicSaveConfig::downloadLog</default>
</route>
</routes>