close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Using URSP for subscription Membership via PayPal

Thread began 12/17/2009 6:09 am by John Langer | Last modified 4/15/2010 5:56 am by John Langer | 2305 views | 4 replies |

John LangerBeta Tester

Using URSP for subscription Membership via PayPal

I've set up a site that uses URSP to register to gain access to certain pages of the site. No problem there.

I know need to set up a subscription service via PayPal. I've already been assured that this can be done. I know that I can create the buttons etc for one, six and 12 month memberships. I also know that I have to create an IPN listener page and I know the principal of how that operates. PayPal sends the info, the IPN listener on my site sends the exact same data back and then PayPal sends a VERIFIED message.

My problem is how do I write such a page and then how do I set the URSP database fields to the correct subscription? I've spent two days now in reading and Googling but I'm none the wiser for my efforts. Has WA got any tutorials on how to do this? Failing that is there anybody out there who would be willing to hold my hand in this venture. Or failing that is there anybody who would be willing to accept a fee for doing it for me?

I really would be most grateful of some help. I do have access to the entire WA Library.

Sign in to reply to this post

Eric Mittman

Crafting an IPN page can be a little tricky if you have not done one before. If you have eCart there is a function you can use that will check to ensure the post coming to your IPN page is valid, this function is applied automatically in combination with the get contents from form server behavior when PayPal IPN is specified as the source. If you do not wish to populate an eCart from the IPN post you can use this function by itself, it is called WA_isValidPayPal() and can be found in the WA_eCart_Definition_PHP.php file.

In order to associate the subscription purchase with a user you will need an identifier. If you use the custom variable when sending the user to PayPal you can get back whatever you put in this variable on your IPN page. You can use this as an identifier for the user, or the order. You could check this value and update your db based on it. For example if you store the user's email or id from the db in this field you can use it as the reference for your update server behavior so that you know what record to update.

Post back with any other questions that you have or if you run into any problems and we will be glad to help. Also, make sure that you are testing your IPN page along the way by using the PayPal IPN tester in the developer center.

Sign in to reply to this post

John LangerBeta Tester

Hi Eric, many thanks for the reply.

I'll have a look at all of that. You explained the whole thing very well. With the info I've gleaned from the net and what you've just said it's beginning (slowly) to make sense. It's getting late over here in the UK so I'll look at this with fresh eyes in the morning and report back.

Sign in to reply to this post

Eric Mittman

Let us know if you have any other questions on this.

Sign in to reply to this post

John LangerBeta Tester

zanimul379168 just pm'd me but I cannot see a way to reply. Assuming this was the post you were asking about I'll update what happened.

I found a script on the net that served me well. Well documented as well and it works which is the main thing.

Here's the link Stellar Web Solutions PHP IPN System V2.1 (for PayPal)

It was still a learning curve for me but worth the trouble. I couldn't find a better solution anyway.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...