Login   Register  
PHP Classes
elePHPant
Icontem

PHP ClearSale: Evaluate the risk of orders with ClearSale

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-01-02 (10 months ago) RSS 2.0 feedNot enough user ratingsTotal: 194 This week: 1All time: 7,301 This week: 1,547Up
Version License PHP version Categories  
clearsale 1.0.1BSD License5.0.0PHP 5, E-Commerce, Web services
Description Author  
This package is specific mainly for applications used in Brazil Brazil .

This class can be used to evaluate the risk of e-commerce orders with ClearSale.

It can take the details of an order items and payment form and it generates a URL of an iframe to display the evaluation of the ClearSale services and a series of buttons for the user take some decisions.

The class can generate HTML for a form input with the details of an item to be submitted to ClearSale.

It can also send a HTTP request to the ClearSale server to record the status of an order.

The class can also generate HTML to display a legend that explains to the user the meaning of the results of the analysis of an order returned by ClearSale.

In Portuguese:

Esta classe pode ser usada para avaliar o risco de pagamentos em sites de e-commerce, usando os serviços do ClearSale.

Devem ser enviados ao ClearSale os detalhes do pedido criado no site, a forma de pagamento, os dados de cobrança e entrega.

O ClearSale retorna o HTML de uma página, onde o nível de risco é exibido, além de botões para o usuário tomar decisões.

Por enquanto, as seguintes operações estão disponíveis:

- Obter o URL do frame de um pedido
- Criar item em um pedido
- Obter o URL de alteração do status de um pedido
- Alterar o status de um pedido
- Obter o HTML da legenda dos status de um pedido
- Obter o HTML da legenda dos níveis de risco

Innovation Award  
PHP Programming Innovation award nominee
December 2013
Number 6


Prize: One subscription to the PDF edition of the PHP Architect magazine
One of the main risks for Web sites to take credit card payments, is that the payments be done with stolen cards, and so lose the payments when chargebacks happen.

This class can help detecting and preventing accepting fraudulent payments using the ClearSale Web services.

Manuel Lemos
Picture of Julio Cezar Kronbauer
Name: Julio Cezar Kronbauer <contact>
Classes: 9 packages by
Country: Brazil Brazil
Age: 33
All time rank: 2588189 in Brazil Brazil
Week rank: 412 Up30 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file ClearSale.Class.php Class The main file
Accessible without login Plain text file UserInterface.php Example Exemplo de interface para o usuário
Accessible without login Plain text file SetaStatusPedido.php Example Envia comando à ClearSale para alterar o status de um pedido

 Version Control Unique User Downloads Download Rankings  
 0%Total:194All time:7,301
 This week:1This week:1,547Up
 User Comments (1)