-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea7ab3f
commit daf30b7
Showing
16 changed files
with
383 additions
and
355 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,8 +31,35 @@ Very usefull and powerfull. | |
|
||
[CMSUno](https://github.com/boiteasite/cmsuno) | ||
|
||
### Gateway ### | ||
|
||
You can create a Gateway plugin for another payment system and link it with Payment. Connectors are as follow : | ||
|
||
* The name of the plugin must begin with __pay__ (payfoo). | ||
* To Enabled/Disabled the plugin in Payment, it's needed to write in __data/payment.json__ : | ||
|
||
``` data['method']['payfoo'] = 1 | ||
data['method']['payfoo'] = 0 ``` | ||
* The image button of you payment method should named __payfoo-btn.png__. Recommended size : 76x48. Folder : payfoo/img/. | ||
* You should include a JS script with a function named __payfooCart(cart)__. This function will be called when the buyer clic the image button. This is the gateway. | ||
"cart" is a JSON var : | ||
``` {"prod":{ | ||
{"n":"screwdriver","p":3.90,"i":"id765","q":5}, | ||
{"n":"saw","p":7.60,"i":"string id","q":3}, | ||
{"n":"hammer","p":12.5,"i":"string id","q":2} | ||
}, | ||
"digital":"index|readme", | ||
"ship":"4", | ||
"name":"Bob Dylan", | ||
"adre":"1250 Edouard street 33234 ERZ", | ||
"mail":"[email protected]"} ``` | ||
### Versions ### | ||
* 1.2 - 15/11/2017 : Change connection with external payment gateway | ||
* 1.1.3 - 10/11/2017 : Add Gateway with Bitcoin Paycoin plugin | ||
* 1.1.2 - 21/05/2017 : Option to hide the CKEditor Add To Cart Button | ||
* 1.1.1 - 15/03/2017 : | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.