clubfixinsurtech/valorembiz
最新稳定版本:1.0.1
Composer 安装命令:
composer require clubfixinsurtech/valorembiz
包简介
Integração com o Gateway de Pagamento Valorem Pay Checkout Business
README 文档
README
Integration with the ValoremPay payment gateway.
Integração com o Gateway de Pagamento Valorem Pay Checkout Business.
Highlights
- Simple installation (Instalação simples)
- Composer ready and PSR-2 compliant (Pronto para o composer e compatível com PSR-2)
Available services
- Fluxo de pagamento Checkout Transparente
- Estorno do pagamento
- Histórico de transações
Installation
Valorem Pay is available via Composer:
composer require clubfixinsurtech/valorembiz
Documentation
For more details on how to use it, see the "examples" folder in the component's directory. It contains an example of how to use the class. It works as follows:
Para obter mais detalhes sobre como utilizar, consulte a pasta "examples" no diretório do componente. Nela, haverá um exemplo de utilização da classe. O funcionamento é o seguinte:
Basic Usage:
<?php $token = ''; $isSandbox = true; $connector = new \ValoremBiz\ValoremBizConnector(token: $token, isSandbox: $isSandbox); // Create payment $payment = (new \ValoremBiz\Entities\CreatePayment( valor: 99.99, numeroDeParcelas: 1, qtdeCartoes: \ValoremBiz\Enums\CardQuantityEnum::ONE, ))->setCartoes( new \ValoremBiz\Entities\Card( valor: 99.99, numeroDoCartao: '5448280000000007', codigoSeguranca: '123', mesVencimento: 1, anoVencimento: 2028, nomeTitular: 'John Doe', cpfCnpj: '40834380960', ) ); $request = $connector->valoremBiz()->createPayment($payment); $response = $request->json(); dump($request, $response);
Credits
- Clubfix (Team)
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-01-13