PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

"Instant" Buy Now Button ? (no expiration, just Buy and by!)

s2Member Plugin. A Membership plugin for WordPress®.

"Instant" Buy Now Button ? (no expiration, just Buy and by!)

Postby candy » May 16th, 2011, 7:53 pm

Hiiii,

Could you please help me solve this out ...

I wanted to use a BuyNow button, but unfortunatelly I see that ALL options are somehow related to a certain time (like valid 1 hour, 2 hours, etc) !??!

I only want the user to have access to the page once, right after he paid (or after he clicks in the email, but NOT both). Imagine a "submit form" he'd be able to access only once (after paying a price).
I do not want him to be able to use the form for 1 hour and submit 5 entries, I only want him to be able to access it once.

How can I do this?

Thank you!
User avatar
candy
Registered User
Registered User
 
Posts: 102
Joined: November 16, 2010

Re: "Instant" Buy Now Button ? (no expiration, just Buy and

Postby Cristián Lávaque » May 16th, 2011, 9:52 pm

Let me see if I understood it correctly: you are selling access to a page that has a form which you only want people to use once.

Well, instead of letting them load the form just once, I think you should let them load it several times in a day if they want, but only accept one submission from each account. It'll probably give you less trouble with your users than showing the form once.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: "Instant" Buy Now Button ? (no expiration, just Buy and

Postby candy » May 17th, 2011, 5:18 pm

hmmm ... I also thought at that, but not really sure how to achieve it ...
I mean - how could I only let them only submit the form once?
If they have access to it, they could click on "submit" even 10 times as long as the page is accessinle, no?
User avatar
candy
Registered User
Registered User
 
Posts: 102
Joined: November 16, 2010

Re: "Instant" Buy Now Button ? (no expiration, just Buy and

Postby Cristián Lávaque » May 17th, 2011, 5:54 pm

Yeah, but check if the user used that formed before or not, and decide to process the submitted form based on that. If the use had not, then process it and save in the database that he did already, then if he tries again you'll check this setting and see he had already, and present him with an error message.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: "Instant" Buy Now Button ? (no expiration, just Buy and

Postby candy » May 17th, 2011, 6:09 pm

uh, that sounds complicated ...

you mean to use some javascript on the submit button combined with some s2 conditionals ?!?!

guess this one is a bit 2 much 4 me :-(
User avatar
candy
Registered User
Registered User
 
Posts: 102
Joined: November 16, 2010

Re: "Instant" Buy Now Button ? (no expiration, just Buy and

Postby peterhuk » May 17th, 2011, 6:46 pm

Hi candy,

I was just visting Primo to see if there was any new and fresh approaches to stuff that I
can use on my site and I noticed your post.

I have something similar (but not the same)to what you require. Here is what I have found,
the buy now option is used for specific pages and as it is for members and non members alike
it does not seem to make a record of the user.

In order to have a user only user a form once the system will have to be awhere of that user visit to
the form. So they will probably need to be a member. Once the form is used you would need to setup
a user meta entry to keep track of the users use.

i.e
Code: Select all
add_user_meta( $user_id, 'form_submitted', true )


Each time a user visits the form page a check of the meta can be made. if no meta entry
show the form, if meta entry exists don't show the form or show an alternative output.

Hope this helps

Pete..
User avatar
peterhuk
Experienced User
Experienced User
 
Posts: 102
Joined: February 12, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 2 guests

cron