ho0kz Posted August 16, 2014 Share Posted August 16, 2014 Does anyone know of an auto buy script? Here is a quick example of what I've found on google. http://vrink.net/ A site like this. When someone clicks purchase and pay's via paypal as gift. It then redirect to the auto buy product. Also something like this which is a second one I've seen. http://www.curetools.net/ Would be nice to have some script for free like this. Link to comment Share on other sites More sharing options...
0 Seahorsepip Veteran Posted August 16, 2014 Veteran Share Posted August 16, 2014 Paypal has a instruction page explaining how to use their payment forms: https://www.paypal.com/cgi-bin/webscr?cmd=_wp-standard-integration-outside Link to comment Share on other sites More sharing options...
0 ho0kz Posted August 16, 2014 Author Share Posted August 16, 2014 Paypal has a instruction page explaining how to use their payment forms: https://www.paypal.com/cgi-bin/webscr?cmd=_wp-standard-integration-outside Yeah I understand that but I need a script that's going to help generate a new url for ever purchase. For example I have a list of data that a client can purchase, I don't want that information sold to another person so it needs to be different urls and once purchased it's knocked off the list. Hope you can understand that :D Link to comment Share on other sites More sharing options...
0 Seahorsepip Veteran Posted August 16, 2014 Veteran Share Posted August 16, 2014 Yeah I understand that but I need a script that's going to help generate a new url for ever purchase. For example I have a list of data that a client can purchase, I don't want that information sold to another person so it needs to be different urls and once purchased it's knocked off the list. Hope you can understand that :D http://code.tutsplus.com/tutorials/creating-a-paypal-payment-form--net-6 Step 3 shows a Item Number, you can send a different Item Number to your paypal form for each customer so you know which customer bought which item. If you make a database and generate a random id for each purchase you can change the item id every time a user has bought a item by generating a unique random id and excluding the existing ids in the database. Tutorial is a bit old but should still work. More html variables: https://developer.paypal.com/webapps/developer/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/ For API integration: https://developer.paypal.com/webapps/developer/docs/classic/button-manager/integration-guide/NVP/ButtonMgrOverview/ Edit: Also see following comment on that website: Ricky ? 4 years ago Just another thing - you should use IPN if you have an SQL database to set the order or payment as confirmed - if the user closes the browser or goes to another URL before the "Thankyou" page, the data wont be classed as confirmed. IPN Fixes this by sending a command to the server as a background process, meaning it is updated in the database while the user is on the paypal site - https://cms.paypal.com/cgi-bin... Link to comment Share on other sites More sharing options...
0 ho0kz Posted August 16, 2014 Author Share Posted August 16, 2014 http://code.tutsplus.com/tutorials/creating-a-paypal-payment-form--net-6 Step 3 shows a Item Number, you can send a different Item Number to your paypal form for each customer so you know which customer bought which item. If you make a database and generate a random id for each purchase you can change the item id every time a user has bought a item by generating a unique random id and excluding the existing ids in the database. Tutorial is a bit old but should still work. Edit: Also see following comment on that website: Ricky ? 4 years ago Just another thing - you should use IPN if you have an SQL database to set the order or payment as confirmed - if the user closes the browser or goes to another URL before the "Thankyou" page, the data wont be classed as confirmed. IPN Fixes this by sending a command to the server as a background process, meaning it is updated in the database while the user is on the paypal site - https://cms.paypal.com/cgi-bin... Thanks much appreciated I'm going to look over this for the next couple of days. Link to comment Share on other sites More sharing options...
0 Copernic Reporter Posted August 16, 2014 Reporter Share Posted August 16, 2014 Wordpress | WP Pay and Download More here: http://codecanyon.net/search?utf8=%E2%9C%93&term=digital+downloads Link to comment Share on other sites More sharing options...
0 ho0kz Posted August 16, 2014 Author Share Posted August 16, 2014 Wordpress | WP Pay and Download More here: http://codecanyon.net/search?utf8=%E2%9C%93&term=digital+downloads Those scripts seem promising, what I'm looking to do is purchase a admin template from themeforest and then integrate a auto buy script into the html template along side a back end DB. Link to comment Share on other sites More sharing options...
Question
ho0kz
Does anyone know of an auto buy script?
Here is a quick example of what I've found on google.
A site like this. When someone clicks purchase and pay's via paypal as gift.
It then redirect to the auto buy product.
Also something like this which is a second one I've seen.
Would be nice to have some script for free like this.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts