• Resolved twosisters2026

    (@twosisters2026)


    Hi. I have installed the plugin ‘Pay with Vipps and MobilePay for WooCommerce’ our website which is made in WordPress. When the customer in Checkout arrives for delivery, the customer cannot choose which delivery point the customer can pick up the package at when the field ‘Activate alternative MobilePay Checkout screen that replaces the standard checkout page’ is switched on. If I remove the check mark, the customer can choose the delivery location, but in return the customer cannot choose card payment. Can you help me?

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

Viewing 1 replies (of 1 total)
  • Plugin Contributor Lasse Pladsen

    (@lassepladsen)

    Hello,

    I took at look at your site and it looks like your pickup/delivery point is from Shipmondo, this is a third party shipping plugin not native WooCommerce, and is today not supported out of the box in Vipps MobilePay Checkout. We may develop support for Shipmondo in the future, but that is not decided yet.

    We have implemented a filter which can be used to create an integration with Shipmondo and Vipps MobilePay Checkout, though you’d have to be or have access to a developer for this. The filter and a skeleton example is provided below

    add_filter('woo_vipps_shipping_method_pickup_points', 'add_pickup_points', 10, 4);

    function add_pickup_points($pickup_points, $shipping_rate, $shipping_method, $order) {
    // You may want to check the shipping rate or method parameter and assert its the correct shipmondo one, and use the values from it directly.
    // e.g: if ($shipping_method->id === 'my_shipmondo_method_id') {
    // add the pickup points from this shipmondo method
    //}

    // Example pickup point:
    $pickup_points[] = [
    'id' => 'main_street',
    'name' => 'Main street store',
    'address' => 'Karl Johan 16',
    'city' => 'Oslo',
    'postalCode' => '0196',
    'country' => 'NO',
    'openingHours' => [
    'Man-lør: 1000-2000',
    'Søn: Stengt',
    ],
    'leadTime' => [
    'earliest' => '2025-04-10',
    'latest' => '2025-04-28',
    ],
    ];

    return $pickup_points;
    }

    Alternatively, you can migrate your pickup/delivery points from Shipmondo to normal WooCommerce, this feature is called Local Pickup and is supported automatically by Vipps MobilePay Checkout, more info: https://woocommerce.com/document/local-pickup/

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.