Zen Cart Logo
Forums / Bug Reports / [Done v1.3.9] Linkpoint API Error SGS-002301

[Done v1.3.9] Linkpoint API Error SGS-002301

Locked

Views: 4,803

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
18 Jul 2008, 1:18 AM
#1
pinkchalkstudio avatar

pinkchalkstudio

New Zenner

Join Date:
Apr 2008
Posts:
78
Plugin Contributions:
0

[Done v1.3.9] Linkpoint API Error SGS-002301

OK, Dr. Byte. This appears to be a new episode in the Linkpoint API saga.

I double checked by doing a Windif on my linkpoint_api.php file. It is the latest version that you have posted on the forum (5/29/08).

You previously fixed the partial quantity problem for me.

I have a transaction that is failing with: SGS-002301: Charge total must be the sum of subtotal, tax, value added tax, and shipping.

Here are the characteristics of this person's order:

  • 8 different items in the cart, all are partial quantities including .5, 1.25 and 2.5.
  • Subject to Washington State sales tax of 8.6% (the only sales tax I have set up)
  • Entering a 10% discount code in the Discount Coupon field.

This was a big order and the customer was willing to help me out so I set the sales tax to 0% and she was able to checkout without the error.

I had 3 other Washington customers check out successfully with credit cards during the sale. I took a look at their orders and 2 of them had partial quantities as well. I'm very confused as to what's different about this person's order other than the larger number of items in the cart.

Any assistance you can provide would be appreciated.

as a side question: I was going to try and re-create her order exactly. Is there a way to test the api for these types of things without actually charging my own credit card?

Thank you, Kathy

18 Jul 2008, 4:15 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: [Done v1.3.9] Linkpoint API Error SGS-002301

Do you have debug log-to-file enabled in your Linkpoint payment module? If so, I need to see the logs from the failed transaction.

18 Jul 2008, 4:23 AM
#3
pinkchalkstudio avatar

pinkchalkstudio

New Zenner

Join Date:
Apr 2008
Posts:
78
Plugin Contributions:
0

Re: [Done v1.3.9] Linkpoint API Error SGS-002301

I sent you a PM with the info I see in the online 'Linkpoint CC Review' screen. If there's a log file with more information in it let me know and I can send that as well.

18 Jul 2008, 6:12 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: [Done v1.3.9] Linkpoint API Error SGS-002301

What version of PHP are you using?
What operating system is your webserver using?

18 Jul 2008, 6:57 AM
#5
pinkchalkstudio avatar

pinkchalkstudio

New Zenner

Join Date:
Apr 2008
Posts:
78
Plugin Contributions:
0

Re: [Done v1.3.9] Linkpoint API Error SGS-002301

PHP 5.2.6

Operating System: Linux Apache Version 1.3.41 (Unix)

Thank you,
Kathy

18 Jul 2008, 7:11 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: [Done v1.3.9] Linkpoint API Error SGS-002301

Can you list out the details of each of the items in the order? ie: qty and price. Don't need name/model info.

You said tax was a flat rate, and there was a 10% discount coupon.

I suspect it's the coupon that's causing the problem, but would like to reconstruct the actual order details if possible.

18 Jul 2008, 1:57 PM
#7
pinkchalkstudio avatar

pinkchalkstudio

New Zenner

Join Date:
Apr 2008
Posts:
78
Plugin Contributions:
0

Re: [Done v1.3.9] Linkpoint API Error SGS-002301

This was in her cart at the time the error occurred. This same customer also generated the same error back on July 5. I missed it as being my problem vs. a credit cart rejection. I do know her cart contents would have been different on July 5 because some of these products are new since then.

Item Qty Price
1 1.25 9.00
2 1.25 9.00
3 .5 8.50
4 1.25 9.00
5 1.25 14.90
6 1.25 9.00
7 2.5 9.00
8 .5 9.00

None of these items had item discounts, they were all full price goods.

She used a discount code called SUMMER that gave 10% off.

I have Washington State sales tax set to 8.6%

(I need to set up a sandbox for testing this sort of stuff. I'll see where I can get with that today.)

Thank you Dr. Byte,
Kathy

29 Jul 2008, 8:42 PM
#8
ericksonstudio avatar

ericksonstudio

New Zenner

Join Date:
Jul 2008
Posts:
2
Plugin Contributions:
0

Re: [Done v1.3.9] Linkpoint API Error SGS-002301

You might want to checkout this thread:
http://www.zen-cart.com/forum/showthread.php?p=563490#post563490

There is a LinkPoint/YourPay API update patch that may solve the issue.

We were having the same issue and I'm testing it now to see if it resolves it. Stay tuned!

29 Jul 2008, 9:46 PM
#9
ericksonstudio avatar

ericksonstudio

New Zenner

Join Date:
Jul 2008
Posts:
2
Plugin Contributions:
0

Re: [Done v1.3.9] Linkpoint API Error SGS-002301

Verified: The patch successfully resolved the issue! :clap:

4 Aug 2008, 2:45 PM
#10
pinkchalkstudio avatar

pinkchalkstudio

New Zenner

Join Date:
Apr 2008
Posts:
78
Plugin Contributions:
0

Re: [Done v1.3.9] Linkpoint API Error SGS-002301

Thank you Erickson Studio, I do have that patch. I hit the issue with partial quantities out the gate and Dr. Byte quickly fixed it, yay for the awesome service on this forum.

I've tabled trying to re-create and solve this latest issue for the moment. I turned off sales tax and will be picking up that cost for my in-state customers. Obviously not a long term solution.

I'll be sure to report back once I setup a test area where I can re-create the problem. I've successfully processed 20 plus sales tax related transactions through my store with no problems, for some reason this customer's combination of products caused a hiccup.

18 Sep 2008, 6:27 PM
#11
pinkchalkstudio avatar

pinkchalkstudio

New Zenner

Join Date:
Apr 2008
Posts:
78
Plugin Contributions:
0

Re: [Done v1.3.9] Linkpoint API Error SGS-002301

Some housekeeping on this issue. I now have 4 occurrences of this error. I've created a single document outlining the cart contents and characteristics of each case. It can be found on this bug report:

http://www.zen-cart.com/forum/showthread.php?t=108084