19 Replies Latest reply: Nov 13, 2013 5:48 AM by Adam Cook RSS

    My web form is not working with PayPal

    mario_gudelj CommunityMVP

      Only seamless gateways such as the "Pro" version of PayPal, eWay or Authorize.net will work with form payments. Gateways that have the user leave BC, such as PayPal Standard, Google Checkout or Realex, only work with the online store.

        • 1. Re: My web form is not working with PayPal
          web2creative Community Member

          Mario, has something changed here because I have set up paypal standard with the web form that payes for access to secure zone. http://inthetrencheswithfatherrick.com/trenches-subscribe

          While the the payments go through just fine, the access to the secure zone is granted before the paypal returns the successful charge. On the way back from PayPal, the PaymentProcess.aspx page is either blank or it renders error, depending on my setup in the paypal. However, in both cases, the information from PayPal is captured by BC because I can see the PayPal transaction ID inside the Orders report in BC. So, I am actually confused. Does it work only partiall because I haven'y set up something correctly, or because it is not meant to work in the forst place. Can you please let me know what you think. Thanks.

          • 2. Re: My web form is not working with PayPal
            mario_gudelj CommunityMVP

            It's not meant to work as BC will never know about the PayPal payment. So, you can send details to paypal and customer can submit the payment, but the IPN nor PDT will work in this case, which means the payment will never be recorded by your site.

             

            -m

            • 3. Re: My web form is not working with PayPal
              Liam Dilley CommunityMVP

              Never used to go off to paypal though Mario, used to error up. So there is a change there - intended or not.

              • 4. Re: My web form is not working with PayPal
                web2creative Community Member

                Well, the payment is actually recorded by the BC. I see it in the Orders when and it says Success and it lists the paypal transaction ID. However, the PaymentProcess.aspx either shows me error or blank page. Neither is good. Is there a way to actually make this go through without the error?  BC documentation http://kb.worldsecuresystems.com/kb/set-paypal-standard.html?bc-partner#id_39843 says to put the secure URL into the Return URL. If I don't, I get an error. If I put the secure url, and I put unsecure url into IPN, I get the blank page on the return. If I put secure url into IPN as well, I get error again. So, Liam do you know what combination of settings will not render an error on the PaymentProcess.aspx page?

                • 5. Re: My web form is not working with PayPal
                  Liam Dilley CommunityMVP

                  Just to be clear you are refering to a custom web form not the form in the eCommerce? and you are using Paypal Standard not paypal payments pro.

                   

                  If you are refering to this in eCommerce then you just not set up paypal standard correctly.

                  Order status as well as another note goes to the first one you set it as default as. IF this is success then an order status will always be a success no matter what goes on.

                  • 6. Re: My web form is not working with PayPal
                    web2creative Community Member

                    Correct. I am using a custom web form and PayPal Standard. When the form is submitted the order in BC is created but it is not marked as paid. As soon as go through with PayPal payment, the order is updated and the PayPal information is added. So the only thing that I don't get is why is the PaymentProcess.aspx giving me the error or blank page while the payment actually comes back just fine?  

                    • 7. Re: My web form is not working with PayPal
                      mario_gudelj CommunityMVP

                      That's because PaymentProcess.aspx isn't made to do that. When PayPal triggers IPN and sends details to PaymentProcess.aspx, that utility can not interpret it because it wasn't created to do so.

                       

                      -m

                      • 8. Re: My web form is not working with PayPal
                        Liam Dilley CommunityMVP

                        Always known that Mario but when I last tried this aaaages ago it red error messaged and nothing happened in the admin. So at some point some things were change for this to do what it is now.

                        Can't use it, not been told you can but seems to behave differently.

                        At a guess someone mat have had a look at what would it take to get it to work.

                        • 9. Re: My web form is not working with PayPal
                          web2creative Community Member

                          Mario, are you suggesting I am to disable the IPN or to put in a url that doesn't go to the paymenProcess.aspx?

                           

                          Please note that we also use PayPal Standard in the checkout process. The BC support person had advised me to have the IPN and Payment Data Transfer turned on but didn't tell me what url to use in the IPN.

                          As you can see, I am quite confused as to what I am supposed to do with the IPN.

                          • 10. Re: My web form is not working with PayPal
                            web2creative Community Member

                            I did further testing:

                             

                            1. I turned off the IPN and I still received the Error page.

                            2. Than I went and turned off the Payment Data Transfer, and now I got the blank page... /PaymentProcess.aspx?paypal=success. However, I still got the paypal transaction ID attached to the orders.

                            3. I turned on the IPN and still got the blank  /PaymentProcess.aspx?paypal=success and I still got the paypal transaction ID attached to the orders.So the conclusion is that IPN has no bearing on payments made with PayPal Standard when it is used with custom forms.

                            4. I chaged the URL in the Return URL to go to the secure home page instea of to /PaymentProcess.aspx. and...it still sent me to the PaymentProcess.aspx and I still got the paypal transaction ID attached to the orders.

                            5. I made the purchase using shoping cart to ensure it works too and this time I even received the receipt on the /PaymentProcess.aspx. The Ref# and Auth Code were "Not Applicable" but it still worked and it was recorded in the orders with the paypal transaction ID

                             

                            So my conclusions are:

                            1. IPN has no bearing on PayPal payments made from the custom web form

                            2. Payment Data Transfer being on sends to the pafe that can't be processesd and it renders Error message

                            3. Return URL always send you to the PaymentProcess/aspx regardless what secure url you put in there.

                            4. Transcation ID is always passed to the orders as long as it can connect to PayPal. I guess ur will do it as long as the Payment Gateway has the proper informration in there.

                            5. It works the same from the custom web form and from checkout form.

                             

                            I hope this sheds some light and serves some purpose to whoever is completely confused by this as I am.

                             

                            Mario and Liam, thanks for your help. Much appreciated.

                            • 11. Re: My web form is not working with PayPal
                              Min Park Community Member

                              Have you worked this out somehow ?

                               

                              The payment works just fine so I guess it's all matter of fixing issue with the return page.

                               

                              I'm not a program person at all but thinking that it can be fixed either way

                               

                              1. allow Paypal's automatic return url (which seems to be disregarded at the moment)

                               

                              2. use some other redirection method when returning from Paypal using custom webform

                               

                              I don't know I'm just throwing idea ...

                               

                               

                              Like I stated on the other thread, a lot of people want to do simplified checkout thing thesedays and BC's customwebform payment is a great way of achieving this, but  Paypal can be the biggest turn down for now because we're already using the custom webform to mimic the simplified purchase process and getting quite a lot of people asking if they still can pay via Paypal.

                              • 12. Re: My web form is not working with PayPal
                                Liam Dilley CommunityMVP

                                I have a jquery plugin I have just written and guide on how to get PayPal standard and custom web forms working. Invoices come through PayPal side but BC forms submit only I successfull payment.

                                It won't be free but its good.

                                • 13. Re: My web form is not working with PayPal
                                  Adam Cook Community Member

                                  Hey Liam, what are you charging for it?

                                  • 14. Re: My web form is not working with PayPal
                                    Liam Dilley CommunityMVP

                                    My back ok is in repair and my pc is still on its way FTO Sydney with all my stuff.lol.

                                    Ill have a site up so people can buy it and video showing it etc.

                                    You get , method, unlimited use and the plugin and it makes it worth it I think. Hopefully up by monday

                                    • 15. Re: My web form is not working with PayPal
                                      Adam Cook Community Member

                                      That would be great, Liam! I have a partner that is crunched for time with his client, and this is the only thing standing in the way now. If you want to do a transaction before the site is up, we will be happy to do that. What will you charge?

                                      • 16. Re: My web form is not working with PayPal
                                        Liam Dilley CommunityMVP

                                        Pm me adam and ill tell you about it if you need it now

                                        • 17. Re: My web form is not working with PayPal
                                          Victor Ramayrat

                                          Liam,

                                           

                                          Do you have the URL by any chance.  I need to have the Donate form on a non-profit website I just worked on using their Paypal Standard.

                                           

                                          http://stanislauscf.controlcamp.com/donate_copy

                                           

                                          -v

                                          • 18. Re: My web form is not working with PayPal
                                            NatalieCroweDesigns

                                            HI Liam,
                                            I'd be interested in getting some more information on this as well please.

                                             

                                            Kind Regards Nat

                                            • 19. Re: My web form is not working with PayPal
                                              Adam Cook Community Member

                                              Hey Nat,

                                               

                                              You can find Liam's plugin for this on the BC App Store.