invoice_address

Purpose: The invoice_address function is used to retrieve the address for an invoice

invoice_address($eid, $invno, $secret, &$result)

Input Data:

Required Variable Type Description
$eid integer A store ID which refers to your store in Klarna's database
$invno string The invoice number
$secret string A shared secret used to secure all traffic exchanged by Klarna and your store

Return Value:
An array containing the invoice address.


Errors

Error Description
unknown_invoice The invoice number does not exist.
invalid_estore_secret The shared secret does not match the estore id.
 

API functions

Add_transaction functions
Invoice handling functions
Test persons