简体   繁体   English

Cyber​​source与ASP.NET集成

[英]Cybersource Integration with ASP.NET

Dears, 亲爱,

I am following the below link to integrate the cybersource payment gateway into one of our ASP.NET site. 我正在跟踪以下链接,以将网络资源支付网关集成到我们的ASP.NET网站之一中。

https://searchcode.com/codesearch/view/10126551/ https://searchcode.com/codesearch/view/10126551/

on line 192 as depicted below: 在192行,如下所示:

        ReplyMessage reply = CyberSource.Clients.SoapClient.RunTransaction(config, request);

        if ("ACCEPT".Equals(reply.decision.ToUpper()))
        {
            trans.GatewayResponse = reply.decision;
            trans.TransactionNotes = ProcessReply(reply);
            trans.AuthorizationCode = reply.ccAuthReply.authorizationCode;
        }

        if ("REJECT".Equals(reply.decision.ToUpper()))
        {
            throw new Exception("Declined:  " + ProcessReply(reply));
        }

it should hit the cybersource gateway in order to fill the credit card information as below. 它应访问网络资源网关,以便如下填写信用卡信息。

screen shot cybersource 屏幕截图网络资源

but its not happening. 但它没有发生。

any idea why its not happening? 知道为什么它不发生吗?

thanks in advance, 提前致谢,

Ammar 阿马尔

The issue is that you're trying to integrate with Secure Acceptance using the SOAPI SDK. 问题是您正在尝试使用SOAPI SDK与Secure Acceptance集成。 SA is a totally different product with its own API and integration method. SA是完全不同的产品,具有自己的API和集成方法。 You can find the documentation including examples for ASP.NET here: http://apps.cybersource.com/library/documentation/dev_guides/Secure_Acceptance_WM/Secure_Acceptance_WM.pdf 您可以在此处找到包含ASP.NET示例的文档: http : //apps.cybersource.com/library/documentation/dev_guides/Secure_Acceptance_WM/Secure_Acceptance_WM.pdf

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM