-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
71 lines (47 loc) · 2.66 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# sfAtosPaymentPlugin
This plugin is now compatible doctrine and propel but if you use the latest
sf1.2 branches upgrade your model rename cols data to datas.
This plugin will help you to save the CB payments with the MERCANET system
known as SIPS, ATOS ... This is the most used systems for French Banks.
## Installation
[console]
symfony plugin:install sfAtosPaymentPlugin
Activate the modules :
* sfAtosPayment for the front for propel and doctrine
* sfAtosPaymentAdmin for the admin app for doctrine see after for propel
* sfAtosPaymentDemo for the front if you want to have a demo for propel and doctrine
Rebuild your database to load the table
Configure the app.yml
[yml]
all:
sfAtosPaymentPlugin:
debug: "no" # par defaut no
#currency_code: EUR # PAR defaut EUR coe de paiement par défaut si non surchargé dans le module
#merchant_country: fr # Par defaut fr sauf surcharge dans le code
binpath: "/home/project/sfAtosPaymentPlugin/cgi-bin" # Chemin d'accès aux binaires
merchant_id: "038862749811111" #mettre des quotes pour le 0
#pathfile_path: "" # Chemin du pathfile par defaut le dossier atos du plugin
#d_logo: "" # Chemin des logos par défaut le dossier logos de web du plugin
#f_certificate: "" #par defaut le meme dossier que pathfile /certif
#f_param: "" #par defaut le meme dossier que pathfile /parcom
f_default_name: "parmcom.cyberplus" # dans le dossier de parcom
#merchant_language: "fr" # Langue du commercant
#cancel_url: "" #Url pour les annulations par defaut @homepage
#confirmation_url: "" #Url pour les confirmations @homepage
#autoresponse_url: "sfAtosPayment/response" #URL par defaut sfAtosPayment/response Attention a modifier avec précautions
After clear your cache and rebuild the pathfile with
[console]
symfony atos:pathfile YOUR_APP
Set yours certif and parcom files in the atos folder
If you want that the save was correct in your base, you've to set debug to NO and rebuild your pathfile
## You're Using Propel ?
1) Rename lib/sfAtosCart.php.propel to lib/sfAtosCart.php
2) Rename lib/sfAtosCartPeer.php.propel to lib/sfAtosCartPeer.php
3) Remove lib/doctrine and clear cache
With admin plugin :
4) Replace config/routing.yml by config/routing.yml.propel
5) Replace modules/sfAtosPaymentAdmin/config/generator.yml by modules/sfAtosPaymentAdmin/config/generator.yml.propel
## You're Using Doctrine ?
1) Enjoy !
## You're Using the old release ?
1) Rebuild your model the name of model is now SfAtosCart and data columns renamed to datas