reserve_ocr_nums

Purpose: the reserve_orc_nums is used to reserves one or more OCR numbers for your store

Example PHP code reserve_ocr_nums($no, $eid, $secret, $country, $result)
Input Data:

Required Variable Type Description
no integer The number of OCR numbers the store wishes to reserve
eid integer A store ID which refers to your store in Klarna's database
secret string A shared secret which is used to secure all traffic between Klarna and your store
country integer Code for the country where your sales will be in
  • $KRED_ISO3166_SE for Sweden
  • $KRED_ISO3166_NO for Norway
  • $KRED_ISO3166_FI for Finland
  • $KRED_ISO3166_DK for Denmark
  • $KRED_ISO3166_DE for Germany

Return value:
An array with the number of OCR numbers requested

 

API functions

Add_transaction functions
Invoice handling functions
Test persons