Svea Checkout for WooCommerce

Description

━━━━━━━━━

🎉 EXCITING NEWS: VERSION 3.0 NOW AVAILABLE! 🎉

We’re thrilled to announce that version 3.0 of Svea Checkout for WooCommerce has been released! This major update brings:
1. Enhanced compatibility with WooCommerce plugins
2. Improved checkout page template and styling
3. Streamlined functionality mirroring WooCommerce’s standard checkout

Important Notes

  • If you use custom templates: We’ve made significant changes to the checkout page structure. Please review and update your custom templates as needed.
  • For more complex stores: We strongly recommend testing the new version in a staging environment before updating your live site.

What’s New in 3.0

  • Seamless integration with a wider range of WooCommerce extensions
  • Refreshed and user-friendly checkout experience
  • Easier customization options for developers

We’ve redesigned the plugin to closely follow WooCommerce’s standard checkout structure, opening up new possibilities for your store!

Update now through your WordPress admin panel to take advantage of these exciting changes!

Questions? Our support team is here to help you make the most of this major update!
━━━━━━━━━

Accept Credit cards, invoice, direct bank and part payments in your WooCommerce store. Svea Checkout for WooCommerce is a fully featured checkout solution which simplifies the checkout for your customers and increases conversion.

Advantages for you as a customer:

  • Supports sales to both B2B and B2C clients
  • Machine learning – learns how your customer likes to pay
  • One payment gateway where all payment methods and merchant agreements are included
  • Support recurring payments
  • Integrate nShift directly in the checkout (requires nShift account)
  • Svea Instore – create orders and send payment link (seperately enabled on individual accounts)

nShift integration (requires nShift account)

Seamlessly integrate with nShift (formerly Unifaun) to enhance the shipping experience. By integrating with your nShift account the shipping options will be automatically supplied directly in the checkout.
Simplify the shipping options and provide a better checkout experience for your customers.
Interested in this feature? Contact Svea to get started!

Svea Instore

Svea Instore is an opt-in feature that enables the shop owners to create orders and send payment links via SMS to customers. This feature is designed to streamline the ordering experience for customers who prefer placing orders in person or over the phone. Enhance your customer service by offering a convenient and efficient solution for remote shopping.
Interested in this feature? Contact Svea to get started!

Part payment module

The plugin provides a module that can be displayed on the product pages to inform your customers that they can pay with part payments in the checkout. It will display the lowest monthly price which they can pay through part payments.

To activate the feature, follow these steps:

  1. Go to WooCommerce > Settings > Payments > Svea Checkout
  2. Check the box Display product part payment module
  3. Select where on the page you want to display the module
  4. View the part payment module on the product page for eligable products. If the module is not displayed it might be due to the price since part payment plans often require a minimum amount.

There’s also a shortcode available to display the part payment module on a product page. Add the shortcode [svea_checkout_part_payment_module] to the product page you want to use it on. Or call do_shortcode() through a template file.

Screenshots

  • Initial checkout page before contact details are entered.
  • Checkout page after contact details are entered and possible payment options are displayed.
  • nShift-integration with integrated shipping methods in Svea Checkout.
  • Thank-you page displayed after successful purchase through Svea Checkout.

Installation

  1. Install the plugin either through your web browser in the WordPress admin panel or manually through FTP.
  2. Activate the plugin
  3. Configure the credentials by browsing to WooCommerce > Settings > Payments > Svea Checkout
  4. Check the box “Activate Svea Checkout”
  5. Enter “Merchant ID” and “Secret”, these credentials are required for the plugin to work
  6. Follow Sveas instructions to get your production credentials

FAQ

What type of clients can I sell to through the gateway?

You can sell to both B2B and B2C clients through the gateway.

Reviews

أبريل 19, 2024 1 reply
The plugins works fine but i would like to address the terminology used in the plugin and its documentation regarding the “part payment widget.” In WordPress, the term “widget” commonly refers to elements that can be added to a site’s sidebar, footer, or other widget-ready areas through the WordPress admin interface. However, the “part payment widget” in your plugin is implemented via a shortcode ([svea_checkout_part_payment_widget]), which is inserted directly into the content area of a page. The use of the term “widget” for this feature has the potential to cause confusion, as it suggests that the feature might be added via the Appearance > Widgets section of WordPress, which is not the case. Users may expect to find a draggable widget in the admin interface, when in fact, the feature is a shortcode that must be placed within the content of a product page. For clarity and to enhance the user experience, I kindly suggest considering a revision of the terminology used in the plugin’s UI and documentation. Renaming the feature to “Part Payment Shortcode” or a similar variation could help align with WordPress conventions and user expectations. Thank you for considering this feedback. I believe that this small change could make a significant difference in how users interact with and understand the functionality of the plugin.
Read all 1 review

