update_orderno

Purpose: The update_orderno function is used to change the store’s order number for a specific invoice.

Example PHP code update_orderno($eid, $invno, $secret, $estoreOrderNo, &$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
estoreOrderNo string New order number to be bound to the invoice

Return Value:
Invoice number.


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