Forums / Addon Payment Modules / PayPal Integration

PayPal Integration

Locked

Views: 9,167

Results 1 to 20 of 44
This thread is locked. New replies are disabled.
28 Oct 2006, 6:03 AM
#1
rkb avatar

rkb

New Zenner

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

PayPal Integration

Well anyone following my posts would see that I am steadily making my way to the the checkout.

I have PayPal intergrated with the exception that the invoice does not pick up the Products Name or Products Model, it just shows

thepatchshop.com.au Purchase Item Number1 1 $8.50 AUD

I have no number1 in my products list

It would be good if I knew whether I needed to be working on Paypal or ZenCart to sort the issue

Ron


Cheers
Ron

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

28 Oct 2006, 7:47 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: PayPal Integration

That is how the order shows up on the PayPal side.
The customer will receive an email confirmation from your shop once the order is released to your shop by PayPal. This order confirmation email will include the full details of the order.

If for some reason your server is not receiving notifications from PayPal about the completed order, and is therefore not releasing those orders, see this troubleshooting guide:
http://www.zen-cart.com/wiki/index.php/PayPal

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

28 Oct 2006, 9:22 AM
#3
rkb avatar

rkb

New Zenner

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

Re: PayPal Integration

Thanks for your prompt reply,
I have checked and rechecked the settings and instructions.

The money is flying around to all of the right places.

If I select COD or Cheque / Money Order as my payment method the Item Number and Item Name are transported to the documentation.

If I select Paypal all of the detail comes through correctly, EXcept the Item Number and Name. I get the confirmation email that a purchase has happened, but due to NO Item number or name, I have no idea what has been purchased,

Iwill keep digging

Ron


Cheers
Ron

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

28 Oct 2006, 9:35 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: PayPal Integration

Based on what you're describing, you likely ALSO do not have a real ORDER in your Zen Cart admin area for the purchases made with PayPal.
THIS indicates that PayPal's server is not successfully communicating back to your store to tell it that it has received payment.

PayPal sends its own email. This has NOTHING to do with your Zen Cart shop and whether PayPal was able to get your server to release the order.

Thus, there are still problems.

What version of Zen Cart are you using?
Upgrade to 1.3.6 or 1.3.5 and turn on debug logging as described in the troubleshooting article I referenced earlier. What are the details that appear in the logs?

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

28 Oct 2006, 10:47 AM
#5
rkb avatar

rkb

New Zenner

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

Re: PayPal Integration

Unsure of the Zencart Version, somewhere between 1.3.6. and 1.3.5
I upgraded earlier today, Zencart still thinks it is 1.3.5 database thinks it is 1.3.6

So I will run the upgrade again.

I have turned on debug logging

I will then do some more PayPal Trans and see what happens.

I have real trans in zencart admin.

But I think I am missing some commms

Ron


Cheers
Ron

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

28 Oct 2006, 11:36 AM
#6
website_rob avatar

website_rob

Inactive

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

Re: PayPal Integration

I have also noticed with ZC v1.3.5 Linux, the Product Name / Model is not being transsferred -- to PayPal or Linkpoint in this case. I was led to believe by another Forum Member that it used to work but since the update to 1.3.5, it no longer does.

If the Money Order option is used, all information related to Product purchased is correctly provided.

Could it be that certain variables are not correctly being passed on by ZenCart?

Note: I also use other Billing modules in other PHP scripts they do not have this problem.

The learning is in the doing.

Potent Products

28 Oct 2006, 12:09 PM
#7
rkb avatar

rkb

New Zenner

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

Re: PayPal Integration

Thanks for the comments, to me logic says there is something not speaking the lingo it is supposed too. I hope to find it soon.

Ron


Cheers
Ron

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

28 Oct 2006, 5:52 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: PayPal Integration

RKB:

Unsure of the Zencart Version, somewhere between 1.3.6. and 1.3.5
I upgraded earlier today, Zencart still thinks it is 1.3.5 database thinks it is 1.3.6

If your database reports as 1.3.6 and Zen Cart reports as 1.3.5, then you have not uploaded the updated PHP files after carefully merging your customizations into them.

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

28 Oct 2006, 5:55 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: PayPal Integration

Website Rob:

I have also noticed with ZC v1.3.5 Linux, the Product Name / Model is not being transsferred -- to PayPal or Linkpoint in this case. I was led to believe by another Forum Member that it used to work but since the update to 1.3.5, it no longer does.

If the Money Order option is used, all information related to Product purchased is correctly provided.

Could it be that certain variables are not correctly being passed on by ZenCart?

Note: I also use other Billing modules in other PHP scripts they do not have this problem.

  1. Zen Cart does NOT pass detailed product info to PayPal. It stores it internally and displays it in your Zen Cart admin area. PayPal never sees the "real" order details.

  2. Orders paid by LinkPoint, if properly authorized and payment completed, will show order details in Zen Cart. Again, LinkPoint never sees the line-by-line order details.

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

28 Oct 2006, 7:55 PM
#10
website_rob avatar

website_rob

Inactive

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

Re: PayPal Integration

A Money Order receipt shows:
Products

1 x Product Name = $85.95

Sub-Total: $85.95
Table Rate (Best Way): $9.75
Sales Tax: $0.00
Total: $95.70

A LinkPoint receipt shows:
Item Price: $4.09 USD
Total: $4.09 USD
Item/Product Name: Purchase
Item/Product Number: 1

A PayPal receipt shows:
Subtotal: $4.09
Tax: $0.00
Shipping: $0.00
Total: $4.09

Can you explain why the Money Order receipt gives accurate & detailed information whereas other payment methods do not, due to ZC coding? Why would anyone not want to know the Product name(s) of what they purchased?

