• Login
  • Register

DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Adding PayPal buy now button

You are not authorized to post a reply.
Sort:


New Member


Posts:5
New Member

    After I generate the code within PayPal I install it in the footer of a HTML module. The cord renders the PayPal button on my site but the button does not work. When I click on the button it just refreshes the page and returns back to the same page. It does not go to PayPal to complete the purchase. Any ideas as to how I can fix this? I am using DNN 9.4. Thank you.  



    Veteran Member


    Posts:378
    Veteran Member

      Have you tried just pasting it in the HTML module itself? Make sure the HTML module is set to basic / raw as it will otherwise strip the SCRIPT tag
      Tjep's digital agencyRegards,
      Tycho de Waard

      Tjep's digital agency
      We just love DNN
      https://www.tjeps.com


      New Member


      Posts:5
      New Member

        Thank you Tycho, I did try that and it still does not work. There is very little info on this topic but from what I understand the issue is that PayPa uses the <form>> tag and DNN does not like that.


        Veteran Member


        Posts:378
        Veteran Member

          Can you email your snippet to [email protected]? I'll see what I can find.
          Tjep's digital agencyRegards,
          Tycho de Waard

          Tjep's digital agency
          We just love DNN
          https://www.tjeps.com


          New Member


          Posts:5
          New Member

            I just sent it to you. Thank you for your help.


            Veteran Member


            Posts:378
            Veteran Member

              Thanks for sending the snippet. Indeed the form tag is the issue. Mitch did a short blog on this once
              https://mitchelsellers.com/blog/article/allowing-html-form-submissions-from-dnn

              Hope this helps.
              Tjep's digital agencyRegards,
              Tycho de Waard

              Tjep's digital agency
              We just love DNN
              https://www.tjeps.com


              New Member


              Posts:5
              New Member

                Thank you Tycho, I will try that.


                Veteran Member


                Posts:378
                Veteran Member

                  BTW: another solution if you are not a dev : https://www.dnnsharp.com/dnn/integrations/paypal
                  This requires ActionForm as well. If you already have that, it is a viable option.
                  Tjep's digital agencyRegards,
                  Tycho de Waard

                  Tjep's digital agency
                  We just love DNN
                  https://www.tjeps.com


                  New Member


                  Posts:5
                  New Member

                    As per Tycho's recommendations and help editing my PayPal button code the instructions in this post worked for me. https://mitchelsellers.com/blog/article/allowing-html-form-submissions-from-dnn. Thanks again to Tycho for his help and support. Cheers
                    You are not authorized to post a reply.

                    These Forums are dedicated to discussion of DNN Platform.

                    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.

                    Would you like to help us?

                    Awesome! Simply post in the forums using the link below and we'll get you started.

                    Get Involved