|
|
Question : How do I integrate a paypal buy now button into my site if the item being sold changes price depending on size/extras?
|
|
I have a form in which a potential buyer chooses a product, either large or small, with also the option of adding a few small extras. I then have one Total Cost field that they manually fill in (cos I haven't yet figured out how my form can automatically figure out this sum on its own)!
The buyer is then given 3 payment options (radio group buttons).
1. Cash on delivery (each item we sell is locally delivered)
2. Cheque on delivery
3. Online
They then press submit.
What I want to happen after they press submit is this:
If they select option 1 or 2 the submit button will send me an email with their order and redirect them to a page of my choosing in which I inform them their order has been received with thanks etc ...
If they select option 3 then the submit button will send me an email (as with option 1 or 2) BUT THEN immediately direct the buyer to PAYPAL to pay. Furthermore I want PAYPAL to dynamically receive the figure from the Total Cost field to process with the BUY NOW button...
I know it's a lot to ask! My site is due to go live within days and if anybody can help, I know it's you guys!
|
Answer : How do I integrate a paypal buy now button into my site if the item being sold changes price depending on size/extras?
|
|
Hi, its all on the paypal website (I'm assuming you have a verified account with PayPal) they will also provide a basket that can be fill with several items.
logon to your paypal acount and click on "Merchant Tools" and go to "paypal standard tools" and follow the steps - they generate the code for you to cut and paste.
this is from my paypal account......
Step 1: Integrate the PayPal Shopping Cart After logging in to PayPal, go to the PayPal Shopping Cart page. Enter your product details. Copy and paste the HTML code automatically generated by PayPal into your website.
you will be able to pass the total cost over to them.
Paypal will also email you about the transaction.
you will need to test this the paypal, - they provide a sandbox to play in (test your site) but I found it easier to simply find a friend who is willing to buy from your site and then you can also practise refunding them from paypal also!
good luck.
good luck
|
|
|
|