Wordpress plugin that enables Atos gateway for Woocommerce
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github Create Issue template for github Mar 5, 2016
atos/param Initial commit Feb 24, 2015
images Initial commit Feb 24, 2015
languages Add translation for logo_id1 - #4 Jun 14, 2015
.gitignore [Issue #14] Fix sprintf for admin link Mar 5, 2016
LICENSE Initial commit Feb 24, 2015
README.md Add details in doc about logo images Jun 21, 2015
automatic_response.php
index.php Use logo_id rather than logo_id1 (not recognized by atos) Feb 21, 2017
readme.txt Update wordpress version support Mar 5, 2016

README.md

woocommerceAtosPlugin

Wordpress plugin that enable Atos payment for Woocommerce.

Install

Depending on your web server, copy the correct binary files on your server. If you are on Linux, and want to know if you run 32 or 64 bits, just type:

getconf LONG_BIT

For these binaries, don't forget to add execution rights.

chmod +x

Put your params files too on your web server.

To use the credit cards logos given with this plugin, change images path in your param/pathfile.

D_LOGO!/wp-content/plugins/woocommerceAtos/images/!

Take a look at the examples atos files provided with this plugin to put the correct values in YOUR param files.

Automatic response

Create a page that contains shortcode above and fill the automatic_response_url field in admin.

[woocommerce_atos_automatic_response]

/!\ Make sure the page is public (ie no htaccess or anything that could avoid the automatic call from the bank service).


Test mode

Use these values to test your installation.

Credit card success infos

Credit card n°: 4974934125497800
Crypt key: 600
Expiration date: anything in the future

Credit card failed infos

Credit cart n°: 4974934125497800
Crypt key: 655
Expiration date: anything in the future

For 3D secure test

Valid password: 00000000
Invalid password: anything else

Security

For security purpose, the param files must be located somewhere outside the webroot of your site. Example: if your wordpress installation is something like

/var/www/wordpress

Then your param files should be located in:

/var/atos/param/ 

Good to know

If you want to see the logo images on your bank page, then you'll have to validate your merchant-id and make your tests on a pre-production platform (see this issue).