Ajax Talk - Asynchronous javascript and xml discussion board
 FAQ   Search    Usergroups      Register   Profile   Check your messages   Log in 
Signup now to enjoy a range of free membership advantages !!
Ajax Talk - Moderators Wanted
Paypal Add to Cart with AJAX / JS

 
Post new topic   Reply to topic    Ajaxtalk.com Forum Index -> AJAX Help
View previous topic :: View next topic  
Author Message
antix
New one
New one


Joined: 26 May 2008
Posts: 1

PostPosted: Mon May 26, 2008 11:24 am    Post subject: Paypal Add to Cart with AJAX / JS Reply with quote

Hello all. I'm looking for someone who may be able to help me out in a critical area of my Market wordpress theme. I've searched high and low for a way to do this, and all I've been able to find is that I would need to use a 3rd party cart to accomplish this. I find that very hard to believe. Basically, the situation is this...

In my market theme I currently have both a buy now and add to cart form, which are both dynamically populated for the item on that page (with the use of Wordpress custom fields). The buy now button is a standard paypal form, which once you click buy now will take you directly to paypal. That works perfectly, and I have no problems with it.

On the other hand you have the add to cart button. Because it is very very annoying to have Paypal popup every time you add an item to the cart, I am using Fatfreecart to add the item and display it in a lightbox. The problem here is that I can not customize the Fatfreecart form as much as I can the paypal buy now form. Certain elements are not recognized, and because some paypal buy now form hacks require javascript, the add to cart javascript button and normal paypal buy now hacks don't play well together.

What I'd ideally want to do is use a standard Paypal Add to Cart button / form and submit the contents using AJAX to the paypal server and simply return a message in a div "Item added to cart". The only time they should see the cart is when they click view cart and are then taken directly to paypal.

I've tried using paypal in a popup window as well, but that does not work very nicely either. The window popups and stretches (usually off the screen) regardless of what size you set the popup window to be. Plus, the css does not style well so half of your paypal cart would be missing in a popup window form.

So basically, all I'm looking for is a way to post the submission to paypal using ajax. I've tried form submissions but I have not been able to get anything to work. I find it very hard to believe that the only way to do this is with a 3rd party cart.

If anyone thinks they could get this done for me, it will be a paying job.

Please drop me a line at hi@astereostudio.com if you are interested (and only if you know you can do this!)

Thanks in advance.
AJ
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Ajaxtalk.com Forum Index -> AJAX Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
 Advertisements
 XML & Copyright Notice 
    


Powered by phpBB © 2001, 2005 phpBB Group

What is according to Wikipedia: Ajax Web2.0 XML E4X


Link to our site:

  


del.icio.us digg spurl wists simpy newsvine blinklist furl blogmarks yahoo! myweb smarking ma.gnolia segnalo reddit fark technorati cosmos


Normal Bookmark


Partner Button Links:
Codecrunch.com: Webmaster Tutorials    One Ajax


Partner Text Links:
quomon | web20log | ajaxmatters | tableless | 456bereastreet | music charts | gift ideas | competitions | free xbox 360 | link trade ?


Credits:
it consultancy & project management lead generation zoekmachine optimalisatie steal these buttons seo expert