Inhalte aufrufen

Profilbild

Subscriptionactivation URL with email instead of user GUID


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
6 Antworten zu diesem Thema

#1 TripleNico

TripleNico

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 124 Beiträge

Geschrieben: 15 April 2020 - 07:57

Dear,

 

Was wondering if it is possible to use the /newsletter/subscriptionactivation/{USER_Email}/FalseOrTrue instead of using the user GUID. This because we would like to use the mechnisme with other external newsletters that aren't connected with the website and therefore has no knowledge of a user GUID.



#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3801 Beiträge

Geschrieben: 15 April 2020 - 15:27

Not out of the box but should be easy to add. I would recommend adding another optional parameter for the email to SubscriptionActivation action method. If this is set, INewsLetterSubscriptionService.GetNewsLetterSubscriptionByEmail is called instead of INewsLetterSubscriptionService.GetNewsLetterSubscriptionByGuid.

Marcus Gesing

Smartstore AG


#3 TripleNico

TripleNico

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 124 Beiträge

Geschrieben: 16 April 2020 - 07:55

Good to know it's simple to fix. Could you add this to the class so that in a new release this is part of the standard functionality? 

 

Also, if i want to adjust it know, where do i have to adjust it?



#4 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3801 Beiträge

Geschrieben: 16 April 2020 - 15:28

In the mentioned SubscriptionActivation action method.

Marcus Gesing

Smartstore AG


#5 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3801 Beiträge

Geschrieben: 16 April 2020 - 15:45

Added an issue for activation by email.


Marcus Gesing

Smartstore AG


#6 TripleNico

TripleNico

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 124 Beiträge

Geschrieben: 16 April 2020 - 15:45

Great, i will await the new release with this option added. Any time frame?



#7 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3801 Beiträge

Geschrieben: 16 April 2020 - 15:50

Follow the issue links. API > 4.0 > maybe. Activation by email... I don't think we will be able to make that to version 4.0. Too much other work.


Marcus Gesing

Smartstore AG