If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / PayPal Express Checkout support / "PayPal Account - optional" bug/feature with solution!

"PayPal Account - optional" bug/feature with solution!

Locked

Started by andrabr on 26 Jan 2007, 9:27 AM · Views: 166

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
26 Jan 2007, 9:27 AM
#1
andrabr avatar

andrabr

New Zenner

Join Date:
Jan 2007
Posts:
36
Plugin Contributions:
0

"PayPal Account - optional" bug/feature with solution!

I was hoping to use PayPal Express Checkout as the ONLY means of payment (for now), so I was disappointed to notice that the latest version of EC payment module with the patches (many many thanks to Dr. Byte!) gives my visitors only two options:

  1. if their browser has a cookie indicating that the visitor has PayPal account, they are taken to PayPal login page.

  2. if there is no such cookie, they are taken to a page that looks like a normal credit card payment page until you notice that it REQUIRES you to create a PayPal account. Very sneaky! See attached PayPal-CreateAccount.jpg

The solution (which hopefully will make it into the core code some day) is to add to your paypal_curl.php at line 134 the following:

$values['SOLUTIONTYPE'] = 'SOLE';

That's it. Your buyers (non-PayPal members) will see the attached PayPal-Optional.jpg

Tiny difference, but fewer shoppers will walk away

According to PayPal tech support that is supposed to be the default behavior anyway (I can forward their email to anyone interested).

Half the thanks go to Dr. Byte: his unrelenting support inspired me to write this up in an attempt to "give back" :smartass:

27 Jan 2007, 2:44 PM
#2
brian_the_brain avatar

brian_the_brain

New Zenner

Join Date:
Jul 2006
Posts:
16
Plugin Contributions:
0

Re: "PayPal Account - optional" bug/feature with solution!

andrabr:

I was hoping to use PayPal Express Checkout as the ONLY means of payment (for now), so I was disappointed to notice that the latest version of EC payment module with the patches (many many thanks to Dr. Byte!) gives my visitors only two options:

  1. if their browser has a cookie indicating that the visitor has PayPal account, they are taken to PayPal login page.

  2. if there is no such cookie, they are taken to a page that looks like a normal credit card payment page until you notice that it REQUIRES you to create a PayPal account. Very sneaky! See attached PayPal-CreateAccount.jpg

The solution (which hopefully will make it into the core code some day) is to add to your paypal_curl.php at line 134 the following:

$values['SOLUTIONTYPE'] = 'SOLE';

That's it. Your buyers (non-PayPal members) will see the attached PayPal-Optional.jpg

Tiny difference, but fewer shoppers will walk away

According to PayPal tech support that is supposed to be the default behavior anyway (I can forward their email to anyone interested).

Half the thanks go to Dr. Byte: his unrelenting support inspired me to write this up in an attempt to "give back" :smartass:

Interesting. This did not work with the PayPal Sandbox, but did with the real PayPal.

When I searched for PayPal Express in PayPal help, this is one of the Q/As

" Do my customers need a PayPal account to use Express Checkout?

If your customer do not have a PayPal account, they will be asked to sign up for a PayPal account during the Express Checkout payment flow."

So, I guess that means it is not required as I originally (mis)read.

Thanks for the solution. I'll feel better about using the Express.

27 Jan 2007, 3:05 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: "PayPal Account - optional" bug/feature with solution!

FWIW, while the proposed key will help 'today', I've been advised that PayPal doesn't plan to continue to support that option into the future. I guess that means enjoy it while it lasts ?

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