Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Pay Pal IPN is not carring over my orders

Pay Pal IPN is not carring over my orders

Locked

Views: 14,255

Results 81 to 87 of 87
This thread is locked. New replies are disabled.
6 May 2007, 10:40 PM
#81
katrobb avatar

katrobb

New Zenner

Join Date:
Nov 2006
Posts:
45
Plugin Contributions:
0

Pay Pal IPN is not carring over my orders

Dear Wishy,
One of the problems I had originally, was that I was missing a PayPal table after I up graded to 1.3.7. I currently have 5 PayPal tables:
paypal, paypal_payment_status, paypal_payment_status_history, paypal_session, and paypal_testing.
I found it by doing a test install at home and noticed the discrepancy. After I built the missing table, it work fine (until the eCheck issue). I didn't know that Zen Cart had further update patches. I guess I will have to check from time to time.
Good Luck.
Katrina

12 May 2007, 4:10 AM
#83
golowenow avatar

golowenow

New Zenner

Join Date:
Jul 2006
Location:
Washington State
Posts:
78
Plugin Contributions:
0

Re: Pay Pal IPN is not carring over my orders

OK Dr. Byte. Whatever you did with the new patch the PayPal IPN module is now working correctly. Items are posting to invoices and emails are being sent on and on. When being redirected to the success page there is an error page displayed reading this:

1264 Out of range value adjusted for column 'customer_notified' at row 1
in:
[INSERT INTO orders_status_history (orders_id, orders_status_id, date_added, comments, customer_notified) VALUES ('9', '2', now(), 'PayPal status: Completed @ 20:44:19 May 11, 2007 PDT Trans ID:5JU16798HB251572C Amount: 0.60 USD', '')]

I refreshed the page and the payment successful page opened up fine and whew:unsure: the invoice was correct.

I read another post about this type of error and the solution was to edit out the sql-mode="STRICT_TRANS_TABLES" segment in the MySQL My.ini file. Remember I am running MySQL 5.0 and PHP 5.2.1. the full line of code in the My.ini file is:

Set the SQL mode to strict

sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

Would really like NOT to change this. Any other work arounds to this?

Once again BOTH of my zencarts are rockin!:smartalec:

12 May 2007, 3:41 PM
#84
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Pay Pal IPN is not carring over my orders

Yay ! glad it's working !

To get rid of that error under MySQL5, do this:
/includes/modules/payment/paypal.php
line 314:

                              'customer_notified' => false
```change to:```
                              'customer_notified' => [B]0[/B]
13 May 2007, 12:23 AM
#85
golowenow avatar

golowenow

New Zenner

Join Date:
Jul 2006
Location:
Washington State
Posts:
78
Plugin Contributions:
0

Re: Pay Pal IPN is not carring over my orders

This last bit of code made the IPN module run perfectly! It redirected back to the web site after hitting the PAY button perfectly and the invoice and emails are now posting correctly! WHEEEEE!:clap: Thank you Dr. Byte!

14 May 2007, 12:43 AM
#86
ezskratch avatar

ezskratch

New Zenner

Join Date:
May 2007
Posts:
41
Plugin Contributions:
0

Re: Pay Pal IPN is not carring over my orders

Dr Byte or anyone that can help -

Small problem with Paypal - this is what is in my ZC at "confirm order"

Shopping Cart Contents

Edit

                        Qty.         Item Name           Total                             10 x           Spiritual Church 2                                        $100.00                                   10 x           4 Our Kids                                        $100.00                                   10 x           Coins for our Cause                                        $100.00                                    $300.00
 Sub-Total:


  $0.00
 Shipping:


  $300.00
 Total:

BUT in Paypal I get this...

Payment For Quantity Price EzSkratch.com Purchase
Item #1 1 $300.00 USD Subtotal: $300.00 USD Shipping & Handling: $0.00 USD Sales Tax: $0.00 USD
Total Amount: $300.00 USDwith no order detail

Is this something I can fix?

Also - is there a way to make this option more attractive instead of the standard "checkout" click box such as a Paypal button? The Google Checkout button looks much nicer.

thanks

skratch

cart in progress so be kind

http://ezskratch.com/zencart/index.php?main_page

14 May 2007, 2:40 AM
#87
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Pay Pal IPN is not carring over my orders

ezskratch:

...with no order detail

Is this something I can fix?> ezskratch:

Also - is there a way to make this option more attractive instead of the standard "checkout" click box such as a Paypal button? The Google Checkout button looks much nicer.Yes to both. Switch to using PayPal Express Checkout instead of IPN.
As for aesthetics, you could try styling your "CSS Buttons" to make your checkout button look differently, or turn off that feature altogether.