Login Block - 2Checkout.com integration?

  • PedalSmurf
  • Born
  • Born
  • PedalSmurf
  • Posts: 3
  • Loc: US and Colombia

Post 3+ Months Ago

Hey Guys...

I was just wondering if there was a way to integrate my 2Checkout.com link to payment to the exisiting Login Block. What I would like is when a new person registers at my site, it will take themto 2Checkout so they can become a member instead of just giving free membership. When they need to login to my site, I want them to use the block login,and not a third party login to access the members area.

If someone could help, I would really appreciate it.


Denny 8)
  • harryhood
  • Graduate
  • Graduate
  • harryhood
  • Posts: 141

Post 3+ Months Ago

If I were doing this I would:

1) create an account sign-up script/page which collects the users information and stores it in a local database for subsequent logins. Have a field for each user in the database called paid_status and a default value of 'false' for this field

1a) After collecting account sign-up info pass the user to 2CO for payment

2) Use the 2CO callback function to update the users profile to set the paid_status field for that user to 'true' when the payment is complete.

3) Set the account login script to check that the user attempting to login has a paid_status of 'true'. Reject any login attempts where the user has a status of false for paid_status.

That is a general overview of how you could do what you are looking to

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 8 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.