• Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting Up Paypal Express Checkout  RSS feed

 
Andy Crowther
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been trying to do this all in PHP and not getting very far (I'm new to php and haven't really used Javascript at all yet) so I wonder if anyone can give me any pointers?

I have this php cart -



And this is the code Paypal give me to use -



What I need to do is get $toPay into where it says '0.01' in the Javascript.  How do I do this?

Thanks for any help.  Please let me know if I need to supply more info.

It's set up here for now - http://androidandy.uk/shop.php

But that's the php/old way, redirecting away to Paypal.  The new express checkout keeps you on your own site, which seems better, as once I know the payment is taken, I can update my database.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!