Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Itaú Shopline Integration (PHP)

License

NotificationsYou must be signed in to change notification settings

inicialsolucoes/itaucripto-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable VersionTotal DownloadsLatest Unstable VersionLicensePHP Version Require

Description

This class was created based on the Java version of Itaucripto.

Composer

$ composer require inicial/itaucripto-php

Usage

<?phprequire_once(dirname(__FILE__) .'/init.php');$itaucripto =new \Itaucripto\Itaucripto();$itaucripto->setCompanyCode('J0098765430001220000002598');$itaucripto->setEncryptionKey('12ASDFG456KWE078');$itaucripto->setOrderNumber(substr(time(),-8));$itaucripto->setAmount('1,57');$itaucripto->setDraweeName('Fabiano Couto');$itaucripto->setDraweeDocTypeCode('01');$itaucripto->setDraweeDocNumber('61022645099');$itaucripto->setDraweeAddress('Av Presidente Vargas');$itaucripto->setDraweeAddressDistrict('Centro');$itaucripto->setDraweeAddressCity('Rio de Janeiro');$itaucripto->setDraweeAddressState('RJ');$itaucripto->setDraweeAddressZipCode('20070006');// $itaucripto->setCallbackUrl('http://www.domain.com/callback');$itaucripto->setBankSlipDueDate(date('dmY',strtotime('+7 day')));$itaucripto->setBankSlipNoteLine1('Sr. Caixa,');$itaucripto->setBankSlipNoteLine2('Não receber após o vencimento.');$itaucripto->setBankSlipNoteLine3('Obrigado.');$itaucripto->setNote('3');// Needed to display the three lines on the bank slip$data =$itaucripto->generateData();?>

Note

You can find more info about usage on class source code.

Report any bug or suggest changes using gitissues.


[8]ページ先頭

©2009-2025 Movatter.jp