| Author |
Message |
ohy121
Nuke Soldier


Joined: Oct 31, 2006
Posts: 31
|
Posted:
Fri Nov 03, 2006 12:18 pm |
  |
hi mate can you explan to me how to do this as i am not a expert i am just a newbe at programing. so is there anychance you can explan step by step on how to change the registration page.
thanks |
|
|
   |
 |
Endeavour
Corporal


Joined: Oct 22, 2006
Posts: 59
|
Posted:
Sat Nov 04, 2006 4:27 am |
  |
If you're not comfortable with PHP code I suggest you don't try it yourself, or get someone to do it for you. It's simple enough for anyone with basic PHP knowledge.
At best you could slightly mess up your Nuke install, at worst you could leave your paypal system wide open to fake payments for access. |
_________________ Stand up for courtesy and decency in the Nuke community, don't support nukeforums. |
|
   |
 |
phpnuke-hosting
Support Mod


Joined: Oct 19, 2004
Posts: 1032
Location: UK
|
Posted:
Sat Nov 04, 2006 6:15 pm |
  |
I tend to agree with Endeavour, I dont personally have the time to do it but I'm sure if you post in the 'For Hire' forum then you will most likely find someone that does. |
_________________ www.phpnuke-hosting.com
The Internets Foremost PHP-Nuke Web Host.
Click Here! |
|
    |
 |
Endeavour
Corporal


Joined: Oct 22, 2006
Posts: 59
|
Posted:
Sun Nov 05, 2006 4:32 am |
  |
If you're willing to pay for my time, I'll code it for you...  |
_________________ Stand up for courtesy and decency in the Nuke community, don't support nukeforums. |
|
   |
 |
ohy121
Nuke Soldier


Joined: Oct 31, 2006
Posts: 31
|
Posted:
Sun Nov 05, 2006 11:19 am |
  |
well thanks for your help. i will just ask my friend as he has basic php skills. |
|
|
   |
 |
Endeavour
Corporal


Joined: Oct 22, 2006
Posts: 59
|
Posted:
Mon Nov 06, 2006 2:35 am |
  |
Ok. Make sure he double and triple checks the paypal IPN code, and tests it with the paypal sandbox before you go live with it. It's very easy to fool a badly written IPN system into thinking it received a payment when it didn't. |
_________________ Stand up for courtesy and decency in the Nuke community, don't support nukeforums. |
|
   |
 |
ohy121
Nuke Soldier


Joined: Oct 31, 2006
Posts: 31
|
Posted:
Mon Nov 06, 2006 9:36 am |
  |
that is why i am going to do it manually so i know if i have recieved a payment by checking my account and then i will activate the account manually. |
|
|
   |
 |
ohy121
Nuke Soldier


Joined: Oct 31, 2006
Posts: 31
|
Posted:
Tue Nov 07, 2006 5:31 am |
  |
right here it is im now half way there i just need to know how to add the paypal form to my registration page
which is this code here.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="webmaster@ancraft.zzn.com">
<input type="hidden" name="item_name" value="1 year with wizzsim-simulations">
<input type="hidden" name="amount" value="20.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://www.wizzsim-simulations.com/FINISH.htm">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form> |
|
|
   |
 |
phpnuke-hosting
Support Mod


Joined: Oct 19, 2004
Posts: 1032
Location: UK
|
Posted:
Tue Nov 07, 2006 7:51 am |
  |
[quote=Endevour]It's very easy to fool a badly written IPN system into thinking it received a payment when it didn't[/quote]
He didnt really listen!
You got that code from paypals generation system, it needs to be secure to protect you from fake payments.
You can sometimes bypass that code by using the /FINISH.htm |
_________________ www.phpnuke-hosting.com
The Internets Foremost PHP-Nuke Web Host.
Click Here! |
|
    |
 |
ohy121
Nuke Soldier


Joined: Oct 31, 2006
Posts: 31
|
Posted:
Tue Nov 07, 2006 8:39 am |
  |
look everyone your not listening to me. i dont want a IPN SYSTEM all i want is a basic paypal link to paypal so someone can pay me then i will manually activate there acount once i have logged into my paypal account to check that the payment has been recieved and dont say it is not secure. if it is linked to paypals website then your really saying that paypal can not be trused and that really if you think about its not true. and please stop talking about IPN systems im not want an IPN system. |
|
|
   |
 |