Contributors & Developers

“Svea Checkout for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

“Svea Checkout for WooCommerce” has been translated into 3 locales. Thank you to the translators for their contributions.

Translate “Svea Checkout for WooCommerce” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

3.0.7 2024-10-31

  • Mark name fields as optional for company clients are now set to be done later to prevent other plugins from overriding
  • Add more checks for WooCommerce settings to make sure phone, address field 2 and company name settings are correctly setup

3.0.6 2024-10-30

  • Corrected syntax for Instore order pushes which prevented it from syncing properly
  • Forcibly remove WooCommerce fields to get better support for 3rd party plugin overriding fields

3.0.5 2024-10-25

  • Handle woocommerce_enable_order_notes_field differently to prevent it from affecting other extra fields

3.0.4 2024-10-24

  • Refresh orders not using client side validation

3.0.3 2024-10-23

  • Remove privacy policy text and page content since they are already present in the iframe

3.0.2 2024-10-22

  • Fix rounding when using decimals in products and certain VAT-rates

3.0.1 2024-10-21

  • Fix validation for company customers causing issues with WooCommerce standard fields

3.0.0 2024-10-21

  • Client side validation. The creation of the order now goes via ajax on the client side
  • Removed a lot of unnecessary compatibility code
  • Crediting card and swish payments sometimes gave an error when using different tax rates which now has been fixed
  • Better general compatibility with plugins that adds fields to the checkout
  • Double check orders that could have changed payment method to ensure correct status is fetched from PaymentAdmin
  • General improvements

2.8.11 2024-09-19

  • Prevent issues with postal code not being sent when switching customer type.

2.8.10 2024-09-10

  • Ensure all emails are being sent properly when order status changes from “Awaiting status” to “Processing/Completed”.

2.8.9 2024-08-22

  • Ensure country changes updates the checkout iframe

2.8.8 2024-08-13

  • Correct logic of only syncing invoice fee

2.8.7 2024-08-09

  • Ensure manual sync button functions correctly

2.8.6 2024-07-16

  • Ensure shipping gets synced if billing and shipping zip-code doesn’t match up
  • Always recalculate cart items when syncing with Svea Checkout

2.8.5 2024-07-10

  • Better support of known customers where postcode is masked
  • Better logic of when shipping is updated

2.8.4 2024-07-09

  • Ensure the checkout is updated if shipping changes during ajax

2.8.3 2024-07-08

  • Added more logging
  • Ensure WPML loads the correct currency and location if geolocation based currecy is enabled
  • Enable WooCommerce to read the postcode correctly even if masked in Checkout

2.8.2 2024-06-11

  • Corrected log message causing issue in validationCallback

2.8.1 2024-06-11

  • Added compatibility with EU VAT Number
  • Prevent fatal error if no connection to Svea can be made for part pay campaigns
  • Ensure cancelled or failed Svea orders create a new checkout when visiting the checkout
  • Allow emails to be sent when going from “Awaiting status” to “Processing”
  • Added more logging
  • Corrected changelog

2.8.0 2024-05-17

  • Instore: create a new order as an store manager and send a payment link to the customer via email/sms.
  • Prevent nShift to be deselected when switching shipping methods
  • Fixed error in admin when selecting an order and later making a search
  • Prevent error when creating account in checkout process and using WPML
  • Remove compatibility code when using other payment methods in Ultimate affiliate pro

2.7.2 2024-04-15

  • Correctly save the new orderID to ensure that an order gets delivered in PaymentAdmin

2.7.1 2024-04-08

  • Prevent payment validations to make the order not syncing order status

2.7.0 2024-04-03

  • Added support for WooCommerce Smart Coupons store credit
  • Removed limit to recurring payments not being able to process orders with initial cost of 0
  • Display a warning if validation callback have recorded too long response times.
  • Added “SWISH_PF” as a payment method allowing admin to see that an order used that method
  • Corrected double tax applied from YITH gift cards
  • Better handling of double checkout sessions to combat multiple orders being created
  • Restored attribution data functionality
  • Set correct variation while syncing order rows from Svea in finalize callback
  • Fix for required fields in Ultimate Affiliate Pro
  • Prevent crash in part pay widget if merchant credentials are missing/faulty for the current currency
  • Correctly set “tms_ref” on webhook callback
  • Prevent checkout from updating more than needed
  • Better handling for recurring orders that fail
  • Added filters to allow skipping of syncing order row items
  • Added process ID in logs in order to easier follow a chain of events

2.6.5 2024-02-14

  • Corrected Ingrid load order
  • Added support for attribution data in Woo. You can now see the source of the order
  • Added compatibility for the plugin Ultimate affiliate pro
  • Create a new checkout when switching between recurring and non-recurring carts
  • General improvements

2.6.4 2024-01-10

  • Corrected currency for WPML

