protected function getShippingAddressHash(Customweb_Payment_Authorization_IOrderContext $orderContext) { $addressString = $orderContext->getShippingFirstName() . '|' . $orderContext->getShippingLastName() . '|' . $orderContext->getShippingStreet() . '|' . $orderContext->getShippingCity() . '|' . $orderContext->getShippingCountryIsoCode() . '|' . $orderContext->getShippingState(); return hash('sha256', $addressString); }