Endeavour
Corporal


Joined: Oct 22, 2006
Posts: 59
|
Posted:
Tue Nov 07, 2006 9:00 am |
  |
No, you're not listening. What phpnuke-hosting and I are telling you is right. Think about this a second.
The person visits your website and wants to sign up for an account. They have to pay you. So they click on your paypal button, go to paypal, complete the transaction.
Now what? They get auto-redirected back to FINISH.htm. Great.
Unless you're going to now manually go to paypal, look at the payments you received, go back to Nuke, go to the Admin setup and then manually create an account for EVERY person, you're going to get stuck (how are you going to know their details anyway).
"Okay", you say, "they can register their own account". But how do you know who has paid you? Perhaps (like me and millions of others) they have one email address for paypal payments then another address for forum signups, mailing lists etc.
This is the entire point of IPN. Even if you want to activate the account manually, you still use IPN to link the newly registered (but INACTIVE until you authorize it) account to the paypal payment you received.
Now, once you've added your IPN code you still need to be sure that it's SECURE. Because unfortunately it's easy to just bypass paypal entirely and go to the return page (as phpnuke-hosting said). Yes, you'll notice this because you're going to faithfully check paypal every time (cough), but it's still a pain in the Rainbow Brite to get notifications for non-existant payments. Better to be secure and do it right first time than to do it half-assed because you think you'll do it all manually.
I gave you a pretty good description of the process you need to follow in one of my previous posts. Read it through again, I'll clarify anything if needed. |
_________________ Stand up for courtesy and decency in the Nuke community, don't support nukeforums. |
|
   |
 |
ohy121
Nuke Soldier


Joined: Oct 31, 2006
Posts: 31
|
Posted:
Tue Nov 07, 2006 9:06 am |
  |
right if you look at the finish page it directs you back to the phpnuke registration page. then the person signs up after paying. now once i have checked that the payment has been recieved on paypals website i would then active there acount through my website. now if i dont recieve the payment the account would be deleted instead of being activated. |
|
|
   |
 |
ohy121
Nuke Soldier


Joined: Oct 31, 2006
Posts: 31
|
Posted:
Tue Nov 07, 2006 9:19 am |
  |
why are you giving me information that i dont want. it is so simple what i am asking and that is how do i add this code to my registration page. i dont care if it is sucure or not i just want to know how to added.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="webmaster@ancraft.zzn.com">
<input type="hidden" name="item_name" value="1 year with wizzsim-simulations">
<input type="hidden" name="amount" value="20.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://www.wizzsim-simulations.com/FINISH.htm">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>
this is a simple question but your not willing to help me as i can see all you want is money for a form that paypal give for free. |
|
|
   |
 |
Endeavour
Corporal


Joined: Oct 22, 2006
Posts: 59
|
Posted:
Tue Nov 07, 2006 2:47 pm |
  |
I just looked at your website, you or someone else has already customized the signup page so, uh, I don't see what you're getting stuck on. Open modules/your_account/index.php, search for "function new_user()", paste the code in appropriately.
| Quote: |
| this is a simple question but your not willing to help me as i can see all you want is money for a form that paypal give for free. |
No, you're still not getting it. I gave you a guideline on how to code this properly yourself, then offered to code it for you for a nominal fee. That form code you keep pasting is.... ah forget it. I'm wasting my time.
Oh also your finish.htm is in breach of Paypal's conditions, which clearly tell you exactly what you must put on the auto-return page.
*edit* also, let me point out that you have a problem with me offering to do it for you if you pay me (as is your right), but you're charging your users $20 per year for membership. It's not like you're running a non-profit site now, is it. |
_________________ Stand up for courtesy and decency in the Nuke community, don't support nukeforums. |
|
   |
 |
ohy121
Nuke Soldier


Joined: Oct 31, 2006
Posts: 31
|
Posted:
Wed Nov 08, 2006 2:31 am |
  |
yes true it is not a none profit website but i have not made any money from it yet. so how can i pay you if i have no money.
phpnuke-hosting just to let you know i got nuke royal now. the only problem with that is it has recked my website. so i am now going to have to start it again. i am rubbish on php coding and you did not tell me that i needed to do over 10 pages of it. so thats another 20 euro down the drain. |
|
|
   |
 |
|
|