Web Design Forum: Send form field to paypal as total price - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Send form field to paypal as total price Rate Topic: -----

#1 User is offline   drennan 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 127
  • Joined: 15-July 08
  • Reputation: 0
  • Gender:Male
  • Experience:Beginner
  • Area of Expertise:I'm Learning

Posted 01 August 2011 - 06:24 PM

My site calculates items on a page if their checkbox is checked. Javascript puts the total in a form field 'total'. Is there a way to send this dynamic total to paypal instead of attaching a price to individual items and having a cart? thanks guys :)
0

#2 User is offline   rallport 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 3,816
  • Joined: 03-January 10
  • Reputation: 266
  • Gender:Male
  • Location:England, UK
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 02 August 2011 - 08:27 AM

Could combine your shopping cart rows into a single aggregate row and send that to paypal?
0

#3 User is offline   necrobyter 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 19
  • Joined: 27-September 11
  • Reputation: 1
  • Gender:Male
  • Location:Plymouth
  • Experience:Web Guru
  • Area of Expertise:Web Developer

Posted 27 September 2011 - 04:10 PM

The simplest way to connect to PayPal I know is via a form post.

When items get added to your cart etc you can update the values of the form and then when the user's ready they can press the Pay via PayPal button.

Something like JQuery makes updating this form a breeze.

PM if you are stuck, maybe I can help out. necrobyter@hotmail.com
0

#4 User is offline   rallport 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 3,816
  • Joined: 03-January 10
  • Reputation: 266
  • Gender:Male
  • Location:England, UK
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 28 September 2011 - 09:04 PM

 necrobyter, on 27 September 2011 - 04:10 PM, said:

Something like JQuery makes updating this form a breeze.


Would be wary of that to be honest. You're dealing with money here - so it needs to work 100% of the time. If you're using JQuery you'll need a fallback if someone has JavaScript disabled/not installed.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users