Duplicate Payment
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > Duplicate Payment




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Duplicate Payment  
Stuart D


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-17-06 12:28 AM

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(PurchaseOrde
rExt
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(PurchaseOrde
rExt
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







[ Post a follow-up to this message ]



    Re: Duplicate Payment  
Stuart D


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-17-06 12:28 AM

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
>







[ Post a follow-up to this message ]



    Re: Duplicate Payment  
Vinod Kumar[MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: Duplicate Payment  
stuartdga


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-25-06 06: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 i
f
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. Ca
n 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 right
s
> 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(PurchaseOr
derExt
> newPO) in
>  C:\\projects\\ia2\\src\\CSRPOS\\CSRBusin
essObjects\\Application\\CSROrderF
actory.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... 
>
>
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:21 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register