Greetings,

I've got everythign set up, and it seems to be working properly wiht the roles, permissions, etc. However, when someone tries to use the subscription button, they get the following error from paypal.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Error Detected

We cannot process this transaction because there is a problem with the PayPal email address supplied by the seller.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

The email address beign used is the primary default email. The account is a business premier account. The address was entered properly into the module.

Any idea what might be cause this issue?

Comments

selectsplat’s picture

I found that if I uncheck the following option, that it works ok.

LM PayPal Javascript Hide Email

If I check htis option, it does not work.

LeeMcL’s picture

Assigned: Unassigned » LeeMcL

I can only presume you are using a browser that has javascript disabled for your site (or all sites)?

Lee

selectsplat’s picture

Nope.

I'm have js enabled.

hugafish’s picture

It's been awhile since this post, have you had any other issues using this module with 5.x Drupal ? I'm wanting to use this for my live site and since it is dev version I'm a little weary to do so. Do you know when this module might become stable for 5.x Drupal?

abaddon’s picture

i get the same error, i do have no script for firefox but i have my site and paypal (and their paypalobjects domain) enabled with js and cookies..
i can confirm that disabling the hide javascript option fixed the above error

in konqueror i got some error about lm_paypal_setbiz (cant find variable)
in firefox and no addons (so full js/cookies enabled) i get the same paypal error..

lyricnz’s picture

Assigned: LeeMcL » Unassigned

This may be because LM Paypal might be seen to be doing a cross-site-scripting, which is being blocked by your browser. Try enabling notifications in No Script plugin, and look for a warning message. Or look at the javascript console.

In any case, the javascript thing is a silly kludge, and doesn't really protect your email address. It just changes it from (checkbox disabled):

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" >
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="business" value="YOU@YOURDOMAIN">

to (checkbox enabled):

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="lm_paypal_setbiz(this,'YOU','YOURDOMAIN')">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="business" value="">

Which doesn't really protect anything, and breaks if javascript isn't working (or is blocked) on your site. Suggest you just turn the checkbox off. Now that I look at this, I might just remove the feature at some stage (one less file to download for users, one less thing to go wrong).

lyricnz’s picture

Status: Active » Fixed

Removed in D6 branch - http://drupal.org/cvs?commit=150692
Removed in D5 branch - http://drupal.org/cvs?commit=150695

abaddon’s picture

not a cross-scripting error, i usually see a popup for those but who knows
anyway, youre right doesnt provide much..

paypal has some option to put an user id instead of the mail in a payment form, you can see this option on their generate button wizard, the id is supposed to protect your email and tell paypal who should the donation/payment go to, maybe making the removed option pass a user configurable ID instead of the mail to the generated form would be better, or an overkill because i dont see any easy way to get the paypal id from the code paypal generates for you :-) (you need to decrypt it..)

thank you for your work on this module!

lyricnz’s picture

Sounds like a good idea. Please file a feature-request (and a patch ;)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.