Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 12th Jul 2012, 05:43 PM   #1
Optimize Press Set Up
War Room Member
 
sowerby's Avatar
 
Join Date: 2009
Location: UK
Posts: 236
Thanks: 48
Thanked 199 Times in 36 Posts
Default
Limit Amonut Of Sales
Share on: 
fb share twitter share gplus share more share

Hey Warriors,

I am wanting to limit the number units sold on an item. As doing a sale for a client. So this is the problem and is it doable. They payment processor is paypal.

I want to sell 650 units no more. So is there a way to display the amount of units being sold each transaction. So in theory the total amount will be going down. 649,648,647 etc...etc...

And be displayed by the paypal button. I know I can add the stock limit inside paypal when I create a new button but if it is possible to add the amount left on the site as well as the paypal button.

I was also going to display a countdown timer for a 2week period. So which ever came first the units sold or the 2 week period the offer would end. I was going to use a plugin for the countdown timer. It was the paypal limit I was looking for help on.

Cheers

Craig

sowerby is offline  
Unread 12th Jul 2012, 07:36 PM   #2
Advanced Warrior
War Room Member
 
Brandon Tanner's Avatar
 
Join Date: 2006
Location: USA
Posts: 1,907
Thanks: 236
Thanked 1,377 Times in 676 Posts
Default
Re: Limit Amonut Of Sales
Share on: 
fb share twitter share gplus share more share

Most definitely doable. If you're comfortable with PHP and want to do it yourself, then look into Paypal's IPN or PDT. Paypal will send a notification of each sale to a script on your server, then your script can update each sale in your database, and then dynamically display the number of sales left on your webpage.

A MUCH easier way though (especially if you're not very comfortable with PHP), is to use a pre-existing payment gateway that already provides this feature, such as JVZoo or WSO Pro. I'm sure there are other providers too, but those are the ones that immediately come to mind.


Brandon Tanner is offline  
Unread 12th Jul 2012, 10:57 PM   #3
OptinLinks.com
War Room Member
 
ALicenseToCode's Avatar
 
Join Date: 2012
Location: Minneapolis
Posts: 81
Thanks: 38
Thanked 81 Times in 53 Posts
Default
Re: Limit Amonut Of Sales
Share on: 
fb share twitter share gplus share more share

Yep the definite right way to do this is to use Paypal's IPN.

What you're going to need to keep track of it is to log each IPN received into a database and then just count the successful sales and then do some math. This will require a bit of php knowledge, but a google search for "Paypal IPN PHP Class" will help you get started if you have a bit of PHP knowledge.
ALicenseToCode is offline  
Unread 13th Jul 2012, 03:00 AM   #4
Optimize Press Set Up
War Room Member
 
sowerby's Avatar
 
Join Date: 2009
Location: UK
Posts: 236
Thanks: 48
Thanked 199 Times in 36 Posts
Default
Re: Limit Amonut Of Sales
Share on: 
fb share twitter share gplus share more share

Thanks Warriors!,

I will look into Paypal IPN's as I know other processors like W+ and JVZoo can do this but it is not really going to work for a traditional brick and mortar company.

Unless of course I start using these processors for my offline clients! Ermmm.......

Cheers Craig

sowerby is offline  
Closed Thread


Bookmarks

Tags
amonut, limit, sales


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 06:57 AM.