Download the PHP package adrianolaselva/controlpay-sdk without Composer
On this page you can find all versions of the php package adrianolaselva/controlpay-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package controlpay-sdk
Componente de integração com API de ControlPay plataforma
Este Projeto tem por finalidade prover uma integração menos traumática e padronizada com as API's do ControlPay
Descrição
Para iniciar o uso os seguintes passos devem ser executados
* Passar como parâmetro no construtor em forma de array.
* Passar como parâmetro a partir de uma instância do Client.
Parâmetros
ControlPayParameterConst::CONTROLPAY_HOST => URL das apis do controlPay
ControlPayParameterConst::CONTROLPAY_TIMEOUT => Tempo de Timeout da requisição, como padrão o tempo é de 20 segundos
ControlPayParameterConst::CONTROLPAY_USER => Usuário de acesso ao controlPay
ControlPayParameterConst::CONTROLPAY_PWD => Senha de acesso ao controlPay
ControlPayParameterConst::CONTROLPAY_KEY => Chave de acesso ao controlPay
ControlPayParameterConst::CONTROLPAY_DEFAULT_TERMINAL_ID => Código do terminal que para acionamento do tef
ControlPayParameterConst::CONTROLPAY_DEFAULT_PRODUTO_ID => Código do produto padrão
ControlPayParameterConst::CONTROLPAY_DEFAULT_FORMA_PAGAMENTO_ID => Código de forma de pagamento padrão
ControlPayParameterConst::CONTROLPAY_DEFAULT_FORMA_AGUARDA_TEF => Transacionar com tef
ControlPayParameterConst::CONTROLPAY_DEFAULT_SENHA_TECNICA => Senha técnica para cancelamento de transação, aconselhável que ela não seja fixada no arquivo de configurações
Obs: Caso seja adicionado a "CONTROLPAY_KEY" no parâmetro, não será necessário os parâmetros "CONTROLPAY_USER" e "CONTROLPAY_PWD", pois os mesmos são utilizados para gerar uma key para efetuar as requisições
Para obter a versão configure seu composer.json conforme exemplo abaixo:
Certifique-se que as configurações foram preenchidas corretamente executando os testes presentes no diretório "/vendor/adrianolaselva/controlpay-sdk/tests/*"
All versions of controlpay-sdk with dependencies
guzzlehttp/guzzle Version 5.3
jms/serializer Version ^1.3
symfony/serializer Version ^3.1
symfony/property-access Version ~2.8|~3.0