| @@ -311,9 +311,8 @@ | ||
| 311 | 311 | if ( $this->getMetaAsNullableString( $order, self::META_POINT_ID ) !== null ) { |
| 312 | 312 | $orderEntity->setPickupPoint( |
| 313 | 313 | new Core\Entity\PickupPoint( |
| 314 | 314 | $this->getMetaAsNullableString( $order, self::META_POINT_ID ), |
| 315 | - null, | |
| 316 | 315 | $this->getMetaAsNullableString( $order, self::META_POINT_NAME ), |
| 317 | 316 | $this->getMetaAsNullableString( $order, self::META_POINT_CITY ), |
| 318 | 317 | $this->getMetaAsNullableString( $order, self::META_POINT_ZIP ), |
| 319 | 318 | $this->getMetaAsNullableString( $order, self::META_POINT_STREET ), |
| @@ -335,9 +334,8 @@ | ||
| 335 | 334 | $orderEntity->setDeliveryAddress( $validatedAddress ); |
| 336 | 335 | } |
| 337 | 336 | |
| 338 | 337 | $this->orderRepository->save( $orderEntity ); |
| 339 | - // Ignore errors. Save the metadata even if the previous call fails. | |
| 340 | 338 | $order->save_meta_data(); |
| 341 | 339 | } |
| 342 | 340 | } |
| 343 | 341 | |