multishipping – Payment options for multi shipping checkout process

We’re in the process of upgrading to Magento 2.3.3. We’re discovering that multi shipping payments are being deprecated because of the EU Payment Service Directive (PSD2).

Does anybody have experience with a payment service that works with Magento 2.3.3 and forward that works for multi shipping? What did it take to make it work?

Any info would be greatly appreciated.

multishipping: Magento2 adds an additional fee to Muti Shipping Checkout

I want to add an additional rate in multiple shipping according to the article
If the item is one, add $ 5
yes 2 items that add $ 10

How can I do that ??

my collection function is as below

public function collect(
    Quote $quote,
    ShippingAssignmentInterface $shippingAssignment,
    Total $total

    parent::collect($quote, $shippingAssignment, $total);

    if (!sizeof($shippingAssignment->getItems())) {
        return $this;

    $total->setTotalAmount('fee', 0);
    $total->setBaseTotalAmount('fee', 0);

        $getShippingAddresses = $quote->getAllShippingAddresses();
        foreach ($getShippingAddresses as $address) {
            $fee = 20;

            $totals = $address->getTotals();
            $address->setTotalAmount('fee', $fee);
            $address->setTotalAmount('fee', $fee);

    return $this;

It doesn't work, it doesn't add rate