Jump to content



Photo

Auto Buy Script?


  • Please log in to reply
6 replies to this topic

#1 ho0kz

ho0kz

    Neowinian

  • Tech Issues Solved: 1
  • Joined: 23-September 13
  • Location: localhost
  • OS: Windows 8.1
  • Phone: HTC One

Posted 16 August 2014 - 13:32

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.




#2 +Seahorsepip

Seahorsepip

    http://seapip.com

  • Tech Issues Solved: 26
  • Joined: 23-January 11
  • Location: Netherlands
  • OS: Windows 8.1 Pro
  • Phone: Nexus 5

Posted 16 August 2014 - 16:13

Paypal has a instruction page explaining how to use their payment forms: https://www.paypal.c...gration-outside



#3 OP ho0kz

ho0kz

    Neowinian

  • Tech Issues Solved: 1
  • Joined: 23-September 13
  • Location: localhost
  • OS: Windows 8.1
  • Phone: HTC One

Posted 16 August 2014 - 17:15

Paypal has a instruction page explaining how to use their payment forms: https://www.paypal.c...gration-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



#4 +Seahorsepip

Seahorsepip

    http://seapip.com

  • Tech Issues Solved: 26
  • Joined: 23-January 11
  • Location: Netherlands
  • OS: Windows 8.1 Pro
  • Phone: Nexus 5

Posted 16 August 2014 - 18:32

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...ent-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.pa..._htmlvariables/

For API integration: https://developer.pa...tonMgrOverview/

 

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...



#5 OP ho0kz

ho0kz

    Neowinian

  • Tech Issues Solved: 1
  • Joined: 23-September 13
  • Location: localhost
  • OS: Windows 8.1
  • Phone: HTC One

Posted 16 August 2014 - 18:37

 

http://code.tutsplus...ent-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.



#6 Copernic

Copernic

    Neowinian Senior

  • Tech Issues Solved: 3
  • Joined: 03-September 04

Posted 16 August 2014 - 18:43

Wordpress | WP Pay and Download

 

More here:

http://codecanyon.ne...gital downloads



#7 OP ho0kz

ho0kz

    Neowinian

  • Tech Issues Solved: 1
  • Joined: 23-September 13
  • Location: localhost
  • OS: Windows 8.1
  • Phone: HTC One

Posted 16 August 2014 - 18:46

 

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.