

Posten Bring Checkout main page
Official Posten Bring checkout plugin for WooCommerce
Posten Bring AS offers comprehensive logistics solutions. The app showcases B2C shipping methods, streamlines customer choices with lead time, environmental data, and parcel locker options.
The app ensures effortless shipping by offering easy installation, updates, rate adjustments, and direct label printing from the administration pages. Available for shipments in Norway, Sweden & Denmark.
This plugin communicates with official Bring APIs api.bring.com to be able to present available shipping options, pickup points,
prices and lead time during checkout, as well as booking shipments and generating labels. A Mybring account is required to
communicate with the APIs. The general Mybring terms and conditions apply.
The following data will be used when communicating with the APIs:
The plugin offers these hooks for developers who want to extend it.
Fires when a pickup point is stored on an order, normally during checkout. Receives the WC_Order and an array describing the pickup point: id, name, address, postalCode, city and country. postalCode and city are null if the pickup point address could not be parsed. It can fire more than once for the same order, so make your listener idempotent.
add_action( 'posten_bring_checkout_pickup_point_selected', function ( $order, $pickup_point ) {
$order->update_meta_data( 'my_pickup_point_name', $pickup_point['name'] );
$order->save();
}, 10, 2 );
Fires after a customer has requested a return. Receives the order id and the return id. When returns are approved automatically, booking has already been attempted when this fires; check whether the return’s status is booked or booking_failed.
add_action( 'posten_bring_checkout_return_requested', function ( $order_id, $return_id ) {
wc_get_logger()->info( "Return $return_id requested for order $order_id" );
}, 10, 2 );
Fires after the shop has declined a return. Receives the order id and the return id. The order’s returns are locked while it fires, so your listener cannot change returns on the same order.
add_action( 'posten_bring_checkout_return_declined', function ( $order_id, $return_id ) {
wc_get_logger()->info( "Return $return_id declined for order $order_id" );
}, 10, 2 );
Return true to hide the shipping company dropdown on the order list. Defaults to false.
add_filter( 'posten_bring_checkout_disable_shipping_provider_filter', '__return_true' );