Sign in to follow this  
Followers 0
ho0kz

Auto Buy Script?

7 posts in this topic

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

 

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.