PHP Classes

PHP ClearSale: Evaluate the risk of orders with ClearSale

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 225 All time: 8,179 This week: 196Up
Version License PHP version Categories
clearsale 1.0.1BSD License5.0.0PHP 5, E-Commerce, Web services


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
  Performance   Level  
Name: Julio Cezar Kronbauer <contact>
Classes: 11 packages by
Country: Brazil Brazil
Age: 41
All time rank: 2166144 in Brazil Brazil
Week rank: 346 Up23 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  
This week:0
All time:8,179
This week:196Up
User Comments (1)