Closed (fixed)
Project:
lm_paypal
Version:
6.x-1.0
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2009 at 05:15 UTC
Updated:
10 Apr 2009 at 06:20 UTC
Is there any? I can't figure out how to use this module. I'm not familiar with paypal in the first place, and the documentation they have is crap.
It would be nice to have a simple tutorial or two that says
1) do this
2) do that
3) Finally do this.
I've been playing around with the different settings on this module, and I finally got something I can click on that takes me to the paypal site. But when I get to the paypal site it says 'please log in', but that doesn't seem right to me.
Can anyone help me with some kind of guide. Has anyone else managed to get this module working?
Comments
Comment #1
sachandHi, Hakulicious,
Hope info belove will help you. :
Before installation get registered with paypal. get a suitable account (business /premier) .
Then create test accounts of type bussines on sandbox.paypal.com. create two dummy accounts of type customer and bussiness. set Paypal IPN settings by setting your paypal account (business /premier) and paypal host url (use live accounts in production and while development us you sandbox accounts and sandbox host). Create Subscriptions. and try it first under sandbox. When user clicks on paypal button then paypal will show your business account name with product details with login box for user (customer).You can refer sandbox user guide from paypal.they also provide sample scripts. To get more help get registed with paypal's developer network. best of luck.
Comment #2
jaypanThanks for your response, much appreciated. I will play with it now and see if I can get it working.
If anyone else has other advice or suggestions, I'm happy to hear that as well.
Comment #3
jaypanThat worked. Thank you for your help!
Comment #4
gkapoor commentedI followed the exact instructions: created business account; enabled IPN (IPN URL: www.example.com/lm_paypal/ipn); set LM Business e-mail & paypal host url (www.paypal.com); created subscription but on subscribing it gives me following error on https://www.paypal.com/cgi-bin/webscr
"Some required information is missing or incomplete. Please correct your entries and try again."
Not sure what information is missing?
Thanks,
=gk
Comment #5
jasonannable commentedI have the exact same problem. Having troubles finding a solution. Please post back if you've found anything.
Comment #6
jasonannable commentedThought I'd just post back and say that I resolved it. It was because I was using the developer sign-in email instead of the test-seller-account's email. So embarrassing to have wasted so much time debugging each of the button variables. Btw, I figured it out by reducing the problem down so that only the required params were being sent:
cmd = _xclick-subscriptions
business = xx@xx.xx
a3 = 100
p3 = 1
t3 = Y
no_note = 1
When I still go the error I thought, "you've got to be kidding me?? really?? what the heck!"
Comment #7
amirtaiar commentedI have tried really hard to follow your instructions but couldn't done good.
My english is not that good by the way.
I have registrated on paypal.com eith a buisness acount.
I have created a sandbox users - what do you mean by dummy? "an vitual user"?
I think the problem begin adding a subscribe - there a lot of fitures over there and I didnt understand nothing.
I have also didnt understand what I need to do ufter all this.
Will be happy for assistance
Comment #8
chia commentedFirst, a dummy means a virtual account through which you can test the working of the code and manipulate it to suite your requirement. You have to create a subscription and when you will click on subscribe to that subscriptions. And carry out the transaction in the paypal. The paypal will send an IPN which will have the information of your transaction and paypal sends IPN on every action to that subscriptions. If you cancel that subscription the paypal will send IPN carrying the details about the cancellation . If you are wondering what IPN is then read this following link :- https://www.paypal.com/ipn
This is the way the module work.
Jasonleon
Comment #9
sachandHi amirtaiar,
I think you got what dummy account is from jasonleon's comment. You have to login by your sandbox account and then create two accounts 1 business and other customer account. when you make purchase ,you have to login by the customer account . when your purchase will finish there is flow of money from customer account to business account.For better understanding please read https://cms.paypal.com/cms_content/en_US/files/developer/PP_Sandbox_User...
Comment #10
lyricnz commentedI just spent a couple of hours documenting (mostly in screenshots) how to :
a) create paypal sandbox accounts correctly
b) setup LM Paypal for donations (as an example)
c) test this setup, and debug a simple problem
However, drupal.org books are somewhat broken now, so I can't upload attachments to books. In the meantime, here's the screenshots, without editing. I could have contrived the test to be a bit more seamless, but perhaps I'll do that later.
http://paypaldemo.taniwhasolutions.com/screenshots/
Comment #11
jaypanNice! Thanks, that's a great little resource.
Comment #12
amirtaiar commentedHey thanks a lot
it seems grate. somehow I cant get inside the help donatin page so I cant view the php code. I have tried to write it down an it seems to be some mistake. can you please past it here?
Comment #13
lyricnz commentedOnce you have LM Paypal Donations module enabled, you should be able to open /admin/help/lm_paypal_donations to see the help, which includes the same PHP code.
That page is linked from the LM Paypal Donations setting page.
Comment #14
amirtaiar commentedas I said,
I cant enter this help page so if you can please add this php code as attached here it will be grate.
Comment #15
lyricnz commentedThe bigger question is - why can't you access this page? If that doesn't work, the code is pretty unlikely to work too.
Comment #16
amirtaiar commentedYap! its not working for me.
I can see the full block but one I am clicking om i am entering the sign in sandbox page witch is not good.
any idea what might be the problem?
Comment #17
amirtaiar commentedany suggestion?
Comment #18
lyricnz commentedNo idea. Feel free to send me an admin user/pass and your site url, so I can experiment more directly.