Support » Plugin: Resurs Bank payment gateway for WooCommerce » Activation fails. Fatal error: Uncaught RBEcomPHP Exception

  • Resolved contrastdigital

    (@contrastdigital)


    Hello, when I try to activate the plugin in my local enviroment(or staging) it fails and throws this error:

    Fatal error: Uncaught RBEcomPHP Exception: [1006]: SOAP Service getPaymentMethods: Unauthorized thrown in /data/wordpress/htdocs/wp-content/plugins/resurs-bank-payment-gateway-for-woocommerce 2/vendor/resursbank/ecomphp/source/classes/rbapiloader.php on line 3026

    It could be that the plugin could work in production side, but I don’t really want to activate the plugin unless it works in staging cleanly. Any ideas what could be the issue? I tried installation from WordPress side and straight from repo, but same issue both ways.

    Details about my site are below.

    
    ### wp-core ###
    
    version: 5.6.4
    site_language: fi
    user_language: fi
    timezone: Europe/Helsinki
    permalink: /%year%/%monthnum%/%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: closed
    environment_type: production
    user_count: 10146
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /data/wordpress/htdocs/wordpress
    wordpress_size: loading...
    uploads_path: /data/wordpress/htdocs/wp-content/uploads
    uploads_size: loading...
    themes_path: /data/wordpress/htdocs/wp-content/themes
    themes_size: loading...
    plugins_path: /data/wordpress/htdocs/wp-content/plugins
    plugins_size: loading...
    database_size: loading...
    total_size: loading...
    
    ### wp-dropins (1) ###
    
    install.php: true
    
    ### wp-active-theme ###
    
    name: larunpyora2016 (larunpyora2016)
    version: 1.3.11
    author: Contrast Digital
    author_website: http://contrast.fi
    parent_theme: Contrast Themework (cntrst-themework)
    theme_features: core-block-patterns, menus, post-thumbnails, wc-product-gallery-lightbox, woocommerce
    theme_path: /data/wordpress/htdocs/wp-content/themes/larunpyora2016
    
    ### wp-parent-theme ###
    
    name: Contrast Themework (cntrst-themework)
    version: 1.3.23
    author: Contrast Digital
    author_website: http://www.contrast.fi
    theme_path: /data/wordpress/htdocs/wp-content/themes/cntrst-themework
    
    ### wp-themes-inactive (2) ###
    
    Storefront: version: 3.5.0, author: Automattic (latest version: 3.7.0)
    Twenty Twenty-One: version: 1.1, author: WordPress-tiimi (latest version: 1.3)
    
    ### wp-mu-plugins (3) ###
    
    Bedrock Autoloader: version: 1.0.0, author: Roots
    custom.php: author: (undefined), version: (undefined)
    Register Theme Directory: version: 1.0.0, author: Roots
    
    ### wp-plugins-active (28) ###
    
    Advanced Custom Fields PRO: version: 5.9.0, author: Elliot Condon (latest version: 5.9.6)
    AJAX Thumbnail Rebuild: version: 1.13, author: junkcoder, ristoniinemets
    Classic Editor: version: 1.6, author: WordPress Contributors
    CMB2: version: 2.9.0, author: CMB2 team
    Contrast Framework: version: 1.4.11, author: Contrast Digital Oy
    Contrast Poppers: version: 1.2.2, author: Sampo Silvennoinen / Contrast.fi
    Contrast WooCommerce Kassa.fi: version: 1.2.2, author: Contrast Digital Oy & Subcontractor
    HTML5 Responsive FAQ: version: 2.8.5, author: Ankit Agarwal, Priyanshu Mittal
    Laru Dynamic Shipping: version: 1.0.0, author: Sampo Silvennoinen / Contrast.fi
    MailChimp for WordPress - Premium: version: 3.3.6, author: ibericode
    MC4WP: Mailchimp for WordPress: version: 4.8.5, author: ibericode
    PixelYourSite PRO: version: 6.3.0, author: PixelYourSite (latest version: 8.3.7)
    Print Invoice & Delivery Notes for WooCommerce: version: 4.6.2, author: Tyche Softwares
    Product Catalog Feed Pro by PixelYourSite: version: 3.3.3.1, author: PixelYourSite (latest version: 5.1.2)
    Regenerate Thumbnails: version: 3.1.4, author: Alex Mills (Viper007Bond) (latest version: 3.1.5)
    Simple Custom Post Order: version: 2.5.3, author: Colorlib (latest version: 2.5.6)
    Smash Balloon Instagram Feed: version: 2.7, author: Smash Balloon (latest version: 2.9.1)
    Tawk.to Live Chat: version: 0.4.3, author: Tawkto (latest version: 0.5.4)
    WooCommerce: version: 4.9.2, author: Automattic (latest version: 5.4.1)
    WooCommerce Google Analytics Pro: version: 1.9.1, author: SkyVerge
    WooCommerce Paytrail Gateway: version: 2.2.0, author: SkyVerge
    WooCommerce Posti SmartShip: version: 1.3.9, author: Lauri Karisola / markup.fi (latest version: 1.5.2)
    WooCommerce Product Search: version: 2.21.0, author: itthinx
    WooCommerce Waitlist: version: 2.1.19, author: Neil Pie
    WP Crontrol: version: 1.10.0, author: John Blackbourn & crontributors
    WP Mail Logging: version: 1.9.7, author: MailPoet
    WP Sync DB: version: 1.5, author: Sean Lang
    WP Sync DB Media Files: version: 1.1.4b1, author: Sean Lang
    
    ### wp-plugins-inactive (1) ###
    
    WP Maintenance Mode: version: 2.3.0, author: Designmodo (latest version: 2.4.0)
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1687
    imagemagick_version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
    file_uploads: File uploads is turned off
    post_max_size: 128M
    upload_max_filesize: 128M
    max_effective_size: 128 Mt
    max_file_uploads: 20
    imagick_limits: 
    	imagick::RESOURCETYPE_AREA: 122 Mt
    	imagick::RESOURCETYPE_DISK: 1073741824
    	imagick::RESOURCETYPE_FILE: 786432
    	imagick::RESOURCETYPE_MAP: 512 Mt
    	imagick::RESOURCETYPE_MEMORY: 256 Mt
    	imagick::RESOURCETYPE_THREAD: 1
    gd_version: 2.3.0
    ghostscript_version: 9.26
    
    ### wp-server ###
    
    server_architecture: Linux 4.15.0-137-generic x86_64
    httpd_software: nginx/1.18.0
    php_version: 7.4.18 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 5000
    time_limit: 60
    memory_limit: 256M
    max_input_time: 60
    upload_max_filesize: 128M
    php_post_max_size: 128M
    curl_version: 7.58.0 OpenSSL/1.1.1
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 10.5.10-MariaDB-1:10.5.10+maria~bionic
    client_version: mysqlnd 7.4.18
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /data/wordpress/htdocs/wp-content
    WP_PLUGIN_DIR: /data/wordpress/htdocs/wp-content/plugins
    WP_MAX_MEMORY_LIMIT: 256M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: false
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_LOCAL_DEV: undefined
    DB_CHARSET: utf8
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    
    

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter contrastdigital

    (@contrastdigital)

    I got trough this by deactivating other plugins, and once I had only resurs bank and woocommerce activated it worked. After putting my creds in the plugin it authorized and the error didin’t come up anymore. There seems to be some sort of clash between other payment methods plugins that cause this error, but you can get around it by just doing what I did.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.