Forums / Built-in Shipping and Payment Modules / PayPal/ZenCart Config Issues

PayPal/ZenCart Config Issues

Locked

Views: 2,803

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
10 Oct 2006, 1:52 AM
#1
fymbscu avatar

fymbscu

New Zenner

Join Date:
Jan 2006
Posts:
38
Plugin Contributions:
0

PayPal/ZenCart Config Issues

Hi folks,

I am experiencing two issues when implementing our new PayPal module.

This is the IPN address I am hoping/expecting to achieve:
https://limoleds.com/zencart1350/index.php?main_page=checkout_process

This is the IPN address that ZenCart is compelling me to use:
https://bender.liquidweb.com/~limoleds/zencart1350/ipn_main_handler.php

My question is, under what circumstances am I wedded to the second version?

My belief is that this became configured as I installed the cart via the bender.liquidweb.com/~limoleds access point while waiting for the limoleds.com DNS to propagate. If this is so, which files need to be edited to correct the path to limoleds.com?

My fear is that I am stuck with the second version in order to use my host's SSL certificate. I hope this is not the case.

The second issue has to do with passing from ZenCart to Paypal in the checkout process. I am using Firefox as my browser and when I hit the link that takes me to the Paypal pages, the email address field on that first page is pre-populated with our Paypal Merchant account's primary address. This is an address we don't want to be freely distributed as it poses a security risk. Is this a flaw of the system or of the browser?

Once again, thanks for all the help.

Regards,

Mark Harrison

10 Oct 2006, 2:51 AM
#2
Kim avatar

Kim

Obaa-san

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

Re: PayPal/ZenCart Config Issues

Are you using shared SSL or have you purchased your own certificate?

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.

10 Oct 2006, 4:00 AM
#3
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: PayPal/ZenCart Config Issues

fymbscu:

My fear is that I am stuck with the second version in order to use my host's SSL certificate. I hope this is not the case.
If you plan on using a shared SSL then yes this is the URL you will have to use,
Your other option ( if available through your host ) is to purchase a dedicated SSL

fymbscu:

The second issue has to do with passing from ZenCart to Paypal in the checkout process. I am using Firefox as my browser and when I hit the link that takes me to the Paypal pages, the email address field on that first page is pre-populated with our Paypal Merchant account's primary address. This is an address we don't want to be freely distributed as it poses a security risk. Is this a flaw of the system or of the browser?

Mark Harrison

Your address is pre populating becuase its saved in cache,

customers will NOT see your email address, they will see theirs.

Zen cart PCI compliant Hosting

10 Oct 2006, 3:06 PM
#4
flakrat avatar

flakrat

New Zenner

Join Date:
Apr 2005
Posts:
74
Plugin Contributions:
0

Re: PayPal/ZenCart Config Issues

fymbscu:

This is the IPN address I am hoping/expecting to achieve:
https://limoleds.com/zencart1350/index.php?main_page=checkout_process

This is the IPN address that ZenCart is compelling me to use:
https://bender.liquidweb.com/~limoleds/zencart1350/ipn_main_handler.php
I'm not sure I follow, I thought the first URL (with main_page=checkout_process) was the URL for the Auto Return

And the second URL (ipn_main_handler.php) was the one you are supposed to use in the "Instant Payment Notification Preferences"

That's the way I have mine set up and it is failing to:
a) AutoReturn
b) Not updating ZenCart that the Order has been payed for

Should I be using https://mydomain/index.php?main_page=checkout_process for my IPN address and the AutoReturn address?

10 Oct 2006, 4:22 PM
#5
nhradeuce avatar

nhradeuce

New Zenner

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

Re: PayPal/ZenCart Config Issues

fymbscu:

Hi folks,

I am experiencing two issues when implementing our new PayPal module.

This is the IPN address I am hoping/expecting to achieve:
https://limoleds.com/zencart1350/index.php?main_page=checkout_process

This is the IPN address that ZenCart is compelling me to use:
https://bender.liquidweb.com/~limoleds/zencart1350/ipn_main_handler.php

My question is, under what circumstances am I wedded to the second version?

My belief is that this became configured as I installed the cart via the bender.liquidweb.com/~limoleds access point while waiting for the limoleds.com DNS to propagate. If this is so, which files need to be edited to correct the path to limoleds.com?

My fear is that I am stuck with the second version in order to use my host's SSL certificate. I hope this is not the case.

The second issue has to do with passing from ZenCart to Paypal in the checkout process. I am using Firefox as my browser and when I hit the link that takes me to the Paypal pages, the email address field on that first page is pre-populated with our Paypal Merchant account's primary address. This is an address we don't want to be freely distributed as it poses a security risk. Is this a flaw of the system or of the browser?

Once again, thanks for all the help.

Regards,

Mark HarrisonThis is going to be a problem with your shared certificate. In order for the cert to not throw up a bunch of domain doesn't match errors, you have to have all of your secure pages served from bender.liquidweb.com. The only way around that is to get your own certificate. Your host will probably need to put your site on a seperate IP address for this to work properly.

10 Oct 2006, 4:57 PM
#6
Kim avatar

Kim

Obaa-san

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

Re: PayPal/ZenCart Config Issues

flakrat:

Should I be using https://mydomain/index.php?main_page=checkout_process for my IPN address and the AutoReturn address?

No, you do not use the checkout_process for both.

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.

