Jump to content


Photo

Payment during registration process


  • Please log in to reply
2 replies to this topic

#1 joemal

joemal

    Newbie

  • New Members
  • Pip
  • 6 posts

Posted 03 July 2014 - 03:41 PM

Hi all,

 

I am building a website for my local motorclub.

 

we are wanting to start taking online payments for membership and events. I have built a members only area - the way to get access is for a member of staff to accept the registration. this is all fine for members who pay via cheque or simular.

 

I am wanting a sign up process to include the payment page, was going to use paypal as the merchant. So if people want to join the club they are able to do so and get immediate access to the members only page instead of waiting for staff to check if the payment has cleared then set up there account etc. 

 

so basically i need a sign-up form (which is done) then a purchase button at the bottom, which takes the payment and then redirects to the website but 'tells my website the payment has been taken and to give full access'. 

 

I cant really explain how i want it, but i hope you understand from what i have said.



#2 fastsol

fastsol

    Advanced Member

  • Members
  • PipPipPip
  • 452 posts
  • LocationMinnesota

Posted 03 July 2014 - 07:18 PM

You'll want to use paypals IPN service.  There are tutorials out there on the subject, but depending on the time the tutorial was made you may have to get the more current code from the paypal docs.  That's the easiest way to do what you're asking with paypal.


You never know everything, I learn everday!

http://amecms.com

http://amewebdesigns.com


#3 davidannis

davidannis

    Freak Dr.

  • Members
  • PipPipPip
  • 570 posts
  • LocationOkemos, MI USA

Posted 03 July 2014 - 08:58 PM

Paypal also has a PDT service. PDT is faster, but less reliable than IPN because IPN retries after failures and PDT does not. The best approach if you want to give immediate access is to use PDT and have an IPN listener to catch the successful payments that PDT misses.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com