Page 1 of 1

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

PostPosted: May 16th, 2011, 7:53 pm
by candy
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!

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

PostPosted: May 16th, 2011, 9:52 pm
by Cristián Lávaque
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.

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

PostPosted: May 17th, 2011, 5:18 pm
by candy
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?

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

PostPosted: May 17th, 2011, 5:54 pm
by Cristián Lávaque
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.

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

PostPosted: May 17th, 2011, 6:09 pm
by candy
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 :-(

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

PostPosted: May 17th, 2011, 6:46 pm
by peterhuk
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..