09-19-06 12:36 AM
It validates the duplicate payments by checking the credit card number. Can
I ask why do you need the duplicate credit card payments?
-Vinod
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.
--------------------
From: "Stuart D" <stuart.d@nospam.com>
References: <eu$UPaD2GHA.1548@TK2MSFTNGP02.phx.gbl>
Subject: Re: Duplicate Payment
Date: Thu, 14 Sep 2006 16:16:08 -0400
Lines: 56
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
X-RFC2646: Format=Flowed; Response
Message-ID: <#lr3eqD2GHA.1292@TK2MSFTNGP03.phx.gbl>
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: atl190.turner.com 64.236.240.190
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP03.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.general:18431
X-Tomcat-NG: microsoft.public.commerceserver.general
And just in case you're wondering, the payment ids are different (which
makes the exception a little confusing):
?orderFormExt.CreditCardPaymentsExt[0].PaymentId
{8204003f-3cc1-4367-bdfe-66290ee5e7ae}
?orderFormExt.CreditCardPaymentsExt[1].PaymentId
{96ad791b-cf71-4c26-8bcd-4bd2f00c5eb4}
?payment.PaymentId
{8204003f-3cc1-4367-bdfe-66290ee5e7ae}
?payment.PaymentId
{96ad791b-cf71-4c26-8bcd-4bd2f00c5eb4}
?ex.ToString()
"Microsoft.CommerceServer.EntityAlreadyExistsException: A Similar payment
already exists in the collection.\r\n at
Microsoft.CommerceServer.Runtime.Orders.PaymentCollection.Add(Payment
payment)\r\n at
Com.Turner.EA.IA.CSRBusinessObjects.CSROrderFactory.CreateOrder(PurchaseOrde
rExt
newPO) in
C:\\projects\\ia2\\src\\CSRPOS\\CSRBusin
essObjects\\Application\\CSROrderFac
tory.cs:line
457"
They do share the same cc number, exp mo and year. If this is documented
anywhere I can't find it!
"Stuart D" <stuart.d@nospam.com> wrote in message
news:eu$UPaD2GHA.1548@TK2MSFTNGP02.phx.gbl...
>I have a requirement in our CS Implementation where I need to get a
>duplicate credit card payment authorization (it is used as a deposit on a
>particular product). However, Commerce Server will not let me save the
>payments:
>
> System.Web.Services.Protocols.SoapException: Server was unable to process
> request. ---> Com.Turner.EA.IA.IACommon.InsidersAdvantageException: A
> Similar payment already exists in the collection. --->
> Microsoft.CommerceServer.EntityAlreadyExistsException: A Similar payment
> already exists in the collection.
> at Microsoft.CommerceServer.Runtime.Orders.PaymentCollection.Add(Payment
> payment)
> at
> Com.Turner.EA.IA.CSRBusinessObjects.CSROrderFactory.CreateOrder(PurchaseOr
derExt
> newPO) in
> C:\projects\ia2\src\CSRPOS\CSRBusinessOb
jects\Application\CSROrderFactory.
cs:line
> 457
> --- End of inner exception stack trace ---
> at
> Com.Turner.EA.IA.CSRBusinessObjects.CSROrderFactory.CreateOrder(PurchaseOr
derExt
> newPO) in
> C:\projects\ia2\src\CSRPOS\CSRBusinessOb
jects\Application\CSROrderFactory.
cs:line
> 484
>
> How can I tell CS to allow me to save the payments?
>
> Stuart
>
Attachment:
This has been downloaded 0 time(s).
[ Post a follow-up to this message ]
|