Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2005
    Location
    Tucson, AZ
    Posts
    42
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Payment not received...

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

  3. #3
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default 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

  4. #4
    Join Date
    Nov 2005
    Location
    Tucson, AZ
    Posts
    42
    Plugin Contributions
    0

    Default 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!

  5. #5

    Default 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.

    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.
    Last edited by JenHarris; 13 Jul 2006 at 04:55 AM.

  6. #6
    Join Date
    Nov 2005
    Location
    Tucson, AZ
    Posts
    42
    Plugin Contributions
    0

    Default 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)

  7. #7
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default 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

  8. #8
    Join Date
    Nov 2005
    Location
    Tucson, AZ
    Posts
    42
    Plugin Contributions
    0

    Default 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!
    Last edited by erika; 28 Jul 2006 at 04:34 AM.

  9. #9
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default 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:

    Code:
    // 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

  10. #10
    Join Date
    Nov 2005
    Location
    Tucson, AZ
    Posts
    42
    Plugin Contributions
    0

    Default Re: Payment not received...

    Quote Originally Posted by 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!

 

 

Similar Threads

  1. Customer not notified of Paypal payment received?
    By TeeGee in forum General Questions
    Replies: 2
    Last Post: 29 Jan 2009, 01:39 AM
  2. Payment received in Paypal, but not in Admin
    By FrenchFrog in forum Built-in Shipping and Payment Modules
    Replies: 17
    Last Post: 9 Nov 2007, 08:48 PM
  3. order received but notification of paypal payment is not received
    By b18cya in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 16 Apr 2007, 08:03 AM
  4. Help Payment not received
    By Honeysmom in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 3 Aug 2006, 04:25 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