Custom generated PayPal Button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • cct9105
    Sergeant First Class

    • Dec 2006
    • 57

    #31
    Re: Custom generated PayPal Button

    Hi Navaldesign,

    Thanks, I though of that if a visitor chooses the a certain the description will be selected automatically but I don't know how to do it, second, how can I keep the button to a selected one.

    I do appreciate your help seems your are the guru. :))

    janeth
    janeth
    www.millarefoundation.com

    Comment

    • navaldesign
      General & Forum Moderator

      • Oct 2005
      • 12080

      #32
      Re: Custom generated PayPal Button

      Originally posted by cct9105 View Post
      Hi Navaldesign,

      Thanks, I though of that if a visitor chooses the a certain the description will be selected automatically but I don't know how to do it, second, how can I keep the button to a selected one.

      I do appreciate your help seems your are the guru. :))

      janeth
      Depending on your form, the script has to be adapted. Have a look at this example: http://www.dbtechnosystems.com/Tips/radio_payment.php

      If you like it, contact me and i will send you the file.
      Navaldesign
      Logger Lite: Low Cost, Customizable, multifeatured Login script
      Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
      DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
      Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

      Comment

      • cct9105
        Sergeant First Class

        • Dec 2006
        • 57

        #33
        Re: Custom generated PayPal Button

        Thank you very much, Navaldesign, you are such a nice person, very helpful. I love to have a copy of what you did.
        janeth
        www.millarefoundation.com

        Comment

        • navaldesign
          General & Forum Moderator

          • Oct 2005
          • 12080

          #34
          Re: Custom generated PayPal Button

          Contact me through my form so i can email the file to you.
          Navaldesign
          Logger Lite: Low Cost, Customizable, multifeatured Login script
          Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
          DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
          Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

          Comment

          • cct9105
            Sergeant First Class

            • Dec 2006
            • 57

            #35
            Re: Custom generated PayPal Button

            Hi Navaldesign,

            I did fillout your form, iyour reply form is very nice,how did you make in table format. Thanks and I'll be happy if you can share it.
            janeth
            www.millarefoundation.com

            Comment

            • navaldesign
              General & Forum Moderator

              • Oct 2005
              • 12080

              #36
              Re: Custom generated PayPal Button

              This is a bit complicated. It requires sending html email and hardcoding the mail content. I do that on a professional basis.
              Navaldesign
              Logger Lite: Low Cost, Customizable, multifeatured Login script
              Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
              DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
              Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

              Comment

              • cct9105
                Sergeant First Class

                • Dec 2006
                • 57

                #37
                Re: Custom generated PayPal Button

                Thanks a lot with code you sent though but have a fe problem, I cant go through my paypal account it always say incorect formatted amount item. I tried everything that I know but still do the same, maybe I missing sonething on the HTML I'm not sure. Kindly take a look again on your spare time pls.

                www.millarefoundation.com/payment.php

                for my prevous question: Yes, I agree with that it is a complicated one and I noticed also the one that you created on the payment.php is a hardcoded amount. I hope will learn more as I am venturing myself in website development.

                I really appreciate your willingness to help.
                janeth
                www.millarefoundation.com

                Comment

                • navaldesign
                  General & Forum Moderator

                  • Oct 2005
                  • 12080

                  #38
                  Re: Custom generated PayPal Button

                  Hi

                  check your paypal button code. Also, you could change he settings in the form so that the radio buttons start from 1 instead of 0 . This way it will NOT default to the first choice as it does now. In that case make the first radio NOT selected
                  Navaldesign
                  Logger Lite: Low Cost, Customizable, multifeatured Login script
                  Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                  DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                  Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                  Comment

                  • cct9105
                    Sergeant First Class

                    • Dec 2006
                    • 57

                    #39
                    Re: Custom generated PayPal Button

                    Hi Navaldesign,

                    I finally finished my form, just a few error on the quotation part o the html, you are an angel in finishing this portion of the website.

                    Thank you very much.
                    janeth
                    www.millarefoundation.com

                    Comment

                    • Mdpeters
                      Private First Class

                      • Aug 2007
                      • 5

                      #40
                      Re: Custom generated PayPal Button

                      My turn to ask for help with this button. Can you look at www.vacations-afloat.com/payments.html and tell me where i am going wrong. I can't figure out how to make the initial value work without displaying their values.

                      Thanks for your anticipated help

                      Michael

                      michael@vacations-afloat.com

                      Comment

                      • navaldesign
                        General & Forum Moderator

                        • Oct 2005
                        • 12080

                        #41
                        Re: Custom generated PayPal Button

                        You have published the page as html. Please read the instructions, you need to publish it as php
                        Navaldesign
                        Logger Lite: Low Cost, Customizable, multifeatured Login script
                        Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                        DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                        Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                        Comment

                        • Mdpeters
                          Private First Class

                          • Aug 2007
                          • 5

                          #42
                          Re: Custom generated PayPal Button

                          Thanks for that, the mistake was in the menu buttons which were pointing at an .html page and not the .php one.

                          Next question, we sell vactaions and therefore each transaction is a different value, hence the need for your custom button. We also sell in 3 currencies, US Dollars, British Pounds and Euros, can I add the ability to select currency to the cutom buton? If so how do i do tis?

                          Many thanks
                          Michael

                          Comment

                          • navaldesign
                            General & Forum Moderator

                            • Oct 2005
                            • 12080

                            #43
                            Re: Custom generated PayPal Button

                            You can add in the form ALL the parameters of the PayPal button: amount, item descriptin, item nr., amount, currency, etc. The code has to be changed acordingly, and the form fields must reflect the code elements. So, change the button code to :

                            Code:
                            <?
                            if ($amount != 0){
                            ?> 
                            <form action="[URL]https://www.paypal.com/cgi-bin/webscr[/URL]" method="post">
                            <input type="hidden" name="cmd" value="_xclick">
                            <input type="hidden" name="business" value="[EMAIL="you@yoursite.com"]you@yoursite.com[/EMAIL]">
                            <input type="hidden" name="item_name" value="="<? echo $_POST['item_name']; ?>">
                            <input type="hidden" name="item_number" value="">
                            <input type="hidden" name="amount" value="="<? echo $_POST['amount']'; ?>">
                            <input type="hidden" name="no_shipping" value="1">
                            <input type="hidden" name="return" value="[URL]http://www.yoursite.com/returnpage.php[/URL]">
                            <input type="hidden" name="currency_code" value="<? echo $_POST['currency'];?> ">
                            <input type="hidden" name="lc" value="US">
                            <input type="hidden" name="bn" value="PP-BuyNowBF">
                            <input type="image" src="[URL]https://www.paypal.com/en_US/i/btn/x-click-but02.gif[/URL]" border="0" name="submit" alt="Make your payments with PayPal. It is free, secure, effective.">
                            <img alt="" border="0" src="[URL]https://www.paypal.com/it_IT/i/scr/pixel.gif[/URL]" width="1" height="1">
                            </form>
                            <?
                            }
                            ?>
                            and include, in the form, a drop down with the thre values : USD, GBP, EUR for the three currencies you need.
                            Navaldesign
                            Logger Lite: Low Cost, Customizable, multifeatured Login script
                            Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                            DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                            Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                            Comment

                            • Mdpeters
                              Private First Class

                              • Aug 2007
                              • 5

                              #44
                              Re: Custom generated PayPal Button

                              I am obviously being very stupid about this i now get an error:
                              Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/xdqsufol/public_html/payments.php on line 280
                              Might be easier if i paid you to do this for us

                              Comment

                              • navaldesign
                                General & Forum Moderator

                                • Oct 2005
                                • 12080

                                #45
                                Re: Custom generated PayPal Button

                                Hi,

                                this is entirely up to you. If you wish you can contact me privately.
                                Navaldesign
                                Logger Lite: Low Cost, Customizable, multifeatured Login script
                                Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                                DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                                Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                                Comment

                                Working...
                                X