Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Using PayPal Add to Cart and View Cart ButtonsUsing PayPal Add to Cart and View Cart Buttons
Previous
 
Next
New Post
4/10/2012 3:36 PM
 

Hello all.

I am working with PayPal Add to cart and View cart buttons with DNN 5.6.4 in an HTML module. I have been able to get a single PayPal item to post correctly. 

However, with the Add to cart button I’ve run into a small issue.  It works when there is one item. I click Add to cart button and the PayPal page displays the item and quantity correctly.  However, when I add a second Add to cart item and click the first , the PayPal page shows that I’ve added the second item.  I’m using javascript to force the page to submit and I have verified the hosted_button_id value is correct.  I’ve placed each Add to cart item in a separate HTML module and have a different function name for each of the two onclick events.

The second issue is the View cart button.  It always submits another Add to cart quantity.  I want this button to only view the current cart items, not add to it.

Has anyone gotten PayPal Add to cart and View cart buttons to work.

Thanks.

David

 
New Post
4/10/2012 11:14 PM
 
   Maybe this document can help you. Check https://cms.paypal.com/us/cgi-bin/?cm...

Over 20 + professional dnn modules for News Article, Store, Video Gallery, Photo Gallery, Ultra Flash Player,YouTube Video, Image Slide show, Skin Chameleon and much more from DnnModule.com
 
New Post
4/11/2012 12:34 PM
 

Thanks for the post.  There was a good section on how direct PayPal to the correct page when the user clicks "Continue Shopping" after making a selection.

However, the rest of the article seems to be directed at web pages that are CMS based.  Since DNN uses a <form>, the use of an additional <form> tag for each button presents a problem.  That is why I have used the onclick event on the submit button to execute a Javascript method that performs the actual page posting.

So I do not find the solution to either of my two problems in it.

 
New Post
4/11/2012 12:53 PM
 
I should have said:

However, the rest of the article seems to be directed at web pages that are "not" CMS based
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Using PayPal Add to Cart and View Cart ButtonsUsing PayPal Add to Cart and View Cart Buttons


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Copyright 2014 by DNN Corp Terms of Use Privacy
Request
a Demo
See Evoq Live
Latest Blog
How to Make Advocate Marketing Work for You
Read It
Watch the Replay
Top 5 Reasons to Consider a Branded Online Community
Watch