Klarna get address on inserting the Swedish SSN for the Opencart

Klarna get address on inserting the Swedish SSN for the Opencart

Today i am able to make Klarna's get address on inserting the SSN(social security number).
An example of what I am trying to achieve can be seen at the checkout of this website.
At the checkout page of the above website, if you enter the following social security number: 410321-9202 in the "Personnummer" field (which means Social Security Number in Swedish) and click on Hämta (Get Address in Swedish), you will see that the name and address of the customer will be filled automatically.
This is done by using the getAddresses() function of the klarna API.

I am able to get the output. This is very straightforward, just take the output from the getAddresses() function and input it into Opencart checkout fields.

getAddresses is a function used to retrieve a customer's address(es) when selecting Klarna's payment methods. Using this function, the customer receives a simpler purchasing experience and a decreased risk of entering addresses incorrectly.

getAddresses can be used by customers with one or more registered addresses as well as companies. Customers can enter either an organization or a social security number, the function will then return all registered addresses for that customer.

This function is available for customers with a Swedish organization or social security number (in the remaining countries the required input fields are necessary in order for the customer to enter this information manually).

The getAddresses function is to be used as long as the following requirements are met:

  • The function is to be used for customers with a Swedish organization or social security number
  • Customer data is only retrieved for Klarna's payment methods in the checkout
  • The function may not be used for registering customers
  • The function is used after providing the customer with Klarna´s terms & conditions
  • The getAddresses function and received data must disappear if the customer chooses another payment method
  • The consumer needs to actively press a button to collect the data, it may not be triggered by completion of entering the social security number
  • The button is not allowed to be called get address (hämta address). Approved names: Fetch (Hämta), Continue (Fortsätt), Search (Sök), Proceed (Vidare)



Module by Rupak Nepali

Write a review

Please login or register to review

Instant Download

Order and download Instantly.

  • Views: 3348
  • Product Code: MOD_21
  • Availability: In Stock
0 Product(s) Sold
  • $35.00
  • Ex Tax: $35.00

OpenCart Module Development Tutorials

Admin files created to make Testimonial Management

  • Form Creation (edit and insert)
  • Listing page creation
  • Language file creation
  • Model Creation
  • Template file creation
  • Links to listing page added in primary menu through use of OCMOD

Front end files creation

  • Controller creation
  • Model Creation
  • Language file creation
  • Template file creation
I study around 10 days to explore how import export works thus i am now able to create my own import..
text_tax $50.00
List out all reviews of products in OpenCart module. This modules help in cross selling by viewing t..
text_tax $15.00
Products show at home page for each category. This is products display of selected category.At t..
$15.00 $10.00
text_tax $10.00
We have recently worked out in Multi-language Banner Management in opencart, images of banner a..
$20.00 $18.00
text_tax $18.00
Just completed another module.What was the requirement? List out all the products as per t..
$30.00 $25.00
text_tax $25.00
Better to send us the information and we will provide the quote, please mention your budget as well ..
$200.00 $180.00
text_tax $180.00
This module shows manufacturers chosen from the admin.DEMO  ..
$15.00 $10.00
text_tax $10.00
I am working on Stylish Nepal and according to their requirement we have to integrate the ..
text_tax $0.00
I got project to integrate the EBS into OpenCart so i researched about the module whether it is free..
text_tax $0.00
Order it for free.Download the moduleINSTALLATION:If your ftp is enabled from the admin section:Unzi..
text_tax $0.00
Latest OpenCart module of displaying all the products is at the following link https://webo..
text_tax $0.00