Dynamic Options Callback must be a non-local URI.

Hi,

I wanted to install this Vipps/Mobilepay-plugin to my local site, but looks like this kind of process is not fully supported? I got this error when I tried to purchase product:


2024-09-24T06:59:44+00:00
Virhe Webhookeja ei voitu rekisteröidä merchant serial number 2051863 callback:ia https://local-site.codetag/wc-api/wc_gateway_vipps/?callback=webhook varten: Extra details: Array ( [0] => Array ( [name] => url [reason] => The URL and/or hostname you provided is not allowed. ) ) 2024-09-24T07:00:17+00:00 Info Verkkosivustollasi ei ole Käyttöehdot-sivua – Vipps Checkout aloitetaan kuitenkin, mutta tällainen sivu tulisi määrittää 2024-09-24T07:00:17+00:00 Testaustila Initiating Checkout session for woolylynpi1949 2024-09-24T07:00:17+00:00 Virhe Vipps Checkout istuntoa ei voitu aloittaa: Array ( [Logistics.DynamicOptionsCallback] => Array ( [0] => Dynamic Options Callback must be a non-local URI. ) [MerchantInfo.CallbackUrl] => Array ( [0] => Callback Url must be a non-local URI. ) [Transaction.OrderSummary.OrderLines[0].ProductUrl] => Array ( [0] => Product Url must be a non-local URI. ) )

Loader is shown a few seconds and then there is just error text for user. And above error in log.

I use Laragon (supports custom URLs and local SSL) 5.0.0 with PHP 8.1.22, Apache httpd-2.4.35 and MySQL 8.0.30. Operating system is Windows 10.

Some of the previous payment service providers I have worked with allow local URLs, so this is a bit of bummer if I really have to develop webshop at almost public address.

Is there some kind of workaround? I didn’t find anything from official Vipps/Mobilepay docs that says that I can’t develop using local URLs with this plugin.

Thanks in advance.

– Markus

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer