Forums / Addon Payment Modules / PayPal Integration

PayPal Integration

Locked

Views: 9,167

Results 21 to 40 of 44
This thread is locked. New replies are disabled.
31 Oct 2006, 7:07 AM
#21
drbyte avatar

drbyte

Sensei

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

PayPal Integration

RKB:

Although the Paypal electronic "Docket" and email going to the "buyer" does not have a proper description of their purchase and although the email to the seller advising there has been a sale does not actually say what has been sold, these details are available to the buyer in past purchases area. The seller can get the information from Admin area when you press "Invoice" or "Packing Slip".

I really don't know if this is normal operation or not.

Yes, this is normal operation at the present time. But note that Zen Cart also sends another order-confirmation email which "does" detail what the customer purchased. This comes from your store, and not from PayPal, and completes the otherwise so-called "missing" information.

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

31 Oct 2006, 9:09 AM
#22
rkb avatar

rkb

New Zenner

Join Date:
Sep 2006
Location:
Beerwah. QLD. Australia
Posts:
79
Plugin Contributions:
0

Re: PayPal Integration

Thanks for that info,
I am NOT getting the eMail from ZenCart.

That is the seller is not getting the eMail from my ZenCart Store as I have a number of paypal accounts it allows me to act out both sides of the transaction.

Ron


Cheers
Ron

Keep your heart young, expectations high and never allow your dreams to die.

31 Oct 2006, 9:43 AM
#23
drbyte avatar

drbyte

Sensei

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

Re: PayPal Integration

This is a peculiar combination.

RKB:

Thanks for that info,
I am NOT getting the eMail from ZenCart.

The email is sent from Zen Cart at the same time that the order is added to Buyer-history in their My Account and the Admin Invoice/Packing-slip/Orders area.

Yet, you say that the My Account and Admin areas "do" contain all the order details ...

RKB:

Although the Paypal electronic "Docket" and email going to the "buyer" does not have a proper description of their purchase and although the email to the seller advising there has been a sale does not actually say what has been sold, these details are available to the buyer in past purchases area. The seller can get the information from Admin area when you press "Invoice" or "Packing Slip".

If this is correct, then this would sound more like an email problem whereby the customer's email is being rejected somewhere along the path of delivery. What happens if you edit the order in the admin, add some comments to it, and click the "Update" button, with the "notify customer" box checked? Does the customer receive the email?

Is the customer's email address in this case a "free email account" such as hotmail/yahoo/gmail? or is it a more traditional actual ISP account on a normal domain?

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

31 Oct 2006, 10:09 AM
#24
rkb avatar

rkb

New Zenner

Join Date:
Sep 2006
Location:
Beerwah. QLD. Australia
Posts:
79
Plugin Contributions:
0

Re: PayPal Integration

Thanks for providing that detail,

Did as you said, no email.

Changed email from sendmail to php and "bingo" email sent, and email arrived.

Thanks

Ron


Cheers
Ron

Keep your heart young, expectations high and never allow your dreams to die.

31 Oct 2006, 10:19 AM
#25
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: PayPal Integration

Ron, can you provide exactly where you made the change?

Configuartion > eMail Settings > E-Mail Transport Method
I do not see a 'php' option.

The learning is in the doing.

Potent Products

31 Oct 2006, 10:30 AM
#26
drbyte avatar

drbyte

Sensei

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

Re: PayPal Integration

Website Rob:

Ron, can you provide exactly where you made the change?

Configuartion > eMail Settings > E-Mail Transport Method
I do not see a 'php' option.

That was added in v1.3.6

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

31 Oct 2006, 10:31 AM
#27
drbyte avatar

drbyte

Sensei

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

Re: PayPal Integration

RKB:

Thanks for providing that detail,

Did as you said, no email.

Changed email from sendmail to php and "bingo" email sent, and email arrived.

Thanks

Ron

Thanks for hanging in with my persistence :)

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

31 Oct 2006, 10:37 AM
#28
rkb avatar

rkb

New Zenner

Join Date:
Sep 2006
Location:
Beerwah. QLD. Australia
Posts:
79
Plugin Contributions:
0

Re: PayPal Integration

Hello Rob,
Admin
Configuration
E-Mail Options
Select Email Transport
Edit
PHP is top of the list on the lower right side of the screen

Ron


Cheers
Ron

Keep your heart young, expectations high and never allow your dreams to die.

8 Nov 2006, 9:06 AM
#29
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: PayPal Integration

I've often found "missing" zencart e-mails in the spam/bulk folders of my e-mail host (or client). The first reaction is to panic and blame bugs in our configurations / software. Could it be that this is not necessarily a problem with either Zencart or PayPal, but spam blockers? I'd check spam blockers and their relative storage folders, and if these are clean, nly then focus again on zencart / paypal configurations.

(Just a thought... I may be way off-beam here!):(

20 years a Zencart User

8 Nov 2006, 9:21 PM
#30
msaba avatar

msaba

New Zenner

Join Date:
Nov 2006
Location:
Storrs, CT
Posts:
8
Plugin Contributions:
0

Re: PayPal Integration

HELP! Here is my situation.

I have an installation of zencart v1.3.0.2 and PayPal isn't working properly. When you checkout via paypal the payment is accepted but No invoice is created and No order number is assigned. Interestingly my test users last successful order number is displayed. This is what I have done to try and correct this problem:

  1. Upgraded to v1.3.5
  2. Remove and install PayPal again
  3. Turned on Debug mode for PayPal

The problem still persists! The PayPal debug showed this message after a test purchase:
IPN FATAL ERROR::Transaction did not validate

Not sure what this means...?

Any and All help greatly appreciated.

Here is some supporting information:
-------------Begin Server Info--------------------
Database: MySQL 4.1.21-standard
PHP Version: 5.0.4 (Zend: 2.0.4-dev)
** Zen Cart 1.3.5**

 ** Database Patch Level:  1.3.5**

v1.3.0.2 [2006-08-18 08:18:00] (Version Update 1.3.0.1->1.3.0.2)
v1.3.0.1 [2006-08-18 08:18:00] (Version Update 1.3.0->1.3.0.1)
v1.3.0 [2006-08-18 08:18:00] (Version Update 1.2.7->1.3.0)
v1.2.7 [2006-08-18 08:17:59] (Version Update 1.2.6->1.2.7)
v1.2.6 [2005-11-16 06:10:22] (Version Update 1.2.5->1.2.6)
v1.2.5 [2005-06-29 19:29:14] (Version Update 1.2.4->1.2.5)
v1.2.4 [2005-04-16 11:25:04] (Fresh Installation)

-------------END Server Info--------------------

9 Nov 2006, 12:37 AM
#31
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: PayPal Integration

RKB:

Hello Rob,
Admin
Configuration
E-Mail Options
Select Email Transport
Edit
PHP is top of the list on the lower right side of the screen

Ron
Thanks Ron. Now that the upgrade to v1.3.6 has been done, the PHP method is being used.

msaba
IPN FATAL ERROR::Transaction did not validate

That would indicate to me that PayPal did not accept the payment and you would have to contact PayPal to find out why. Also, you cannot use your PayPal eMail address to purchase something from yourself.

Setup a $3.00 item and have someone purchase it for you. Then Refund them.
That is Standard testing for any new eCommerce setup. You need to see what your Client will see, so you can edit/customize accordingly.

The learning is in the doing.

Potent Products

9 Nov 2006, 12:48 AM
#32
msaba avatar

msaba

New Zenner

Join Date:
Nov 2006
Location:
Storrs, CT
Posts:
8
Plugin Contributions:
0

Re: PayPal Integration

Website Rob:

msaba
IPN FATAL ERROR::Transaction did not validate

That would indicate to me that PayPal did not accept the payment and you would have to contact PayPal to find out why. Also, you cannot use your PayPal eMail address to purchase something from yourself.

Setup a $3.00 item and have someone purchase it for you. Then Refund them.
That is Standard testing for any new eCommerce setup. You need to see what your Client will see, so you can edit/customize accordingly.

I have two PayPal accounts so the test is valid. Additionally I have recieved 3 orders from other people (PayPal deposits the funds in my PayPal account) and performed 3 tests of my own, all result in me receiving the funds from the buyer, but zen-cart doesn't record the purchase/invoice so I have no record of the transaction in zen-cart! I have had to email the customers to ask what they ordered...very embarassing...:blush:

Normal credit card transactions through my NON-PayPal gateway are processed correctly and an invoice/record of the order is created in zen-cart.

The store has been in operation for over a year and was previously handling paypal transactions without a hitch...that's why I'm scratching my head right now!

9 Nov 2006, 1:01 AM
#33
Kim avatar

Kim

Obaa-san

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

Re: PayPal Integration

The store has been in operation for over a year and was previously handling paypal transactions without a hitch...that's why I'm scratching my head right now!

If PayPal worked before and you didn't make any changes then either A- PayPal is having a hiccup (happens frequently) or B- your host has changed something.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

9 Nov 2006, 1:36 AM
#34
msaba avatar

msaba

New Zenner

Join Date:
Nov 2006
Location:
Storrs, CT
Posts:
8
Plugin Contributions:
0

Re: PayPal Integration

Kim:

If PayPal worked before and you didn't make any changes then either A- PayPal is having a hiccup (happens frequently) or B- your host has changed something.

From what I have read elsewhere in this forum PayPal is a problem with zen-cart.

Some new facts after I investigated some more...

The PayPal problem surfaces after I upgraded to v1.3.0.2 from v1.2.6 on August 18, 2006, I don't get that many orders that time of year...

Once I realized 1.3.0.2 was the problem (as stated elsewhere on this forum) I upgraded to v1.3.5 which all posts seemed to indicate fixed PayPal issue. Unfortunately it did not. Now given these facts all indicators point to the upgrade breaking something, not PayPal or my host. I found one post about a patch for v1.3.0.2 that fixed this PayPal problem but I couldn't find a reference/link to the patch. I am wondering if that needed to be applied before the upgrade to v1.3.5?

9 Nov 2006, 1:59 AM
#35
rkb avatar

rkb

New Zenner

Join Date:
Sep 2006
Location:
Beerwah. QLD. Australia
Posts:
79
Plugin Contributions:
0

Re: PayPal Integration

Hi, Sorry for the delay in posting a reply, I have been trying to rebuild my site due to a couple of stupid error on my part.
If you have Paypal and zencart setup properly the of the purchases including Paypal will show up in Admin.
I have 3 paypal accounts so it makes it esy to check all aspects that is, make sure that the paypal process works properyl in ZenCart and then make sure the Paypal side put the money into the correct bank account.

Paypal have a number of pdf files to help with the setup.

Ron


Cheers
Ron

Keep your heart young, expectations high and never allow your dreams to die.

9 Nov 2006, 12:28 PM
#36
msaba avatar

msaba

New Zenner

Join Date:
Nov 2006
Location:
Storrs, CT
Posts:
8
Plugin Contributions:
0

Re: PayPal Integration

Nothing has changed other then the upgrade of zen-cart.

Though, I would be interested if you could point me to the pdf files you mentioned

9 Nov 2006, 1:40 PM
#37
msaba avatar

msaba

New Zenner

Join Date:
Nov 2006
Location:
Storrs, CT
Posts:
8
Plugin Contributions:
0

Re: PayPal Integration

I have reviewed all the admin and PayPal settings and verified everything!

When I ran another test transaction I got the following errors in the zen-cart/Paypal debug log

***Thu Nov 2006 8:31 -- IPN WARNING::Transaction email address not matched. From IPN = [email protected]: From CONFIG = [email protected]

Thu Nov 2006 8:31 -- IPN FATAL ERROR::Transaction did not validate**
*

What is interesting is the IPN and CONFIG emails match as you can see! I also verified that my PayPal account has the same email as the primary?!? Yes exactly the same, case-sensitive, etc...

Any other ideas???

....HELP!! :shocking:

9 Nov 2006, 2:46 PM
#38
raydube avatar

raydube

New Zenner

Join Date:
Sep 2006
Posts:
51
Plugin Contributions:
0

Re: PayPal Integration

msaba:

I have reviewed all the admin and PayPal settings and verified everything!

When I ran another test transaction I got the following errors in the zen-cart/Paypal debug log

***Thu Nov 2006 8:31 -- IPN WARNING::Transaction email address not matched. From IPN = [email protected]: From CONFIG = [email protected] ***

*Thu Nov 2006 8:31 -- IPN FATAL ERROR::Transaction did not validate *
What is interesting is the IPN and CONFIG emails match as you can see! I also verified that my PayPal account has the same email as the primary?!? Yes exactly the same, case-sensitive, etc...

Any other ideas???

....HELP!! :shocking:

Hello Msaba,

I just found a post from Dr. Byte that talks about the bug in version 1.3.5, which I assume you have.

Apparently, in the file paypal_functions.php (public_html/includes/modules/payment/paypal/) there is an error:

Line 60

if ($postArray['business'] != strtolower(MODULE_PAYMENT_PAYPAL_BUSINESS_ID)) {

Should read:

if (strtolower($postArray['business']) != strtolower(MODULE_PAYMENT_PAYPAL_BUSINESS_ID)) {

I hope this helps you out, it did me! :)

Dr. Byte also mentioned that this was fixed in 1.3.6.

Ray

9 Nov 2006, 3:37 PM
#39
msaba avatar

msaba

New Zenner

Join Date:
Nov 2006
Location:
Storrs, CT
Posts:
8
Plugin Contributions:
0

Re: PayPal Integration

First thank you very much for taking the time to help me out.

I made the change to line 60 of modules/payment/paypal/paypal_functions.php

Ran another test transaction and .... Nothing, the process still fails with the same error in the debug log!

Same problem status as before...but at least I have one less bug!

9 Nov 2006, 5:16 PM
#40
rkb avatar

rkb

New Zenner

Join Date:
Sep 2006
Location:
Beerwah. QLD. Australia
Posts:
79
Plugin Contributions:
0

Re: PayPal Integration


Cheers
Ron

Keep your heart young, expectations high and never allow your dreams to die.