Skip to content
Snippets Groups Projects
Commit 8fa15de2 authored by Paul Smith's avatar Paul Smith Committed by Jonathan Sacksick
Browse files

Issue #3345465: Conflict with Decoupled User Authentication module.

parent 4ddeddd8
Branches
Tags
8 merge requests!418Issue #3511232 by ccjjmartin: Fix add to cart dropdown when only one non-default variation type is provided,!379Issue #3491248 Validation is breaking the amount number format decimal point,!375Issue #3413020 by czigor: Using a translatable string as a category for field...,!357Issue #2914933: Add service tags to order-related interfaces,!344Resolve #3107602 "Product attributes do not update visually when switching variations",!343Resolve #3107602 "Product attributes do not update visually when switching variations",!342Issue #3476581 by josephr5000: add OrderItemLabelEvent,!142Issue #3345465: Conflict with Decoupled User Authentication module
......@@ -487,7 +487,7 @@ abstract class PaymentGatewayBase extends PluginBase implements PaymentGatewayIn
*/
public function getRemoteCustomerId(UserInterface $account) {
$remote_id = NULL;
if ($account->isAuthenticated()) {
if (!$account->isAnonymous()) {
$provider = $this->parentEntity->id() . '|' . $this->getMode();
/** @var \Drupal\commerce\Plugin\Field\FieldType\RemoteIdFieldItemListInterface $remote_ids */
$remote_ids = $account->get('commerce_remote_id');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment