我正在探索网络上的象征化支付,我有点困惑。首先实例化触发paySession.onvalidatemerchant = function (event) {...}的ApplePay JS类。此时,事件包含一个validationURL,我们需要将其发送到后端,以便:Request a valid session from the Apple Pay server.我的问题是,作为设置步骤的一部分,我们需要声明显示ApplePay按钮的所有域和子域;将使用apple apis进行身份验证并请求会话的服务器域怎么办。其中是声明的域,其中显示的按钮与整个交互绑定在一起。
我在我的@User.Identity.Name mvc web应用程序中使用Asp.net。一旦部署,这将显示为本地域\user和azure站点上的user@domain.com。没有使用@User.Identity.Name,是否有任何方法使其在本地和服务器上唯一。由于这种冲突,我有很多代码中断区域。using (var context = new PrincipalContext(ContextType.Domain)) var principal = UserPrincipal.FindBy