This product, Klarna Payments (kpm) is deprecated. Go to the current version

ASP SDK

Download and use a SDK for simple integration with our API.

Requirements

  • API credentials
  • IIS >= 5.0

Instructions

Download package and include it in your project.

Changelog

    =====================
    Klarna ASP API
    =====================
    
    v4.2.0
    ---------------
    2015-05-27
    
    Story (#2134) (Christer G.) - Adding ExtendExpiryDate function
    
    v4.1.0
    ---------------
    2014-11-12
    
    Story (#1895) (Christer G.) - Add SetClientIP and GetClientIP functions
    
    
    v4.0.0
    ---------------
    2014-07-09
    
    Story (#1679) (Joakim L.) - Remove UpdateNotes and ReserveOcrEmail functions
    
    
    v3.2.1
    ---------------
    2013-07-15
    
    Bug (#92) (Rickard D.) - Error when sending no first name or last name for company purchases
    Story (#821) (Rickard D.) - Update lowest_monthly_payment_for_account for Netherlands
    
    
    v3.2.0
    ---------------
    2013-05-16
    
    Story (#572) (Rickard D.) - Add goods list to credit calls for restocking fees - ASP
    Story (#574) (Rickard D.) - Change BETA host from beta-test to testdrive - ASP
    
    
    v3.1.0
    ---------------
    2012-09-17
    
    Majid G <support@klarna.com>
    
        Handling -1 for ReserveAmount function (VAT/discount)
            *   Added SummarizeGoodsList
                Modified file: klarna.asp
            *   Added SummarizeGoodsList to ReserveAmount
                Modified file: klarna.asp
    
        Adding Activate functionality
            *   Added Activate function
                Modified file: klarna.asp
            *   Added Activate example file
                Added file: examples/Activate.asp
    
    Rickard D <support@klarna.com>
    
        Adding Update functionality
            *   Added Update function
                Modified file: klarna.asp
            *   Added Update example file
                Added file: examples/Update.asp
    
        Adding posibility to send empty pno to ActivateReservation function
            *   Remove error rising from pno's validation
                Modified file: klarna.asp
    
        Setting client-IP to 0.0.0.0 in ActivateReservation
            *   Changing the Client-IP value to 0.0.0.0
                Modified file: klarna.asp
    
    Tommy B <support@klarna.com>
    
        Added Austria constants for country and pno encoding
            *   Added constants for country and encoding
                Modified file: Constants.asp
            *   Modified methods SetCountry and GetPnoEncoding
                Modified file: klarna.asp
            *   Modified methods SetCountry and GetCountryCode
                Modified file: klarnaaddr.asp
            *   Modified methods get_lowest_payment_for_account and pRound
                Modified file: klarnacalc.asp
            *   Added test CheckAT
                Modified file: test/GetPnoEncoding.asp
            *   Modified test SetCountry
                Modified file: test/KlarnaTest.asp
    
    
    v3.0.1
    ---------------
    2011-03-29 Tommy B <support@klarna.com>
    
    
    *   Added CalculateMonthlyCost example
        New file: examples/CalculateMonthlyCost.asp
    
    
    v3.0.0
    ---------------
    2011-03-20 Tommy B <support@klarna.com>
    
    *   The ASP API has been completely refactored in version 3.0.0
    *   All known issues found in version 2.0.0 has been fixed.
    *   More details can be found in release notes.
    -------------------------------------------------------------------------------
    
    Files included in this version of the API is:
    AspXmlRpc.asp
    Constants.asp
    Klarna.asp
    KlarnaAddr.asp
    KlarnaCalc.asp
    KlarnaPClass.asp
    md5_js.asp
    examples/ActivateInvoice.asp
    examples/ActivatePart.asp
    examples/ActivateReservation.asp
    examples/AddTransaction.asp
    examples/CancelReservation.asp
    examples/ChangeReservation.asp
    examples/CheckOrderStatus.asp
    examples/CreditInvoice.asp
    examples/CreditPart.asp
    examples/CustomerNumber.asp
    examples/DeleteInvoice.asp
    examples/EmailInvoice.asp
    examples/FetchPClasses.asp
    examples/GetAddresses.asp
    examples/GetPClasses.asp
    examples/InvoiceAddress.asp
    examples/InvoiceAmount.asp
    examples/InvoicePartAmount.asp
    examples/ReserveAmount.asp
    examples/ReserveOcr.asp
    examples/ReturnAmount.asp
    examples/SendInvoice.asp
    examples/SplitReservation.asp
    examples/UpdateChargeAmount.asp
    examples/UpdateGoodsQuantity.asp
    examples/UpdateOrderNumber.asp
    -------------------------------------------------------------------------------