Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2007
    Posts
    8
    Plugin Contributions
    0

    help question linkpoint error SGS-002301 / low order fee

    I turned on the Low Order Fee module for a trial order test after the upgrade. Everything was working out fine until it told me my credit card was declined, and I got this error "SGS-002301: Charge total must be the sum of subtotal, tax, value added tax, and shipping" from my admin "LinkPoint CC Review" report.

    The detail of the report also shows:...subtotal=1.35; tax=0.1; shipping=0.00; chargetotal=2.45;... which means the cart is calculating the "low order fee" (2.45-1.35-0.1=1=my low order fee setup) but linkpoint doesn't buy it ("Charge total must be the sum of subtotal, tax, value added tax, and shipping")

    I don't know if it's a v1.3.8 or linkpoint bug. I have searched this forum and other online resources; haven't really found any solution. Few people had very similar problem but no answers.

    Thanks in advance for any thoughts on this.

  2. #2
    Join Date
    Aug 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: linkpoint error SGS-002301 / low order fee

    PS:
    Sub-Total: $1.35

    CA TAX 7.5%: $0.10

    Low Order Fee: $1.00

    Total: $2.45
    This is how the checkout-payment page shows.
    =================================

    COD Fee ot_cod_fee
    Discount Coupon ot_coupon 280
    Group Discount ot_group_pricing 290
    Gift Certificates ot_gv
    Low Order Fee ot_loworderfee 400
    Shipping ot_shipping
    Sub-Total ot_subtotal 100
    Tax ot_tax 300
    Total ot_total 999
    This is how my order total modules are installed with the sort orders. Discount coupon or group discount modules are installed but not applied to this trial order at all.
    ============================================

    Low Order Fee

    This module is installed
    true

    Sort Order
    400

    Allow Low Order Fee
    true

    Order Fee For Orders Under
    $2.99

    Order Fee
    1

    Attach Low Order Fee On Orders Made
    national

    Tax Class
    --none--

    No Low Order Fee on Virtual Products
    true

    No Low Order Fee on Gift Vouchers
    true
    This is how the low order fee module is set up.
    ==============================

    Just in case you may need these information to figure out anything. :-)

  3. #3
    Join Date
    Aug 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: linkpoint error SGS-002301 / low order fee

    Or is it because of my linkpoint account setup?

  4. #4
    Join Date
    Jan 2004
    Posts
    65,195
    Blog Entries
    7
    Plugin Contributions
    76

    Default Re: linkpoint error SGS-002301 / low order fee

    It's a small coding bug which only appears when the low-order-fee module is enabled.

    Please try the attached updated file: /includes/modules/payment/linkpoint_api.php


    UPDATE: NEWER CODE TO FIX COUPON-RELATED ISSUES POSTED HERE instead:
    http://www.zen-cart.com/forum/showpo...5&postcount=12


    The following attachment is old. Use the one in the link above if you want a more complete fix. Applies to v1.3.8xx only.
    Attached Files Attached Files
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Aug 2007
    Posts
    8
    Plugin Contributions
    0

    red flag Re: linkpoint error SGS-002301 / low order fee

    It worked! It worked! It works like a charm! Thank you very much DrByte!!!

    I am sure this will help many other friends who use the low order fee module!

    I am truely amazed by the ZenCart Team! Everytime I had a question or problem, I could always find the answer.

    English is not my first language, and I had no IT background. Yet I can build a professional store on my own within 2 weeks with zen-cart. It's such a great resource and thank you every zen developer for your hardwork and great help!

  6. #6
    Join Date
    Jun 2005
    Posts
    230
    Plugin Contributions
    0

    Default Re: linkpoint error SGS-002301 / low order fee

    Dr. Byte - The new USPS optional shipping insurance mod causes the same problem, but the file posted above did not fix it. I had hoped that since the insurance module had been based on the low order module it would work, but no luck. Any posibility you could tell me how to change the linkpoint_api.php to work with the insurance mod?
    2 + 2 = 5 for extremely large values of 2

    Pez Collectors Store

  7. #7
    Join Date
    Jan 2004
    Posts
    65,195
    Blog Entries
    7
    Plugin Contributions
    76

    Default Re: linkpoint error SGS-002301 / low order fee

    Using the updated module shown above, you could adapt the code based on whatever the name of your ot module is. Look for this line, and add more conditions to it:
    Code:
          if ($order_totals[$i]['code'] == 'ot_loworderfee') {
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Jun 2005
    Posts
    230
    Plugin Contributions
    0

    Default Re: linkpoint error SGS-002301 / low order fee

    You are a wonderfull man Dr. Byte! Thank you!
    2 + 2 = 5 for extremely large values of 2

    Pez Collectors Store

 

 

Similar Threads

  1. [Done v1.3.9h] SGS-002301 Linkpoint error in 1.3.9g
    By Jeff_Mash in forum Bug Reports
    Replies: 9
    Last Post: 24 Oct 2010, 11:39 PM
  2. [Done 1.3.9a] Linkpoint API Error SGS-002301 - Another One
    By pinkchalkstudio in forum Bug Reports
    Replies: 20
    Last Post: 8 Sep 2010, 01:49 AM
  3. Linkpoint error: SGS-002301: Charge total must be the sum of subtotal...
    By largomike1 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 16 Dec 2009, 03:50 AM
  4. Linkpoint API Error SGS-002301 when using Quantity Discount 1.8 addon
    By semaxd in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 31 Mar 2009, 11:34 AM
  5. [Done v1.3.9] Linkpoint API Error SGS-002301
    By pinkchalkstudio in forum Bug Reports
    Replies: 10
    Last Post: 18 Sep 2008, 07:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR