Cyber source Error,安全数据:UsernameToken身份验证失败

问题描述 投票:2回答:1

我使用cybersource进行信用卡付款。

为创建测试帐户的安全数据创建用户名令牌

执行时

    self.response = self.client.service.runTransaction(**options)

获取错误

    Server raised fault: '
    Security Data : UsernameToken authentication failed.
    '

提前致谢

django python-2.7 payment-gateway django-oscar
1个回答
4
投票

我知道了.......

只需生成事务安全密钥并将生成的密钥作为密码。能够成功连接。

创建密钥的步骤

Using a web browser, navigate to the CyberSource Enterprise Business Center (EBC) Test Environment login page
Log in using a username with Administrator credentials
Click Account Management from the menu bar on the left side of the screen
Click Transaction Security Keys In the expanded sub-menu,
Click the link, Security Keys for the Simple Order API on the Transaction Security Keys page
Click Generate Key

At this point you may see a pop-up dialog box asking if you want to block dynamic content on the page. Select No if this dialog box appears.

Click Generate Certificate Request when it appears (it may take a few seconds to load)

When the key generation script is done, a dialog box will appear which asks you to select a location on your computer where the new security key will be saved.

Save the key (the naming convention is <your merchant id>.p12)
Deploy the key to your system
© www.soinside.com 2019 - 2024. All rights reserved.