Skip to content

Instantly share code, notes, and snippets.

@nunomorgadinho
Created November 17, 2012 19:11
Show Gist options
  • Save nunomorgadinho/4098988 to your computer and use it in GitHub Desktop.
Save nunomorgadinho/4098988 to your computer and use it in GitHub Desktop.
Integração PHP-InvoiceXpress Exemplo
$data = array(
'client' => array(
'name' => $client_name,
'email' => $order->billing_email,
'phone' => $order->billing_phone,
'address' => $order->billing_address,
'postal_code' => $order->billing_postcode,
),
);
$client = new InvoiceXpressRequest('clients.create');
$client->post($data);
$client->request();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment