Skip to main content
Topic: Payment gateway (Read 2174 times) previous topic - next topic

Payment gateway

Is there a way to add a payment gateway like PayPal for signup.

So users would pay for a subscription to the site.

Re: Payment gateway

Reply #1
There is no direct method of doing so; but you can edit the code for Login and Register. Add your own PHP code to Register that will take the User to Paypal for payment and store the response in Database. Add a column to the Users table with validity logic for your subscription. Make your Login controller method calls the Database values to check if the User is Paid and that his subscription has not expired. Return True to the main Login routine to continue with the regular Login else return false to terminate the regular Login routine.

 

Re: Payment gateway

Reply #2
I'm not a php coder so this would be out of the question for me.  That's why i'm looking for a solution like this or appgini