WARNING : This plugin is in alpha state, therefore NOT READY for production.
It still needs contribution to be fully functional.

This plugin is part of the sfPayment plugins suite and brings the following Paybox products support:

Paybox System product:
The Paybox System product is a secure system for the management of payment by banker's card and by private
cards on Internet retail sites. The CGI module simply needs to be installed and called up from the page of
the retailer's e-commerce site which precedes the Paybox System payment page. Once the product has been
integrated into the e-commerce site, the customers can make payments in complete safety. When the order
has been placed, they will be redirected to the PAYBOX SERVICES server, which will set up an encrypted
connexion with the purchaser (in SSL 128 bits, so that the input of the banker's card number is carried
out in complete security) and displays a payment page.

Paybox Direct product:
The product Paybox Direct PPPS (Paiement Paybox Par Socket in french) enables you to send a transaction to
PAYBOX SERVICES via a "question" frame, and to obtain in return a "réponse" (reply) frame, which informs
you of the acceptation or refusal of the request. The principal of PPPS is therefore to:

Create a "question" frame,

Call a present URL on the servers of PAYBOX SERVICES,

Recover the response frame, returned by PAYBOX SERVICES after processing the transaction.

License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Release 0.1.1 - 05/10/2009

Release 0.1.0 - 08/09/2009

sfPaymentPaybox2Plugin

WARNING : This plugin is in alpha state, therefore NOT READY for production.
It still needs contribution to be fully functional.

This plugin is part of the sfPayment plugins suite and brings the following Paybox products support:

Paybox System product:
The Paybox System product is a secure system for the management of payment by banker's card and by private
cards on Internet retail sites. The CGI module simply needs to be installed and called up from the page of
the retailer's e-commerce site which precedes the Paybox System payment page. Once the product has been
integrated into the e-commerce site, the customers can make payments in complete safety. When the order
has been placed, they will be redirected to the PAYBOX SERVICES server, which will set up an encrypted
connexion with the purchaser (in SSL 128 bits, so that the input of the banker's card number is carried
out in complete security) and displays a payment page.

This module should then be installed in the "cgi-bin" directory of your Web server (this directory can be renamed).

The module as to be renamed "modulev2.cgi" for reasons of compatibility, however, the module must not be renamed "module.cgi"

Configuring your plugin

Enable the module in your application settings.yml

# Activated modules from plugins or from the symfony core
enabled_modules: [default, sfPaymentPaybox]

Configure the plugin in your application app.yml

all:
#sfPaymentPaybox2Plugin
sf_payment_paybox_plugin:
identifier: paybox_identifier #Paybox identifier, supplied by PAYBOX SERVICES at the time of registration.
site: my_site_number #Site number (TPE) given by the bank
rank: rank_number #Rank number given by the bank
password: password #password provided by Paybox (Paybox Direct)
language: "GBR" #language (GBR English, FRA French, ESP Spanish, ITA Italian, DEU German, NLD Dutch, SWE Swedish)
return: "amount:M;reference:R;authorization:A;transaction:T;subsription_number:B;payment_type:P;card_type:C;error:E;payment_status:G;authenticate_status:F" #variables sent by Paybox
intermediary_page: #intermediary page is the page between your site and the paybox payment page (Paybox System)
wait: 0 #delay in displaying the intermediary page, value in milliseconds
txt: "<center><b>You are being sent to a Paybox secure payment page</b><br>Once payment has been made, you will receive an e-mail containing your purchase receipt.<br><i>Please wait a few secondsâ€¦</i><br></center>" #text able to be displayed on the intermediary page instead of the default text
background: "#FFFFFF" #screen background of the intermediary page
button: "nul" #name given to the button of the intermediary page "nul" for the removal of this button
test:
identifier: test_paybox_identifier #Test PAYBOX identifier, supplied by PAYBOX SERVICES at the time of registration.
site: test_my_site_number #Test Site number (TPE) given by the bank
rank: test_rank_number #Test Rank number given by the bank
password: password #Test password provided by Paybox (Paybox Direct)