다른 은행에 여러 전자 메일 사이트를 통합하고 가장 쉬운 방법은 dotnetcharge (www.dotnetcharge.com) 라이브러리에 추가하는 것이 었습니다. 그것은 잘 작동하고 각 은행 유형 및 트랜잭션에 대해 동일한 코드를 유지할 수 있음을 의미합니다. 그러나, 그들의 지원 조금 짜증나 (4 전자 메일, 1 회 답장을 보냈습니다) 그리고 난 완전히 3D 보안 문제에 당황 스럽다.dotnetcharge를 사용한 3D 보안 처리 문제
누구든지 dotnetcharge 및 3D Secure 사용 경험이 있습니까? MerchantURL을 설정하고 실제 3D 보안 화면이 표시됩니다. 그러나 시스템을 올바르게 '플로팅'하도록하는 방법은 확실하지 않습니다. 누구든지 올바른 방향으로 어떤 코드 예제 또는 포인터가 있습니까? 실패하면, 누구든지 지원을 어떻게 응답 할 수 있는지 알고 있습니까?
이 특별한 통합은 SagePay와 관련이 있습니다. SagePay에는 신의 경지에 관한 문서와 지원이 있습니다.
참조 용 코드는 다음과 같습니다.
Dim Amount As Decimal = ordertotal
' ApplySecure3D options:
' 0 = If 3D-Secure checks are possible and rules allow, perform the checks and apply the authorization rules.
' 1 = Force 3D-Secure checks for this transaction only (if your account is 3D-enabled) and apply rules for authorization.
' 2 = Do not perform 3D-Secure checks for this transaction only and always authorize.
' 3 = Force 3D-Secure checks for this transaction (if your account is 3D-enabled) but ALWAYS obtain an auth code, irrespective of rule base.
Dim ProtxLogin As String = "xxx"
Dim ProtxPassword As String = "xxx"
Dim ProtxApply3DSecure As Integer = 1
Dim ProtxMerchantURL As String = "https://www.mydomain.com/processing/"
Dim Number As String = txtCardNo.Text '//luhn/mod10 here.
Dim AVS As String = txtCVN.Text
Dim DD As String = "01"
Dim MM As String = ddlValidTo_month.SelectedValue.ToString()
Dim YY As String = ddlValidTo_year.SelectedValue.ToString()
Dim ProcessingResult As Integer = 0
Dim Protx As New dotnetCHARGE.CC()
Protx.Login = ProtxLogin
Protx.Password = ProtxPassword
Protx.ApplySecure3D = ProtxApply3DSecure
Protx.MerchantUrl = ProtxMerchantURL
Dim AVSResponse As String = ""
Dim CVV2 As String = ""
Protx.OrderID = GoogleOrderNumber
Protx.Month = MM
Protx.Year = YY
Protx.TransactionType = dotnetCHARGE.TransactionType.Sale
Protx.Amount = ordertotal
Protx.Number = Number
Protx.Currency = "GBP"
Protx.CustomerID = CustomerId
'//loads of params removed for brevity
Protx.ClientIP = Request.UserHostAddress.ToString()
Protx.CardType = ddlCardType.SelectedValue.ToString()
Protx.Description = "My Order"
Protx.Code = AVS
Protx.TestMode = True
Protx.TransactionType = dotnetCHARGE.TransactionType.Sale
ProcessingResult = Protx.Charge(Processor.Protx)
감사합니다.
IMHO - 나는 dotnetcharge를 추천하지 않습니다. 나는 그들의 제품이 하위 표준이고, 무례하고 문서 가난한 사람이라는 것을 알았다. – Robs
후속 조치로서; 루시퍼 나는 너와 완전히 동의한다. 닷넷 채트 (dotnetcharge)의 지원은 완전한 농담이며, 고객이 '방해가되는'또는 '시간 낭비'라고 느끼게합니다. – dooburt