Forums / Built-in Shipping and Payment Modules / store credit and discount makes paypal $0 and break

store credit and discount makes paypal $0 and break

Started by chaptech on 3 Mar 2015, 9:14 PM · Views: 733

Results 1 to 4 of 4
3 Mar 2015, 9:14 PM
#1
chaptech avatar

chaptech

New Zenner

Join Date:
Mar 2015
Posts:
3
Plugin Contributions:
0

store credit and discount makes paypal $0 and break

Hi.

Hopefully the image attached correctly below. I have a zencart with a discount policy for one category only, everything works fine normally with the checkout process. I have a 10% discount setup for totals of $200 and 15% for $300.

One issue im having though is for example if I add $185 store credit for a customer, they order $202 in total, they get $20 discount then which takes them to $182, enough store credit now to complete cover the order. Whats happening though is the paypal module still is being injected but with a remain balance of $0, which is not possible in paypal, so people need to make it $1 or it just loops.

This is only happening when the discount brings the total down to under their store credit. If they only ordered say $190 worth of product, discount applied and they had say $195 I store credit, the balance would again say $0 but the paypal module isn't shown it realizes there is $0 balance and the order completes no problems.

Any assistance appreciated.

Attachment 15030

3 Mar 2015, 10:40 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: store credit and discount makes paypal $0 and break

Where did this "store credit" feature come from?

I'm guessing it's what's breaking the normal operation.

.
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 Mar 2015, 10:54 PM
#3
chaptech avatar

chaptech

New Zenner

Join Date:
Mar 2015
Posts:
3
Plugin Contributions:
0

Re: store credit and discount makes paypal $0 and break

DrByte:

Where did this "store credit" feature come from?

I'm guessing it's what's breaking the normal operation.

Attachment 15031

Hi DrByte,

Im using the quantity_discount module by thesoftwareguy, that's all installed and working normally? everything there is calculated correctly

4 Mar 2015, 12:03 AM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,743
Plugin Contributions:
56

Re: store credit and discount makes paypal $0 and break

Don't use the store credit setting in Quantity Discounts. That feature isn't built out.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.