As a Client myself who purchases many things on the Internet, I seldom get a confirmation that does not tell me what I purchased. And if I don't, I seldom shop there again.

The learning is in the doing.

Potent Products

28 Oct 2006, 8:02 PM
#11
drbyte avatar

drbyte

Sensei

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

Re: PayPal Integration

Yes, all the Order Confirmation emails **generated by Zen Cart **are designed to produce a detailed list of contents.

Who is the sender of each of those emails you mention? Is it your store, or a paypal or linkpoint server? If it didn't come from your store, then Zen Cart didn't generate it, and thus there is no control over their contents.

What are you finding in the paypal log files?

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

28 Oct 2006, 8:25 PM
#12
website_rob avatar

website_rob

Inactive

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

Re: PayPal Integration

The information I provided, from LinkPoint & PayPal, are a copy & paste from the actual payment Confirmation eMail sent by LinkPoint & PayPal.

As I understand it, ZC coding "purposely" does not provide Gateways with information for Product Name, to name one, and I don't understand why that would be so. Next question would be, how can an individual change the coding so that desired information is passed on?

The learning is in the doing.

Potent Products

28 Oct 2006, 8:54 PM
#13
drbyte avatar

drbyte

Sensei

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

Re: PayPal Integration

I believe the original poster's issue is that their PayPal IPN notifications are not completing.

Hence the question about the paypal debug logs.

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

28 Oct 2006, 9:17 PM
#14
rkb avatar

rkb

New Zenner

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

Re: PayPal Integration

Original poster back here.

It seems to me that ZenCart and PayPal IPN are doing most of what I need, with the exception that Zen Cart does not sent the Item Name or Number to Paypal.

In my case I have of 50 different items all priced at $7 so the buyer and seller dont have a confirmation of which item has been purchased or sold.

The seller can go into admin/customers orders and establish what has been sold, but I would thought that the Item Name and/or Item Number should appear on all of the emails and "paper work" somewhere.

I have found the feilds that do the job, I am checking them against the database names trying to find why the Item number and/or name are not called upto the paypay invoice.

Ron


Cheers
Ron

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

28 Oct 2006, 10:11 PM
#15
drbyte avatar

drbyte

Sensei

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

Re: PayPal Integration

Most important question ... do your PayPal orders show up in Zen Cart's admin area?

If not, then you have no stock-mgmt, no record of sales, no ability to report on sales trends, etc.

Once you have that working, you'll likely find no need to change the coding, as all the requirements will already be met, albeit perhaps not exactly as you had pre-anticipated.

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

29 Oct 2006, 12:52 AM
#16
website_rob avatar

website_rob

Inactive

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

Re: PayPal Integration

If I may, I'd like to re-ask my question from above.

How can an individual change the coding so that desired information is passed on?

Already had one person complain, the Items they purchased were not listed by name in their confirmation eMail. Would like to avoid future issues of this.

The learning is in the doing.

Potent Products

29 Oct 2006, 11:57 AM
#17
rkb avatar

rkb

New Zenner

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

Re: PayPal Integration

Hello Dr Byte,
Sorry for the delay in replying, I decided to start afresh with 3.6.1. So have been busy deleting, uploading and getting everything back together.

Yes, all sales are ending up in Admin.

It all seems to be fine, except the Paypal docket does not show the purchaser the name of what they have purchased and the paypal email to the seller does have it either.

When I get it sorted I will come back here.

Ron


Cheers
Ron

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

31 Oct 2006, 1:09 AM
#18
tomthetoyman avatar

tomthetoyman

New Zenner

Join Date:
Oct 2006
Posts:
3
Plugin Contributions:
0

Re: PayPal Integration

Hello! I'm new, this is my first post. I'm having the same problem w/ Paypal Integration.
Paypal sends me an e-mail saying I've got money, they give an amount and where to ship. But it also says "Item/Product 1".
When I go to my paypal account it gives me a ZEN ID Number like; zenid=7c25ae5fcfb3dfbe5c0a09b85d461723. But I can not find that number referenced anywhere in my ZEN Control panel, or on Paypal.
How will I ever know what to send the customer?
BTW, I installed the module per instructions, set Debug Mode to Log & E-Mail, I went to my FTP Client, at /includes/modules/payment/paypal/logs folder and made certain the folder is marked read/write (chmod 777).
I also went to Paypal & removed the Taxes charge.
What's left?
Thank you in advance for your reply.

Think like a man of action; Act like a man of thought.

31 Oct 2006, 1:25 AM
#19
tomthetoyman avatar

tomthetoyman

New Zenner

Join Date:
Oct 2006
Posts:
3
Plugin Contributions:
0

Re: PayPal Integration

Oops! I figured out the Paypal Integration! See previous post above.
What fixed it was changing the settings at /includes/modules/payment/paypal/logs folder and made certain the folder is marked read/write (chmod 777).
Oh, when I refreshed the page on my Admin Home I saw the new order in the "Processing" area.
WOW, what a cool program!
Thank You, Thank You, Thank You, Thank You, Thank You, Thank You!

Think like a man of action; Act like a man of thought.

31 Oct 2006, 6:49 AM
#20
rkb avatar

rkb

New Zenner

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

Re: PayPal Integration

Pleased you have it going now,
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.

I have changed includes/modules/payment/paypal.php a little to make the "docket and eMails the Buyer gets a little more comforting.
zen_draw_hidden_field('item_name', STORE_NAME ) .
zen_draw_hidden_field('item_number', '...:Biker cloth patches from thepatchshop, Beerwah, Qld, Australia.') .

Ron


Cheers
Ron

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