Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Integrating website subscription via Paypal woes!

  • 19-02-2009 01:39PM
    #1
    Closed Accounts Posts: 8,866 ✭✭✭


    hi guys,

    i haven't much experience in terms of handling payments on websites, i did deal with realex briefly before but that was some time back!
    the site in question allows for user registration, and we've decided to charge a subscription for it now.

    so, what I had had hoped for was that i could use paypals subscription service, and integrate it in to the registration form. its simple in theory. the form is pretty basic. i want the user to submit it via a paypal button, get paypal to simply maintain the post data and then insert the data into the database once the user returns to the site with a sucessful payment.

    but i cant. this is me right now --> :confused:

    halp! does paypal not allow for custom post data to be carried? any suggestions? cheers


Comments

  • Registered Users, Registered Users 2 Posts: 6,652 ✭✭✭daymobrew


    You look into PayPal Instant Payment Notification (IPN). It does a callback to your site (you set the url) when a payment is successful.

    So, before a user goes to the PayPal site you will add their details to the database, but mark it as unpaid or disabled.
    When PayPal calls the script on your site it will mark the entry as paid/active.

    This is the logic used by osCommerce and its PayPal IPN add-on.


Advertisement