Helper/Cart.php
private function handlePuertoRico($addressData)
    {
        $address = (array)$addressData;
        if ($address['country_code'] === 'PR') {
            $address['country_code'] = 'US';
            $address['country'] = 'United States';
            $address['region'] = 'Puerto Rico';
        }
        return is_object($addressData) ? (object)$address : $address;
    }
private function handlePuertoRico($addressData)
    {
        $address = (array)$addressData;
        if ($address['country_code'] === 'PR') {
            $address['country_code'] = 'US';
            $address['country'] = 'United States';
            $address['region'] = 'Puerto Rico';
        }
        return is_object($addressData) ? (object)$address : $address;
    }
private function handlePuertoRico ( $ addressData ) { $ address = ( array ) $ addressData ; if ( $ address [ 'country_code' ] === 'PR' ) { $ address [ 'country_code' ] = 'US' ; $ address [ 'country' ] = 'United States' ; $ address [ 'region' ] = 'Puerto Rico' ; } return is_object ( $ addressData ) ? ( object ) $ address : $ address ; }
Handle Puerto Rico address special case. Bolt thinks Puerto Rico is a country magento thinks it is US.

@param array|object $addressData
@return array|object
Handle Puerto Rico address special case . Bolt thinks Puerto Rico is a country magento thinks it is US .