Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Nov 2010
    Posts
    8
    Plugin Contributions
    0

    Default zero dollar checkout problem caused by store credit mod

    I am having an issue with payment modules.

    Zencart:1.3.9

    The problem is that when a customer enters a coupon/store credit which covers 100% of the total ($0 subtotal), Paypal is selected as payment method and leads to order total errors.

    However, once the error returns the customer to Step2 and the customer proceeds, freecharger is selected this time and order is processed without any issues....

    Any ideas on how to fix this issue.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: zero dollar checkout problem

    The problem is that when a customer enters a coupon/store credit which covers 100% of the total ($0 subtotal)

    Any ideas on how to fix this issue.
    I would adjust the coupon minimum order amount to be more than the value of the coupon

  3. #3
    Join Date
    Nov 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: zero dollar checkout problem

    yes. that would be a fix but the reason for this transaction is to enter paid orders in the system.

    these have been paid by phone, however its being processed for record only. using coupons/store credits and by admin.

    Otherwise, everything is fine.

  4. #4
    Join Date
    Nov 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: zero dollar checkout problem

    It seems that Zencart has a bug in processing Zero total orders, so I came with a work around for now..

    In the checkout page I ask the customer to go to previous page for verification and the 2nd run solved the issue. [I was having this issue with Paypal]

    HTML Code:
    	$customtotal= $order->info['total'];		
           $paypalyes = $GLOBALS[$class]->title;
    
    if ($customtotal <=0 && $paypalyes=='PayPal') {
    	echo 'Detected discount. <a href="/index.php?main_page=checkout_shipping">Click here  to Verify and proceed</a>.';
    }
    and to deal with submit button:

    HTML Code:
    <? if ($customtotal <=0 && $paypalyes=='PayPal') { } else { ?>
    <?php echo zen_image_submit(BUTTON_IMAGE_CONFIRM_ORDER, BUTTON_CONFIRM_ORDER_ALT, 'name="btn_submit" id="btn_submit"') ;?></div>
    <? } ?>
    I hope this issue is solved by Zerncart team soon.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: zero dollar checkout problem

    that would be a fix but the reason for this transaction is to enter paid orders in the system

    these have been paid by phone
    That is not what you posted first!!!!
    Paypal is selected as payment method and leads to order total errors.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: zero dollar checkout problem

    In the Admin->Customers->Orders screen, where you see the list of orders placed, the 2nd column shows 2 lines: the payment module and the shipping module used in the order. What's listed there for those orders that you allege are being paid via PayPal for $0.00 ?
    .

    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.

  7. #7
    Join Date
    Nov 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: zero dollar checkout problem

    the payment shipping shows as "paypalwpp
    zones".

    I will give a historyof this issue:

    When freecharger module was disabled, It was impossible to checkout using 100% store credit. And since the only other payment method available is Paypal, all orders, including $0 totals were sent to Paypal.

    At this popint it output error 10401. I'm assuming Paypal doesnt like $0 total and payment shouldn't be sent there anyways for $0.

    Code:
    10401 Transaction refused because of an invalid argument...
    After searching the forum, I found a thread that suggested enabling the 'freecharger' module to process Zero total and I did that.

    Now, when the store credit covers 100% of the cost, Order total is calculated using store credit but method of payment stays as Paypal and submitted to Paypal page.

    The issue is solved if the customer goes back to any of the previous pages in checkout process and proceeds from there. [maybe, its changed in sessions???]

    What I find surprising is that the Invoice after the purchase shows 'papal' as the payment method.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: zero dollar checkout problem

    Is there any *more* history you've left out? Any *other* things you've turned off or turned on that probably shouldn't be?
    .

    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.

  9. #9
    Join Date
    Nov 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: zero dollar checkout problem

    Nothing that is related to payments. I figured it could be a $_sessions problem.
    third party module (sore credit) maybe creating a conflict with zencart sessions variables.

    The tweak I suggested earlier fixes the issue, by creating one extra click.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: zero dollar checkout problem

    On a brand new clean uncustomized install without any addons, I can't seem to replicate the "bug" you claim exists.
    What exact steps should I be following to recreate the problem, using a brand new clean uncustomized install of Zen Cart?
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Zero Dollar ($0) amount when handed over to PayPal using IPN
    By AndrewSyd in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 1 Feb 2013, 09:00 PM
  2. v139h Store Credit addon problem - does not complete order when using coupon to zero
    By AvaAdorn in forum All Other Contributions/Addons
    Replies: 13
    Last Post: 23 Oct 2012, 03:14 AM
  3. How can I bypass Paypal when store credit balance is zero?
    By MelodyW in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 13 Jun 2012, 06:49 AM
  4. Order Mod problem caused by GV
    By crafterscafe in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 6
    Last Post: 20 Apr 2010, 06:37 AM
  5. store credit mod
    By eaddesigns in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 27 Sep 2008, 07:19 PM

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