Zen Cart Logo
Forums / PayPal Express Checkout support / Using Paypal express checkout issue...

Using Paypal express checkout issue...

Views: 10,005

Results 21 to 36 of 36
14 Apr 2011, 11:02 PM
#21
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Using Paypal express checkout issue...

Hi Susie,

Yes, you are correct, I am staying with the IPN and it does automatically return them to our website after their payment at Paypal has been processed. Yours should be too if you are using the latest version of Zencart v1.3.9

This is actually what causes the "Lost Order" syndrome, is that people do not wait to be automatically returned to our website and they close the Paypal window (even though it tells them that they will be automatically returned to our site).

Hope that this helps to clarify this,

Jeff

16 Apr 2011, 3:22 AM
#22
drbyte avatar

drbyte

Sensei

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

Re: Using Paypal express checkout issue...

... and the automatic return to your site only happens if you've enabled that option in your PayPal Website Payment Preferences (as described here http://www.zen-cart.com/wiki/index.php/PayPal) ... AND only if your customer already has a PayPal account. If they don't already have a PayPal account, then the IPN method will present them with yet another screen which invites them to create an account ... and sits there waiting until they choose yes or no, and until they make a decision, your store will never know about the transaction because no IPN is sent to your store until the customer makes a choice, even though payment is collected. Yet another drawback of using the antiquated IPN method in conjunction with an advanced database-driven ecommerce store system.

16 Apr 2011, 1:27 PM
#23
sunflowertami avatar

sunflowertami

Zen Follower

Join Date:
Jun 2008
Posts:
267
Plugin Contributions:
0

Re: Using Paypal express checkout issue...

Awhile back I said I switched to Paypal Express due to the IPN warning errors I have been having. When I DID switch, the IPN warnings got worst so I switched back to Paypal Standard :(

Checking the records, it shows that the time I switched to Paypal Express, I was getting an IPN failing error.

16 Apr 2011, 5:12 PM
#24
drbyte avatar

drbyte

Sensei

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

Re: Using Paypal express checkout issue...

What version of ZC were you using at the time?

16 Apr 2011, 5:19 PM
#25
sunflowertami avatar

sunflowertami

Zen Follower

Join Date:
Jun 2008
Posts:
267
Plugin Contributions:
0

Re: Using Paypal express checkout issue...

1.3.9h

Haven't been having any issues yet when I switched back to Paypal Standard.

19 Apr 2011, 4:55 AM
#26
drbyte avatar

drbyte

Sensei

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

Re: Using Paypal express checkout issue...

wondergirl:

Not so fast..Client in Canada places small test order, and gets this at the top of the zencart page as per her email to me:

I just tried to place an order with you, paying vai Paypal. My addresses have not changed, billing OR## ship to. Here is what I get:
A long RED bar along the top of your site, there is a yeloow triangle with an "!" inside and it says : the address you selected at paypal is not a confirmed address. Please return to paypal and select or add a confirmed address and try again.

So I go check out her customer info and see that her main address is more than likely the same as her "confirmed" shipping address with paypal, but the place she is shipping it to is not the same address, it's her place of business..ok...

So I call paypal and tell them the issue and is there a workaround to allow my clients to use an alternate shipping address in Express Checkout like it works in the old IPN checkout..
The tech explains that NO, it doesn't work that way and that the client indeed has to have the main confirmed shipping address chosen in zencart in order to process the order.

This is not good for me as some of my customers do not always have their purchases sent to their homes, sometimes the send gifts to friends, sometimes they send items to their work, etc.

Is there no workaround for this? or am I going to have to stay with the old paypal IPN?
wondergirl,
If you're willing to try Express Checkout again, I'd like to suggest you make a slight coding change to see if this particular problem goes away properly:

  • edit /includes/modules/payment/paypalwpp.php
  • around line 1633 (of v1.3.9h version) you'll see code that looks like the following.
  • simply add the two "//" at the beginning of the line, as shown in red here:```
    if (MODULE_PAYMENT_PAYPALWPP_CONFIRMED_ADDRESS == 'Yes' && strtoupper($response['ADDRESSSTATUS']) != 'CONFIRMED') {
    [B]//[/B] $this->terminateEC(MODULE_PAYMENT_PAYPALWPP_TEXT_CONFIRMEDADDR_ERROR, true, FILENAME_CHECKOUT_SHIPPING);
    }
19 Apr 2011, 6:15 AM
#27
wondergirl avatar

wondergirl

Zen Follower

Join Date:
Jul 2005
Posts:
108
Plugin Contributions:
0

Re: Using Paypal express checkout issue...

DrByte:

wondergirl,
If you're willing to try Express Checkout again, I'd like to suggest you make a slight coding change to see if this particular problem goes away properly:

  • edit /includes/modules/payment/paypalwpp.php
  • around line 1633 (of v1.3.9h version) you'll see code that looks like the following.
  • simply add the two "//" at the beginning of the line, as shown in red here:```
    if (MODULE_PAYMENT_PAYPALWPP_CONFIRMED_ADDRESS == 'Yes' && strtoupper($response['ADDRESSSTATUS']) != 'CONFIRMED') {
    [B]//[/B] $this->terminateEC(MODULE_PAYMENT_PAYPALWPP_TEXT_CONFIRMEDADDR_ERROR, true, FILENAME_CHECKOUT_SHIPPING);
    }

I am going to try to implement this tomorrow, and will try to get someone to test this with the new code change. Ty DrByte. Will keep you informed
19 Apr 2011, 2:56 PM
#28
wondergirl avatar

wondergirl

Zen Follower

Join Date:
Jul 2005
Posts:
108
Plugin Contributions:
0

Re: Using Paypal express checkout issue...

Dr. Byte: I tried to insert the code in the proper place as you suggest but somehow the format you used in a quote box messes up in the php file. I am afraid to try it when it looks like it breaks the formatting.

I should add that I was using "wordpad" to edit, and that might be why, but Windows 7 doesn't have notepad that I can see.

19 Apr 2011, 3:08 PM
#29
drbyte avatar

drbyte

Sensei

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

Re: Using Paypal express checkout issue...

You don't need to copy and paste any code. Just add the // to the beginning of the line as shown.

19 Apr 2011, 3:09 PM
#30
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Using Paypal express checkout issue...

but Windows 7 doesn't have notepad that I can see.
Click start, then All programs, then accessories folder...
You will find notepad there.
:smile:

19 Apr 2011, 3:14 PM
#31
wondergirl avatar

wondergirl

Zen Follower

Join Date:
Jul 2005
Posts:
108
Plugin Contributions:
0

Re: Using Paypal express checkout issue...

ok, i've inserted the code. Keep your fingers crossed.

16 May 2011, 7:22 PM
#32
drbyte avatar

drbyte

Sensei

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

Re: Using Paypal express checkout issue...

I gather this has resolved your problem?

17 May 2011, 8:39 PM
#33
wondergirl avatar

wondergirl

Zen Follower

Join Date:
Jul 2005
Posts:
108
Plugin Contributions:
0

Re: Using Paypal express checkout issue...

no idea yet...haven't had a sale since putting in the code. Hope it isn't an issue with the code. doubt it tho..times have been slow

17 May 2011, 11:50 PM
#34
drbyte avatar

drbyte

Sensei

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

Re: Using Paypal express checkout issue...

Have you tried a test order to be sure things are working properly?

18 May 2011, 12:14 AM
#35
wondergirl avatar

wondergirl

Zen Follower

Join Date:
Jul 2005
Posts:
108
Plugin Contributions:
0

Re: Using Paypal express checkout issue...

as far as testing, I have gone as far as having the cart purchase go to the paypal page..yes.

18 May 2011, 6:46 AM
#36
drbyte avatar

drbyte

Sensei

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

Re: Using Paypal express checkout issue...

Well, that's a start. But doesn't prove that it's all working all the way through.
If you've got other analytics/stats that prove you've had no traffic and no attempts at checkout, maybe that's all the testing you're willing to do.
But if you don't have any such stats, then wouldn't it be logical to perform a complete checkout to be sure that the transaction completes and the money transfers correctly? ... especially if you've been having problems previously and/or editing files for whatever reason.