Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require_once('lib/iugu-php/lib/Iugu.php');
- Iugu::setApiKey('c9d2d080ddedcc4d14c50bf0f12ae97d');
- $token = $_POST['token'];
- $retorno = Iugu_Charge::create(
- Array(
- "token"=> $token,
- "email"=>"amadeus.cmd@hotmail.com",
- "items" =>
- Array(
- Array(
- "description"=>"Item Teste",
- "quantity"=>"1",
- "price_cents"=>"1000"
- )
- )
- )
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement