Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27
  1. #11
    Join Date
    Aug 2004
    Posts
    762
    Plugin Contributions
    0

    red flag Re: Any known issues with Linkpoint not working after upgrade?

    So what's happening is that the chargetotal variable is correct......that is the amount we want to charge. But when you add up the subtotal, tax, and shipping, it doesn't factor in the MISSING AMOUNT deducted because of the ot_coupon.

    We need to have the api modified so that the chargetotal amount doesn't have to equal subtotal+shipping + tax. Either that, or the subtotal+shipping+tax needs to factor in the ot_coupon discount before doing the comparison.

  2. #12
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Any known issues with Linkpoint not working after upgrade?

    More correctly, it's necessary to skip sending the subtotal if there are discounts involved.

    I've attached updated code to deal with the issue described, as well as handle other order-total discrepancies more efficiently.

    (Note: this fix ALSO includes the ot_loworderfee fix posted previously, and thus supercedes the previous fix)


    NOTE: linkpoint_api-138-march06-2008.zip ATTACHMENT REPLACED BELOW ... see later post:
    http://www.zen-cart.com/forum/showth...462#post520462
    .

    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.

  3. #13
    Join Date
    Aug 2004
    Posts
    762
    Plugin Contributions
    0

    Default Re: Linkpoint - problem with coupons in v1.3.8

    DrByte -

    Good news and bad news. (First off, thanks for getting on top of this!)

    The good news is that it works for discount coupons. I placed a test order and it went through like a charm!

    The bad news is that if a transaction uses the ot_gv (gift certificate), it gives the same error:

    Subtotal miscalculation. Please notify the storeowner.
    SGS-002301: Invalid subtotal.

    So here is where we stand:

    Purchase w/ Coupon ONLY - WORKS
    Purchase w/ GV ONLY - NO
    Purchase w/GV & Coupon - NO

  4. #14
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Linkpoint - problem with coupons in v1.3.8

    Quote Originally Posted by Jeff_Mash View Post
    The bad news is that if a transaction uses the ot_gv (gift certificate), it gives the same error:

    Subtotal miscalculation. Please notify the storeowner.
    SGS-002301: Invalid subtotal.

    So here is where we stand:

    Purchase w/ Coupon ONLY - WORKS
    Purchase w/ GV ONLY - NO
    Purchase w/GV & Coupon - NO
    I'm not able to replicate this problem using the same code.
    .

    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. #15
    Join Date
    Aug 2004
    Posts
    762
    Plugin Contributions
    0

    Default Re: Linkpoint - problem with coupons in v1.3.8

    Is there any sort of log or php file you would need me to post in order to help troubleshoot this?

    NOTE: I didn't uninstall/reinstall the module the last time I replaced the linkpoint_api.php file because I didn't think I needed to. If that is a prerequisite, let me know and I can do that.

    The way I originally did my test is I had an item that was $3.00, then applied a $1.00 balance from my gift certificate, and proceeded to the checkout. I didn't use any coupons, just the store credit leaving a remainder of $1.00. That failed with the error. If need be, I can post the linkpoint log or any other file.

  6. #16
    Join Date
    Aug 2004
    Posts
    762
    Plugin Contributions
    0

    Default Re: Linkpoint - problem with coupons in v1.3.8

    DrByte - THANK YOU for the help. For whatever reason, after I did an uninstall and reinstall of the linkpoint_api module, things worked for gift certificates as well as coupons.

    You've been a great help to me, and I can't thank you enough.

  7. #17
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Linkpoint - problem with coupons in v1.3.8

    /me hums along to DrByte Rulez da World ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #18
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Linkpoint - problem with coupons in v1.3.8

    Phew! I was having trouble thinking of what else could be wrong!

  9. #19
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Linkpoint - problem with coupons in v1.3.8

    Another update, to include the free-shipping fix from a previous thread:
    http://www.zen-cart.com/forum/showthread.php?t=87388


    Updated module attached, which includes:
    - ot_loworderfee fix
    - coupon, gv fix
    - free shipping fix



    NOTE: Use the updated module found at this link: http://www.zen-cart.com/forum/showth...490#post563490

    The file formerly attached here is now outdated.

    .

    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.

  10. #20
    Join Date
    Feb 2008
    Posts
    137
    Plugin Contributions
    0

    Default Re: Linkpoint - problem with coupons in v1.3.8

    Hey, thanks - I was getting rejected from linkpoint when buyers would buy enough that they'd kick SWGuy's quantity discount mod into action... This fixed that.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Linkpoint Error With Coupons
    By jill8026 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 1 Apr 2010, 10:20 PM
  2. Problem with Linkpoint
    By richard2336 in forum Addon Payment Modules
    Replies: 3
    Last Post: 14 Oct 2008, 11:44 PM
  3. problem with linkpoint api
    By custombuiltpcs in forum Built-in Shipping and Payment Modules
    Replies: 23
    Last Post: 24 Mar 2008, 04:57 AM
  4. Problem with Linkpoint API
    By dfontana in forum Built-in Shipping and Payment Modules
    Replies: 12
    Last Post: 24 May 2007, 05:20 AM

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