2.6.3 2024-01-02

  • Corrected WPML geolocation based currency switcher
  • Removed PHP notice on order lookup
  • Added multilingual support for nShift webhooks

2.6.2 2023-12-21

  • Corrected error message in webhook handler when PA isn’t ready yet

2.6.1 2023-12-18

  • Restored setup of company name at checkout

2.6.0 2023-12-11

  • New status “Awaiting status” for orders which are set at “Pending” in PaymentAdmin.
  • Fields registered under checkout fields “order” will now appear in the checkout.
  • Fixed fatal error for push callbacks when trying to access removed sessions.
  • Add IP-restriction to recurring order callbacks.
  • Automatically populate $_POST with checkout data for better compatibility with other plugins

2.5.2 2023-10-26

  • Restored compatibility with WPML geolocation based currency switcher

2.5.1 2023-10-26

  • Corrected wrong table column name
  • Added support for WPC Product Bundles in the part pay widget

2.5.0 2023-10-25

  • Added support for recurring orders via WooCommerce Subscriptions
  • Better support for account creation during checkout
  • Added new table to properly map sessions between Svea and WooCommerce

2.4.4 2023-10-02

  • Added support for HPOS

2.4.3 2023-09-28

  • Ensure the checkout iframe reloads if changing country on the checkout page.
  • Add filter woocommerce_sco_should_do_cart_items_mapping_validation to turn off cart item mapping validation.

2.4.2 2023-08-04

  • Improve logic for multiple shipping locations

2.4.1 2023-07-28

  • Populate WooComerce customer object with informaiton from Svea when updating the cart
  • Better support for Fraktjakt
  • Trigger an update in the checkout when customer switches between company and private
  • Fixed typo in description
  • Added description to payment gateway visible when multiple payment gateways are being used

2.4.0 2023-07-24

  • Allow orders with 0 sum to be processed (requires Svea to enable on account)
  • Remove loading of missing css file
  • Remove notice from WPML
  • Remove state from the checkout if Svea is used since Svea don’t handle states
  • Corrected path name in comment for overriding the template
  • Remove “order awaiting payment” on new order creation to prevent faulty checkout values
  • Fix for Polylang and WPML callback/push URLs
  • Allow classes to be accessed via svea_checkout(). Example: svea_checkout()->compat->polylang;

2.3.3 2023-07-05

  • Better logging for item missmatch
  • Improved mapping for shipping for methods that use more references than method ID and instance ID such as table rate shipping

2.3.2 2023-07-04

  • Added error message if the cart does not match items in Svea
  • Only sync order items once when order is finalized
  • Removed false “depricated template” notification on the status page
  • Using better function for getting default country

2.3.1 2023-05-31

  • Fix for non loading cart if store uses “hide shipping until address is provided”

2.3.0 2023-05-26

  • Improved logic for nShift when chosing shipping
  • Fix for shipping when multiple zones are being used by ensuring customer information is present when validation callback is made
  • Prevents cash rounding from replacing removed items. Reworked logic for updating orders in WooCommerce and syncing to PaymentAdmin.

2.2.2 2023-05-09

  • Stop the change of order status if the order is failed
  • Make sure that order id is present when checking for order reference
  • Prevent orders from going from Cancelled to Processing by creating new orders for cancelled orders
  • Change order status in a later stage so that org-number is present in order processing email
  • Corrected ID used for “woocommerce_resume_order” so that it uses a correct ID if any

2.2.1 2023-04-14

  • Fixed cookie-data which allows users to login during checkout and not getting the error “Your session timed out”
  • Corrected logic regarding cash rounding
  • Corrected textdomain for “Cash rounding” making it translatable again
  • Performance improvements

2.2.0 2023-04-13

  • Added filter for order information keys in order for developers to extend functionality easier in the checkout
  • Fixed typo where sprintf used textdomain as input instead of message
  • Changed edge case where session would overwrite shipping method if request took to long to finish
  • Corrected if statement that would refresh the iframe more than needed
  • Changed behaviour so that multiple orders don’t have to be made.
  • Changed behaviour so that a order does not have to be set to “failed” between validate callbacks

2.1.6 2023-03-09

  • Corrected compatibility code for Polylang preventing double products in checkout

2.1.5 2023-03-08

  • Prevent emails being sent when order is temporarily set to failed
  • Send confirmation email later so that the payment method is included to the customer

2.1.4 2023-03-03

  • Temporary set order to failed if validation is made multiple times. This makes it easier for things such as coupons to be correctly validated
  • Include namespace in class check
  • Fixed bug where YITH WooCommerce gift card would case an issue if checkout failed
  • Removed unnecessary validation check for pushes
  • Renamed “Payment intent” to “Payment validations” in order to reduce confusion in metabox

