Skip to content

Commit

Permalink
request de xml fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
guimap committed Sep 19, 2016
1 parent c0d0504 commit c665f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GPRCielo/Services/CieloAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function cobrar($pedido, $tid){


public function makeRequest($xmlStr){

$xmlStr = preg_replace( "/\r|\n/", "", $xmlStr);
$headers = [];
$headers[] = "Content-Type: application/x-www-form-urlencoded";
$ch = curl_init();
Expand Down

0 comments on commit c665f78

Please sign in to comment.