Developer forum

Forum » Ecommerce - Standard features » Azure B2C login and Payment providers

Azure B2C login and Payment providers

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I am sorry if I duplicate this question, I may have asked something similar a while ago but I cannot find the post anymore.

I have a solution where the access is granted only based on the Azure B2C authentication.

The Authentication works well but we are experiencing some issues with the order that are paid with a credit card.

We redirect the user to the credit card provider, the payment is processed but when the user is sent back to the Receipt, they cannot see the receipt as their authentication is lost.

How do I solve this? Is this something I have to change in the checkout handler or in Azure B2C configuration?

Thank you,
Adrian


Replies

 
Nicolai Pedersen
Reply

Hi Adrian

When the user leaves the website, Azure B2C will log them off by default because that is how it works (as I read it). The payment step is leaving their domain logging off the users.

I can think of 2 solutions

  1. Create another cart page for showing the receipt and remove permissions on that page. In that way you can checkout on one page (with permissions) and show the receipt on another page (without permissions)
  2. I think you can enable KMSI in B2C - see these: https://docs.microsoft.com/en-us/azure/active-directory-b2c/session-behavior?pivots=b2c-user-flow and https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/keep-me-signed-in

BR Nicolai

 

You must be logged in to post in the forum