2.1.3 2023-02-22

  • Fix for when using WPML but not WCML

2.1.2 2023-02-21

  • Better compatibility with WCML currency switcher based on geolocation
  • Js: No longer reload checkout if postcode is empty

2.1.1 2023-02-13

  • Remove dev code which casued fatal error

2.1.0 2023-02-10

  • nShift integration directly in the checkout
  • Restore styling for part payment
  • Only enqueue checkout script and style on the checkout page
  • Better support for shipping options with special IDs such as Table Rate Shipping
  • Correct country for WPML/WCML in order to use correct currency
  • Support for conditional countries by WCML
  • Create new order if session customer id changed (user logged/in out during checkout)
  • Prevent cancelling in Svea from older WooCommerce orders
  • Fallback to shipping address is no billing address is available
  • Corrected labels for metabox while logging is enabled
  • Removed unnecessary heartbeat function from javascript
  • Updated dependency for sveawebpay/php-checkout to ^1.4
  • New structure for MerchantData

2.0.3 2023-01-24

  • Ensure the WooCommerce session is available
  • Create a new order if current ID has been cancelled
  • Correct the array key for refunds
  • Correct the PSR-4 autoload name for Yith Gift Cards
  • Added more logging

2.0.2 2023-01-16

  • Corrected comparison for order sync
  • Corrected changelog version for 2.0.1
  • Removed unused setting
  • Added missing translations

2.0.1 2023-01-13

  • Corrected call to esc_html__()
  • Catch the output from other sources before sending response to Svea in validation_callback

2.0.0 2023-01-09

  • Rewrite of order logic. Now follows WooCommerce logic more closely and orders are not created in the background

1.18.3 2022-08-24

  • Correctly map the payment methods Swish, Vipps and Mobilepay
  • Better delivery for orders in Svea Payment Admin when orders are without shipping

1.18.2 2021-05-23

  • Allow filters to change the cleanup interval
  • Updated supported versions

1.18.1 2021-04-12

  • Updated supported versions

1.18.0 2021-01-11

  • Partially support for YITH Coupons free version only
  • Changed order of sync and hook for better compability

1.17.2 2020-10-07

  • Observe postcode changes even if checkout is loaded earlier

1.17.1 2020-09-21

  • Update Svea logo
  • Fix line calculations

1.17.0 2020-09-11

  • Redirect to standard WooCommerce checkout page if cart total is 0
  • Properly calculate credit amounts when products have many decimals

1.16.0 2020-08-05

  • Shortcode for part payment widget
  • Create new order when there’s a change in currency

1.15.1 2020-05-14

  • Handle problems with crediting orders that contain order rows with many decimals
  • Properly fetch the order row ID when adding order rows to an order

1.15.0 2020-04-14

  • Storing and displaying company reg numbers on view order page

1.14.3 2020-04-10

  • Optimizations

1.14.2 2020-04-06

  • Multisite support

1.14.1 2020-03-27

  • Checkout performance improvements

1.14.0 2020-03-24

  • Add support for WooCommerce 4.0
  • Add support for multisite network activation

1.13.2 2020-02-03

  • Split customer reference to populate first- and lastname fields on company orders

1.13.1 2019-09-26

  • Change do_action-format for woocommerce checkout order processed

1.13.0 2019-06-27

  • Add support for Denmark
  • Start logging pushes to add warnings if the connection to Svea is not working in the future

1.12.0 2019-06-18

  • Filters to enable reload of checkout
  • Only target Svea-checkout form for changes to prevent unneeded ajax-requests

1.11.0 2019-04-24

  • Compatibility with WooCommerce 3.6
  • Add filter to toggle order rows-sync after completed order

1.10.0 2019-03-13

  • Add ability to hide elements in the Svea iframe through settings

1.9.0 2019-03-13

  • Add ability to hide elements in the Svea iframe through settings

1.9.0 2019-02-14

  • Add support for invoice fee

1.8.0 2019-02-01

  • Add setting to keep cancelled orders
  • Prevent empty cancelled orders from showing up in the order list

1.7.2 2019-01-03

  • Upgrade Svea integration package
  • Test with WordPress 5.0.2
  • Changes to syncing of unfinished orders

1.7.1 2018-11-18

  • Fix calculations for whether or not to display part payment widget on products

1.7.0 2018-10-18

  • Added support for WooCommerce Subscribe to Newsletter and other third party plugins adding fields to the checkout
  • Add new part payment widget with options to show and select position on product page
  • Add option to disable ZIP code syncing between Svea and WooCommerce, usable for shops only selling digital wares

1.6.0 2018-09-28

  • Add support for WooCommerce Shipping Calculator
  • Add versioning to template files
  • Add new hooks and filters

1.5.0 2018-06-21

  • Add support for zipcode based shipping
  • Optimize and improve load times for the checkout