Disable Next button to prevent order placement based on shipping address information in Magento 2

We need to disable Next button on the shipping page to prevent fraud orders to certain addresses like carry forwarders and out of country. Are there any open source or paid extensions to disable order placement or disable Next button based on restricted addresses data lookup from a custom table?

What is the right place if this has to be done in a custom module and approach, without any product attributes and customer group data, since customer(s) can create new account each time they order?


UPS shipping error

This night I ran into the problem that the UPS method stopped working.

The error on the front-end: “This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.

By enabled debug for UPS method I got next logs:

[2019-04-16 18:55:13] main.DEBUG: array (   'request' =>    array (     'accept_UPS_license_agreement' => 'yes',     '10_action' => '4',     '13_product' => 'GNDRES',     '14_origCountry' => 'US',     '15_origPostal' => '44610',     'origCity' => NULL,     '19_destPostal' => '93906',     '22_destCountry' => 'US',     '23_weight' => 5.0,     '47_rate_chart' => 'One Time Pickup',     '48_container' => '00',     '49_residential' => '01',     'weight_std' => 'lbs',   ),   'result' => '', ) [] [] 

No result.
Where might be an issue?

Magento 2.2.6


Select and create shipping address in custom view

I have an custom screen, in a module, when i need to select one of multiples addresses and create new if necessary, i find similar in magento2:

like in this question : this is a link to question in exchange

my question is, how can i implement the magento method in my custom module, i dont know if the correct way is copy paste or have an way to import and use, the files of magento are located in:

vendor/magento/module-checkout/view/frontend/web/template/shipping-address/list.html  vendor/magento/module-checkout/view/frontend/web/template/shipping-address/address-renderer/default.html  vendor/magento/module-checkout/view/frontend/web/js/view/shipping-address/list.js  vendor/magento/module-checkout/view/frontend/web/js/view/shipping-address/address-renderer/default.js 

Create coupon that sets the shipping rate to a specific amount

I need to create a coupon that sets the shipping rate of an item to a specific amount.

For instance, if the customer purchases any item and uses this specific coupon code (cart rule), their shipping amount is always set to $ 5, no matter what.

So if a customer buys a $ 3 item and their shipping is $ 10, this will always lower their shipping to $ 5, giving a total of $ 8.