Zen Cart Logo
Forums / General Questions / Payment not received...

Payment not received...

Locked

Views: 1,998

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
12 Jul 2006, 5:51 PM
#1
erika avatar

erika

New Zenner

Join Date:
Nov 2005
Location:
Tucson, AZ
Posts:
19
Plugin Contributions:
0

Payment not received...

I had a customer who made a purchase today and I didn't receive payment. When I go to look at the transaction, it says she paid Paypal, not Paypal IPN like all the others.

When I go to look at her order, on the top is this error message:

Warning: Invalid argument supplied for foreach() in /home/content/......./includes/modules/payment/paypal/paypal_admin_notification.php on line 27

She used a discount coupon & a gift certificate and had a balance left.

Is anyone able to assist me with this or point me in the right direction? I have had my zen cart set up about 9 months now and this is the first time something like this has happened.

Thank you for your time!
Erika

12 Jul 2006, 10:20 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,607
Plugin Contributions:
0

Re: Payment not received...

What version of Zen Cart? Does your PayPal account refect the payment?

12 Jul 2006, 11:00 PM
#3
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Payment not received...

If she used a discount coupon and gift voucher and still had a balance left then the sum being passed to Pay Pal would have been a zero, or negative, amount. To use PayPal there must be a positive amount.

Vger

13 Jul 2006, 3:47 AM
#4
erika avatar

erika

New Zenner

Join Date:
Nov 2005
Location:
Tucson, AZ
Posts:
19
Plugin Contributions:
0

Re: Payment not received...

Thanks for the replies.

"What version of Zen Cart?"

Where do I find the version of zen cart I am using? I don't see it listed anywhere in the admin. I installed the most recent version in october 2006.

"Does your PayPal account refect the payment?"

I never saw the payment hit paypal. I was thinking that I might have missed the paypal email but it never showed up.

"If she used a discount coupon and gift voucher and still had a balance left then the sum being passed to Pay Pal would have been a zero, or negative, amount. To use PayPal there must be a positive amount."

This customer had a positive balance.
Here is the summary:

Sub-Total: $12.97
Free Shipping: $0.00
Discount Coupons: {code displayed here} : -$7.98
Gift Certificates: -$3.00
Total: $1.99

I am not worried about recovering the $1.99, I just don't want a little bug to slip through when it is a large amount.

Thanks for your help!

13 Jul 2006, 3:52 AM
#5
jenharris avatar

jenharris

New Zenner

Join Date:
Nov 2005
Posts:
1
Plugin Contributions:
0

Re: Payment not received...

I had something similar, but it turned out to be a typo in the payment email addresss. I had two l's next to each other, which I didn't see because they kinda blended together. :lookaroun

May seem simple, but it's something to check.

Never mind - I see that you said your other payments had processed, it was just this one.

13 Jul 2006, 4:10 AM
#6
erika avatar

erika

New Zenner

Join Date:
Nov 2005
Location:
Tucson, AZ
Posts:
19
Plugin Contributions:
0

Re: Payment not received...

Thanks for the suggestion! I always find it is something really, really simple that causes all the problems, unfortunatly, I can't find it this time!

I am open to more suggestions, though!

=o)

13 Jul 2006, 12:02 PM
#7
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Payment not received...

If she made a payment to you at all get her to send you the confirmation she would have received from Pay Pal of the payment she made. How can anyone have paid you via Pay Pal without using the IPN, because the IPN has been a feature of Zen Cart for at least the past two years (as far as I am aware).

Vger

28 Jul 2006, 3:31 AM
#8
erika avatar

erika

New Zenner

Join Date:
Nov 2005
Location:
Tucson, AZ
Posts:
19
Plugin Contributions:
0

Re: Payment not received...

I just had another customer go through my cart without going through paypal.

The top of the customers>orders>{order number} page says:

includes/modules/payment/paypal/paypal_admin_notification.php on line 27

the transaction details are:
Sub-Total: $10.99
Free Shipping: $0.00
Discount Coupons: {codehere} : -$2.00
Total: $8.99

This person didn't pay at all and when I look at customers>orders (under the order number), the report says she paid paypal, not paypal IPN like it is supposed to.

Does this have something to do with the coupon being used? I have had about 40 transactions this week go through fine, some with coupons and some without.

Does anyone know what this error means?

Thank you so much!

28 Jul 2006, 12:36 PM
#9
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Payment not received...

You still haven't said which version of Zen Cart you are using.

But in the latest version the lines 26-29 quoted in that file reads:

// strip slashes in case they were added to handle apostrophes:
  foreach ($ipn->fields as $key=>$value){
    $ipn->fields[$key] = stripslashes($value);
  }

You could also try changing this line in includes/languages/english/modules/payment/payapl.php from:

define('MODULE_PAYMENT_PAYPAL_TEXT_CATALOG_TITLE', 'Paypal');

to

define('MODULE_PAYMENT_PAYPAL_TEXT_CATALOG_TITLE', 'Paypal IPN');

and then see if the transactions are listed as Pay Pal IPN and not just Pay Pal.

Vger

29 Jul 2006, 12:24 AM
#10
erika avatar

erika

New Zenner

Join Date:
Nov 2005
Location:
Tucson, AZ
Posts:
19
Plugin Contributions:
0

Re: Payment not received...

erika:

Thanks for the replies.

"What version of Zen Cart?"

Where do I find the version of zen cart I am using? I don't see it listed anywhere in the admin. I installed the most recent version in october 2006.

I tried to look for the version a few weeks ago and I think I finally found it. I believe I am using version 1.2.7, I found this on the server information link in the admin.

I tried to duplicate the errors but I have been sent to paypal each time.

Thanks for your advice Vger, I did edit the file includes/languages/english/modules/payment/payapl.php from you previous post, I hope that works!