1. Documentation /
  2. SveaWebPay

SveaWebPay

Note: As of February 2018, the SveaWebPay integration is no longer for sale. Documentation is left online for anyone who needs it. We recommend Klarna Payments (free) as a replacement.
SveaWebPay Gateway is a plugin that extends WooCommerce, allowing you to take payments via SveaWebPay. This plugin utilizes the Credit Card, Part Payment and Invoice payment methods.

General information

↑ Back to top

Credit Card payments

↑ Back to top
When the order is processed, the user is taken to SveaWebPay to make a secure payment. After payment, the user is returned to your store’s Thank You page.

Invoice and Part Payment

↑ Back to top

  • Customer fills out his/her social security number/date of birth and place the order. SveaWebPay then makes a credit record of the customer.
  • Order is created in SveaWebPay’s system in the background, and your customer never leaves your website.
  • You (merchant) logs into SveaWebPay backoffice to approve/send the invoice when you complete the order in WooCommerce.

Installation

↑ Back to top
  1. Purchase and download the plugin zip file from WooCommerce.com.
  2. Log in to your WordPress Admin. Click on Plugins | Add New from the left hand menu.
  3. Click on the “Upload” option, then click “Browse” to select the zip file from your computer. Once selected, press “OK” and press the “Install Now” button.
  4. Activate the plugin.

SveaWebPay account setup

↑ Back to top
This setting is only needed to apply if you have an agreement with Svea to accept payments via card. 
  1. Log in to your account at www.sveawebpay.se.
  2. Navigate to the merchant settings page.
  3. Set the HTTP response type of the e-store to POST.
  4. Save the settings.

Setup and Configuration

↑ Back to top

Credit card payments

↑ Back to top
  1. Go to: WooCommerce > Settings > Checkout > SveaWebPay Credit Card.
  2. Enable SveaWebPay Credit Card by checking the Enable SveaWebPay Credit Card checkbox.
  3. Enter the Merchant ID and Secret from SveaWebPay.
  4. Tick the box Send Order Total as one item,  if you want to pass the entire order as a single item to SveaWebPay instead of each row individually.
  5. Tick the Test mode checkbox, if using test credentials. Get in contact with SveaWebPay for more information about a test account.
  6. Save your settings.

Invoice payments

↑ Back to top
  1. Go to: WooCommerce > Settings > Checkout > SveaWebPay Invoice.
  2. Enable SveaWebPay Invoice by checking the Enable SveaWebPay Invoice checkbox.
  3. Enter the Client number, User name and Password for the specific country that you have an agreement with SveaWebPay to sell to.
  4. Select where the Date of birth field should be displayed. Default is just above the Billing form on the checkout page.
  5. Tick the Test mode checkbox, if using test credentials. Get in contact with SveaWebPay for more information about a test account.
  6. Save your settings.

Invoice fee setup

The invoice fee for SveaWebPay Invoice is added as a simple (hidden) product. To create a Invoice fee product:
  1. Add a simple (hidden) product. Mark it as a taxable product.
  2. Go to the SveaWebPay Invoice settings page and add the ID of the Invoice Fee product in the field Invoice fee. The ID can be found by hovering the Invoice Fee product on the Products page in WooCommerce.
Note: Do not add SKU or price of the invoice fee. Add the product ID in the settings field for the Invoice fee.

Part Payments

↑ Back to top
  1. Go to: WooCommerce > Settings > Checkout > SveaWebPay Part Payments.
  2. Enable SveaWebPay Part Payments by checking the Enable SveaWebPay Part Payments checkbox.
  3. Enter the Client number, User name and Password for the specific country that you have an agreement with SveaWebPay to sell to.
  4. Select where the Date of birth field should be displayed. Default is just above the Billing form on the checkout page.
  5. Tick the Test mode checkbox, if using test credentials. Get in contact with SveaWebPay for more information about a test account.
  6. Save your settings.

Date of Birth/Company Org number

↑ Back to top
When enabling the Invoice or Part Payments payment method, a Date of Birth/Company organization number is displayed above the Billing form fields. This is a required field that is visible as long as one of the two payment methods is available to the customer.

Get Address feature

↑ Back to top
When enabling the Invoice or Part Payment method, a Get address feature from SveaWebPay is activated. This feature gives the customer the possibility to enter their Date of Birth/Social security number in Get address form field. This information is then passed to SveaWebPay and the person’s registered address is populated in the billing address fields. Note that this feature only is activated when using Invoice or Part Payment as a payment method, not when using Svea WebPay Credit Card payments.

Limitations

↑ Back to top
Part Payments and the Get Address features have some limitations to when they are available. The following is good to know before contacting support:

Part Payments

↑ Back to top
  • Part Payments is not an available payment method for companies.
  • Part Payments is only available for the customer if the total amount of the order is 1 000 SEK or more.

Get Address

↑ Back to top
  • The Get Address feature is only applicable for SE, NO and DK customers.
  • In Norway, only company customers are supported.

Multiple currencies and selling to more than one country

↑ Back to top
The SveaWebPay payment gateway supports multiple currencies via the following extensions:

Credit card payments

↑ Back to top
As for the Credit card payment method there is no need for extra configuration when enabling multiple currencies. Get in touch with SveaWebPay and your acquiring bank to ensure that the currencies you want to sell with are available and activated in your account.

Invoice and Part payments

↑ Back to top
Both Invoice and Part payments have separate credential fields (Client number, User name and Password) for Sweden, Norway, Denmark and Finland. Ff you want to sell to both Sweden and Norway, you need to:
  1. Have an agreement with SveaWebPay to sell to Sweden and Norway.
  2. Enter the Client numberUser name and Password for both Sweden and Norway in the payment gateway settings.
  3. Use one of the two mentioned multi-currency extensions, so your e-store can handle purchases in both SEK and NOK.
If a customer selects NOK as the currency, SveaWebPay Part payment and  SveaWebPay Invoice are displayed as available payment methods as long as the customer selects Norway as Billing country in checkout. If another country is selected, then the two payment methods are removed as available payment methods. The same goes for other countries and other currencies. Example: If you have only entered credentials for Denmark (and the shop base currency is DKK), Invoice and Part Payments are only available as long as the customer’s Billing Country is set to Denmark.