|
Home > Archive > Commerce Server General > September 2006 > Duplicate Payment
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Stuart D 2006-09-16, 7:28 pm |
| 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(PurchaseOrderExt
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(PurchaseOrderExt
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
| |
| Stuart D 2006-09-16, 7:28 pm |
| 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(PurchaseOrderExt
newPO) in
C:\\projects\\ia2\\src\\CSRPOS\\CSRBusin
essObjects\\Application\\CSROrderFactory
.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(PurchaseOrderExt
> 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(PurchaseOrderExt
> 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
>
| |
| Vinod Kumar[MSFT] 2006-09-18, 7:36 pm |
| 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(PurchaseOrderExt
newPO) in
C:\\projects\\ia2\\src\\CSRPOS\\CSRBusin
essObjects\\Application\\CSROrderFactory
.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(PurchaseOrderExt
> 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(PurchaseOrderExt
> 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
>
| |
| stuartdga 2006-09-25, 1:22 pm |
| We have a business requirement to have a separate credit card payment
authorization. Why is this not documented!!! Why is this done at all!!!
And the exception is incorrect. This is not a duplicate entry, especially if
we have a different authorization number from our provider.
Are we going to have to HACK the system to get around this???!!!???
What other undocumented features are in payments that we should be aware of?
--
Stuart D
"Vinod Kumar[MSFT]" wrote:
> 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(PurchaseOrderExt
> newPO) in
> C:\\projects\\ia2\\src\\CSRPOS\\CSRBusin
essObjects\\Application\\CSROrderFactory
.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...
>
>
>
>
|
|
|
|
|