total_credit_purchase_cost

Purpose: to calculate the the total credit purchase cost for the part payment in Norway Only. Please note! To obtain pclasses or download the pclasses file, log in to Klarna Online. Click on “Display store” and then “Click here to view campaigns”.

Example PHP cide total_credit_purchase_cost($sum, $pclass, $currency, &$result); Input data:
Required Variable Type Description
sum integer The amount concerned in ören or cents.
pclass integer The Campaign ID concerned.
currency string The currency for the purchase.

  • Norska kronor = $KRED_NOK = 1;

Return Value:
An amount to be displayed to the customer how much the part payment will cost.

 

API functions

Add_transaction functions
Invoice handling functions
Test persons