10 Oct 2006, 8:23 PM
#7
fymbscu avatar

fymbscu

New Zenner

Join Date:
Jan 2006
Posts:
38
Plugin Contributions:
0

Re: PayPal/ZenCart Config Issues

Sorry for the confusion, flakrat,

I meant to compare:
https://limoleds.com/zencart1350/ipn_main_handler.php
and
https://bender.liquidweb.com/~limoleds/zencart1350/ipn_main_handler.php
where it was the path and not the final filename that I was seeking clarification on.

The former is as I expected to see it work and also the suggested form at the PayPal IPN tutorial I started at: http://www.camelot-hosting.com/paypal/tutorial/WebHelp/Paypal_IPN.htm.
The ZenCart Wiki at:
http://www.zen-cart.com/wiki/index.php/PayPal
is equally vague on this point.

Rather than rely on either of these tutorials and other speculation, you can get a definitive answer for each path, IPN and AutoReturn respectively, by opening your Admin, going to Modules: Payment and clicking on the info button next to Paypal IPN. The Configuration Instructions at the top of the righthand column show both paths in your server-specific detail. To whit:

Configuration Instructions:
On https://www.paypal.com, under "Profile",

* set your Instant Payment Notification Preferences URL to:
  <https://bender.liquidweb.com/~limoleds/zencart1350/ipn_main_handler.php>
* in Website Payments Preferences set your Automatic Return URL to:                                         

https://bender.liquidweb.com/~limoleds/zencart1350/index.php?main_page=checkout_process

for my situation.

So my advice is to use the Admin to answer your question and see it gets things working for you.

Regards,

Mark Harrison

11 Oct 2006, 1:49 PM
#8
nhradeuce avatar

nhradeuce

New Zenner

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

Re: PayPal/ZenCart Config Issues

Actually, there is no need to set up an IPN or return URL in your Paypal account. The IPN module passes those URLs to Paypal, and those values override your Paypal settings to begin with.

12 Oct 2006, 1:13 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: PayPal/ZenCart Config Issues

NHRADeuce:

Actually, there is no need to set up an IPN or return URL in your Paypal account. The IPN module passes those URLs to Paypal, and those values override your Paypal settings to begin with.

True ... but must still have the IPN "enabled", regardless of the path specified.

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

24 Oct 2006, 7:29 PM
#10
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: PayPal/ZenCart Config Issues

NHRADeuce:

Actually, there is no need to set up an IPN or return URL in your Paypal account. The IPN module passes those URLs to Paypal, and those values override your Paypal settings to begin with.

Ok, that explains MY issue :)

I just freaked out because I notice the "return url" in my PP account was wrong... but found it odd I've never had a problem. Whew.

  • Steven
12 Dec 2006, 1:58 PM
#11
doctor_jon avatar

doctor_jon

New Zenner

Join Date:
Sep 2004
Location:
Sussex - UK
Posts:
29
Plugin Contributions:
0

Re: PayPal/ZenCart Config Issues

NHRADeuce:

Actually, there is no need to set up an IPN or return URL in your Paypal account. The IPN module passes those URLs to Paypal, and those values override your Paypal settings to begin with.

This seems to be the answer I'm looking for as I need to send customers back to a different URL after payment has been made.

Can you tell me which file it is that contains this variable and where to change it please.

I relly need this as PayPal seems to override the url I tell it :(

TIA.

12 Dec 2006, 2:03 PM
#12
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: PayPal/ZenCart Config Issues

You need it to go back to the checkout process page otherwise NO order will be created.

once at checkout process it will display checkout success, from there you can have it forwarded to anywhere you want, but it has to take these steps

Zen cart PCI compliant Hosting

12 Dec 2006, 2:42 PM
#13
doctor_jon avatar

doctor_jon

New Zenner

Join Date:
Sep 2004
Location:
Sussex - UK
Posts:
29
Plugin Contributions:
0

Re: PayPal/ZenCart Config Issues

Merlinpa1969:

once at checkout process it will display checkout success, from there you can have it forwarded to anywhere you want, but it has to take these steps

I understand. However, how can I forward it to a new URL?

12 Dec 2006, 2:45 PM
#14
nhradeuce avatar

nhradeuce

New Zenner

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

Re: PayPal/ZenCart Config Issues

Doctor Jon:

This seems to be the answer I'm looking for as I need to send customers back to a different URL after payment has been made.

Can you tell me which file it is that contains this variable and where to change it please.

I relly need this as PayPal seems to override the url I tell it :(

TIA.You'd have to account for the entire order making process like Merlinpa1969 mentioned. If you don't then you will get funds from paypal, but no order to go with the funds. You would probably be better off letting Zen process the payment to the order confirmation screen, then picking up any paypal orders and sending them to the URL you want AFTER the order has been made.

12 Dec 2006, 4:17 PM
#15
Kim avatar

Kim

Obaa-san

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

Re: PayPal/ZenCart Config Issues

Doctor Jon-

Perhaps an explanation of why you think your customers need to return to a different URL would help?

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.

12 Dec 2006, 6:29 PM
#16
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: PayPal/ZenCart Config Issues

Its an IFRAME

and it cant be directed back to .com/
it needs to go to .com/shop/ since thats where the files reside, thats where the configuration resides.

rather than I framing why not just put YOUR header into ZC.

that would solve this delima

Zen cart PCI compliant Hosting