Forum Moderators: buckworks

Message Too Old, No Replies

A simple PayPal option

Is there a Buy Now Button option

         

Lobo

4:45 am on Jun 22, 2007 (gmt 0)

10+ Year Member



This is a very simply charity competition.

allowing youth teams and senior teams to enter..

the payment for entry for the youth team is £25 and the senior £35 therefore there are 2 options.

I would like to use a simple 'Buy Now Button' but can't seem to find a way to just select which payment to choose of these 2 options for the 1 competition..

am I missing something? or does anyone have an idea on how best to implement this..

rocknbil

6:43 am on Jun 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can you just put two different buy it now buttons on the same page?

BeeDeeDubbleU

8:38 am on Jun 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



That's what I would do.

Youth Team Entry £25 [BUY NOW]
Adult Team Entry £35 [BUY NOW]

Lobo

4:40 pm on Jun 22, 2007 (gmt 0)

10+ Year Member



That would seem an option, except I have an application form giving details of who, contact, team name etc ...

By sending this form that information is forwarded to me and then they are automatically transfered to paypal for payment, I then match up the payment details with the formmail application..

What I was looking for was a buy now button which then would allow you to choose.. I guess this is not possible..

I guess there may be a way that if a certain radio button (for instance) is ticked then the redirect would go to buy now button number 1 or buy now number 2?

I'm not sure how to code this option though?

[edited by: Lobo at 4:42 pm (utc) on June 22, 2007]

rocknbil

6:14 pm on Jun 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is all in the payPal integration guide, but it's not likely to be a simple copy and paste. I didn't see anything immediate for this solution, but there are ways to submit options. You will have to do something to set the amount variable based on the item selected in the form. Rather than using Javascript to do this (which makes it Javascript-dependent,) I would have the form submit to a script on my server, set the amount based on the option selected, then post that on to payPal.

Lobo

9:39 pm on Jun 22, 2007 (gmt 0)

10+ Year Member



mmm there is not a simple If statement that could work this?

BeeDeeDubbleU

9:12 am on Jun 23, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



It sounds as though this is something on a short term and a small scale. If so do you know that Paypal has an email payments option? With this you install an add on to MS Outlook. You then just click on a button in Outlook and it allows you to request an email payment from someone.

If you used this you could just receive the form submission then send them the appropriate email payment request.

pp_rb

4:34 pm on Jun 25, 2007 (gmt 0)

10+ Year Member



mmm there is not a simple If statement that could work this?

It seems as though there should be, since you are collecting some information on one page and then forwarding the customer to a PayPal page. On the same page that the customer is filling out their registration information, you can have them select which option they need (such as Youth or Adult), and then use that selection to control the "amount" variable (and the "item_name" variable, if you wish) that is passed to PayPal in your HTML form post.