Title: Getting error with Vips
Last modified: August 16, 2024

---

# Getting error with Vips

 *  Resolved [vkings24](https://wordpress.org/support/users/vkings24/)
 * (@vkings24)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/getting-error-with-vips/)
 * On trying to pay through Vipps gets error of 500. Login with Vipps is working
   so the problem is when we need to pay through Vipps on product
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetting-error-with-vips%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [Iver Odin Kvello](https://wordpress.org/support/users/iverok/)
 * (@iverok)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/getting-error-with-vips/#post-17957524)
 * Can you check your server PHP logs to see what error is reported, as well as 
   the WooCommerce logs found in WooCommerce/status/logs/, in particular the ones
   named “fatal errors” and “woo-vipps” ?
 * Also, are you using the normal WooCommerce checkout or Vipps Checkout (or Express
   checkout)
 *  Thread Starter [vkings24](https://wordpress.org/support/users/vkings24/)
 * (@vkings24)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/getting-error-with-vips/#post-17961694)
 * Hei
 * Plugin I am using are Pay with Vipps and mobile pay for woocommerce and another
   one is Vipps/MobilePay recurring payments for WooCommerce
 * Unable to add any screenshots here of logs
 *  Plugin Author [Iver Odin Kvello](https://wordpress.org/support/users/iverok/)
 * (@iverok)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/getting-error-with-vips/#post-17962079)
 * The “Pay with Vipps/Mobilepay” plugin supports three ways of paying: The normal
   WooCommerce checkout page, Express Checkout (the “Buy now”-button) and Vipps 
   Mobilepay Checkout, which replaces the normal WooCommerce checkout page. Which
   one are you using when these errors occur?
 * For the error message, it’s better if you post the actual text of the errors 
   instead of screenshots.
 *  Thread Starter [vkings24](https://wordpress.org/support/users/vkings24/)
 * (@vkings24)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/getting-error-with-vips/#post-17963938)
 * I am using Vipps checkout (Buy now button) and checkout button on cart , and 
   it gives me error 500 .
 * Here are the logs of Fatal error
 * Viewing log file fatal-errors-2024-08-20
 * **2024-08-20T09:28:48+00:00****Critical** Uncaught Error: Call to undefined function
   wcs_is_subscription() in /home/basicsby/beingbasics.com/wp-content/plugins/vipps-
   recurring-payments-gateway-for-woocommerce/includes/wc-gateway-vipps-recurring.
   php:2060 Additional context{ “error”: { “type”: 1, “file”: “/home/basicsby/beingbasics.
   com/wp-content/plugins/vipps-recurring-payments-gateway-for-woocommerce/includes/
   wc-gateway-vipps-recurring.php”, “line”: 2060 }, “backtrace”: [ “”, “#0 /home/
   basicsby/beingbasics.com/wp-includes/class-wp-hook.php(324): WC_Gateway_Vipps_Recurring-
   >update_agreement_price_in_app()”, “#1 /home/basicsby/beingbasics.com/wp-includes/
   class-wp-hook.php(348): WP_Hook->apply_filters()”, “#2 /home/basicsby/beingbasics.
   com/wp-includes/plugin.php(517): WP_Hook->do_action()”, “#3 /home/basicsby/beingbasics.
   com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(1967):
   do_action()”, “#4 /home/basicsby/beingbasics.com/wp-content/plugins/woo-vipps/
   WC_Gateway_Vipps.class.php(3393): WC_Abstract_Order->calculate_totals()”, “#5/
   home/basicsby/beingbasics.com/wp-content/plugins/woo-vipps/VippsCheckout.class.
   php(351): WC_Gateway_Vipps->create_partial_order()”, “#6 /home/basicsby/beingbasics.
   com/wp-includes/class-wp-hook.php(324): VippsCheckout->vipps_ajax_checkout_start_session()”,“#
   7 /home/basicsby/beingbasics.com/wp-includes/class-wp-hook.php(348): WP_Hook-
   >apply_filters()”, “#8 /home/basicsby/beingbasics.com/wp-includes/plugin.php(
   517): WP_Hook->do_action()”, “#9 /home/basicsby/beingbasics.com/wp-admin/admin-
   ajax.php(207): do_action()”, “#10 {main}”, “thrown” ] }[](https://beingbasics.com/wp-admin/admin.php?page=wc-status&tab=logs&view=single_file&file_id=fatal-errors-2024-08-20#L2)**
   2024-08-20T09:30:32+00:00****Critical** Uncaught Error: Call to undefined function
   wcs_is_subscription() in /home/basicsby/beingbasics.com/wp-content/plugins/vipps-
   recurring-payments-gateway-for-woocommerce/includes/wc-gateway-vipps-recurring.
   php:2060 Additional context{ “error”: { “type”: 1, “file”: “/home/basicsby/beingbasics.
   com/wp-content/plugins/vipps-recurring-payments-gateway-for-woocommerce/includes/
   wc-gateway-vipps-recurring.php”, “line”: 2060 }, “backtrace”: [ “”, “#0 /home/
   basicsby/beingbasics.com/wp-includes/class-wp-hook.php(324): WC_Gateway_Vipps_Recurring-
   >update_agreement_price_in_app()”, “#1 /home/basicsby/beingbasics.com/wp-includes/
   class-wp-hook.php(348): WP_Hook->apply_filters()”, “#2 /home/basicsby/beingbasics.
   com/wp-includes/plugin.php(517): WP_Hook->do_action()”, “#3 /home/basicsby/beingbasics.
   com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(1967):
   do_action()”, “#4 /home/basicsby/beingbasics.com/wp-content/plugins/woo-vipps/
   WC_Gateway_Vipps.class.php(3393): WC_Abstract_Order->calculate_totals()”, “#5/
   home/basicsby/beingbasics.com/wp-content/plugins/woo-vipps/VippsCheckout.class.
   php(351): WC_Gateway_Vipps->create_partial_order()”, “#6 /home/basicsby/beingbasics.
   com/wp-includes/class-wp-hook.php(324): VippsCheckout->vipps_ajax_checkout_start_session()”,“#
   7 /home/basicsby/beingbasics.com/wp-includes/class-wp-hook.php(348): WP_Hook-
   >apply_filters()”, “#8 /home/basicsby/beingbasics.com/wp-includes/plugin.php(
   517): WP_Hook->do_action()”, “#9 /home/basicsby/beingbasics.com/wp-admin/admin-
   ajax.php(207): do_action()”, “#10 {main}”, “thrown” ] }
 *  Plugin Author [Iver Odin Kvello](https://wordpress.org/support/users/iverok/)
 * (@iverok)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/getting-error-with-vips/#post-17963983)
 * As you can see from the error message:
 *     ```wp-block-code
        Uncaught Error: Call to undefined function wcs_is_subscription() in /home/basicsby/beingbasics.com/wp-content/plugins/vipps-recurring-payments-gateway-for-woocommerce/includes/wc-gateway-vipps-recurring.php
       ```
   
 * — the error is coming from the Vipps Recurring plugin, which has a home here:
   [https://wordpress.org/plugins/vipps-recurring-payments-gateway-for-woocommerce/](https://wordpress.org/plugins/vipps-recurring-payments-gateway-for-woocommerce/).
   They will be able to provide more help, but on the face of it, it looks like 
   there is an issue with the WooCommerce Subscriptions plugin, so you may want 
   to check that this is installed, active and up to date first.
 *  Thread Starter [vkings24](https://wordpress.org/support/users/vkings24/)
 * (@vkings24)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/getting-error-with-vips/#post-17966211)
 * Is it neccessary to buy Woocommerce subscription plugin to use checkout ?
 *  Plugin Author [Iver Odin Kvello](https://wordpress.org/support/users/iverok/)
 * (@iverok)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/getting-error-with-vips/#post-17966214)
 * No, but it is needed to use the Vipps Recurring plugin. Checkout can be used 
   for non-subscription items with this plugin.
 *  Thread Starter [vkings24](https://wordpress.org/support/users/vkings24/)
 * (@vkings24)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/getting-error-with-vips/#post-17966216)
 * Ok I’ll check with that Plugin
 *  Thread Starter [vkings24](https://wordpress.org/support/users/vkings24/)
 * (@vkings24)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/getting-error-with-vips/#post-17966221)
 * Its already active .This plugin you meant right ?
 * [Vipps/MobilePay recurring payments for WooCommerce](https://beingbasics.com/wp-admin/plugin-install.php?tab=plugin-information&plugin=vipps-recurring-payments-gateway-for-woocommerce&TB_iframe=true&width=772&height=958)
    - Active
    - [More Details](https://beingbasics.com/wp-admin/plugin-install.php?tab=plugin-information&plugin=vipps-recurring-payments-gateway-for-woocommerce&TB_iframe=true&width=772&height=958)
 * If I’ll deactivate this plugin then may be checkout works. I’ll let you know 
   after this
    -  This reply was modified 1 year, 9 months ago by [vkings24](https://wordpress.org/support/users/vkings24/).
 *  Thread Starter [vkings24](https://wordpress.org/support/users/vkings24/)
 * (@vkings24)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/getting-error-with-vips/#post-17966255)
 * Thank you for your support its working after deactivating that plugin
 *  Thread Starter [vkings24](https://wordpress.org/support/users/vkings24/)
 * (@vkings24)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/getting-error-with-vips/#post-17966474)
 * Also I have no product with subscription so when I am using recurring plugin 
   then it gives error . And by deactivating this no error
 *  Plugin Author [Iver Odin Kvello](https://wordpress.org/support/users/iverok/)
 * (@iverok)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/getting-error-with-vips/#post-17968552)
 * Yes, that’s as expected – Vipps Recurring requires WooCommerce Subscriptions.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Getting error with Vips’ is closed to new replies.

 * ![](https://ps.w.org/woo-vipps/assets/icon-256x256.png?rev=3025665)
 * [Pay with Vipps and MobilePay for WooCommerce](https://wordpress.org/plugins/woo-vipps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-vipps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-vipps/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-vipps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-vipps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-vipps/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [Iver Odin Kvello](https://wordpress.org/support/users/iverok/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/getting-error-with-vips/#post-17968552)
 * Status: resolved