• 0

Auto Buy Script?


Question

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

6 answers to this question

Recommended Posts

  • 0

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

  • 0

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

  • 0

 

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

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.