since the code you removed checks to see if
cart.getAttribute("payPalCheckoutToken");
is empty then adds it, I would say the problem is farther up the line.


Pranay Pandey sent the following on 8/16/2010 3:40 AM:
Hi Liang and Scott,

This is the solution to the problem that I also found when I
communicated the issue with PayPal developers network. It seems correct.

Thanks & Regards
--
Pranay Pandey

On Aug 13, 2010, at 3:17 PM, 张良 wrote:

Hi there,

I was redirected to Paypal when the first time i click the link
/control/setPayPalCheckout after I added some items into the cart, and I
returned back to the website without finished the payment on Paypal.
Then i
failed to be redirected to Paypal again after I clicked the link
/control/setPayPalCheckout again.

I don't know much about the Paypal express checkout, but I found a way to
resovle this problem. I'm not sure if it's the correct way. Does
anyone have
ideas about this?

There are 3 lines in PayPalServices.java from 111 to 113:
if (UtilValidate.isNotEmpty(token)) {
encoder.add("TOKEN", token);
}

The problem went away after I commented out those 3 lines. Any helps on
this will be appreciated.

Regards,

Liang Zhang


Reply via email to