Announcement

Collapse
No announcement yet.

Paypal 'return to merchant' confirmation and receipt

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Hi Bruce,

    After much hassling on my part, paypal support have finally taken me seriously.. I've received this reply.

    Is this of any help?

    If i want to try the suggested change, which file do i alter?

    Or should i wait for the actinic developers to come up with their fix?

    Its interesting to note they say auto-return must be switched to off!
    (which it always has been)
    There are many highly conflicting views about this... arent there?
    Lets hope we can find the definitive fix!

    Regards,
    Mark

    From review of the checkout form code that is being used on your website it appear that the return variable is being dynamically created to include a querystring. Here is an example from on of my tests:

    ......arka-shop.co.uk/cgi-bin/os000001.pl?SEQUENCE=3&ACTION=Finish&ORDERNUMBER=MC812710001565&REFPAGE=http%3a%2f%2fwww%2earka%2dshop%2eco%2euk%2facatalog%2fprimative%2dtribal%2djewellery%2ehtml&

    The problem this causes can be contributed to two things first is Auto-return being turned on. You will want to shut this off as it causes the return option to be set as a GET. The second thing you will want to do is add the variable "rm" with a value of "2" set in the <form> post made to PayPal. This will ensure a POST instead of a GET return method and it will keep the querystring added. In order for the "rm" value to work you will need to have the Auto return off.

    As for the new Payment pages, they have been active on the website for over two months so I do not think this is the case, although I am still looking into the pages but have not found any differences in these pages compared to old build pages that I have tested on.
    http://www.arka-shop.co.uk
    Arka Tribal Jewellery

    Comment


      #32
      Mark,

      There indeed are differing views, that is why I have removed the setup information I posted to the 'PayPal Setup' sticky thread and replaced it with a message saying I would post back with the proper setup once we have worked this out with PayPal.

      I have passed their note onto the development team and will post back with updates.

      Kind regards,
      Bruce King
      SellerDeck

      Comment


        #33
        Hi all,

        Well i thought i'd implement the changes suggested by the Paypal support anyway... and guess what? It seems to be working now!

        Auto return switched to off.
        No return URL specified.

        (its always been like this)

        I then opened my OCC_Paypal template and had a look for any return mail variable... there wasnt any.

        I then saw on this thread from a couple of years ago
        http://community.actinic.com/showthread.php?t=16688
        that 'PA.com' had this code in his OCC_paypal template

        <FORM NAME="formOCC" METHOD=POST ACTION="NETQUOTEVAR:OCC_URL">
        NETQUOTEVAR:OCC_VALUES
        <P>
        <input type="hidden" name="rm" value="2">
        </FORM>
        <FORM METHOD=POST ACTION="NETQUOTEVAR:OCC_URL">

        So i added this line;
        <input type="hidden" name="rm" value="2">
        to my template.

        I've uploaded it, made a test payment, clicked 'return to arka' and Lo and Behold i was taken instantly to my receipt page!!

        Why this line of code was not in my OCC_paypal template... i dont know.
        It has not been edited before. last modified:9.01.2003 (before we bought actinic)

        I also have no clue why its been working for over a year without the return method specified. Something somewhere must have changed.

        Anyway... it does seem to be working now.

        I'll wait a day or two to see if its working for my customers, but it just worked twice for me, paying by credit card.

        Fingers crossed,

        Mark

        http://www.arka-shop.co.uk
        Arka Tribal Jewellery

        Comment


          #34
          Mark,

          Thanks for posting this...

          Kind regards,
          Bruce King
          SellerDeck

          Comment


            #35
            I have updated the sticky thread with the following...

            How to configure callbacks on the PayPal Control Panel:

            On the Merchant interface (logged in to www.paypal.com)

            - go to 'Edit profile | Website payment preferences | Auto Return' and set to 'off'.

            - Open the {Site Dir}\CommonOCC\OCCPayPalTemplate.pl with a text editor like notepad

            - After line:
            AddPostValues ('&', 'bn', 'ActinicCat_Cart_ST', $ALWAYS, $NOENCODE); # hard code the provider

            - insert the following line:
            AddPostValues ('&', 'rm', '2', $ALWAYS, $NOENCODE); # Set form send method to POST

            - save the file and exit editor

            'Upload' for your site and PayPal should now be properly configured.

            Kind regards,
            Bruce King
            SellerDeck

            Comment


              #36
              Hi Bruce,

              just checking... the above code is for V8 isnt it?

              as none of that code appears in my OCCPayPalTemplate on V7

              The code i added to my V7 site still seems to be working fine.

              Regards,
              Mark

              http://www.arka-shop.co.uk
              Arka Tribal Jewellery

              Comment


                #37
                Hi,

                Can anyone give me the code as above for version 7 please.

                Thanks.


                Wayne.
                www.fetishwear-uk.co.uk


                Actinic SEO

                We are specialists in Actinic SEO and have over 12 years experience with this software. PM me for more details if you need any help.


                sigpic

                Comment


                  #38
                  Originally posted by Bruce
                  I have updated the sticky thread with the following...

                  How to configure callbacks on the PayPal Control Panel:

                  On the Merchant interface (logged in to www.paypal.com)

                  - go to 'Edit profile | Website payment preferences | Auto Return' and set to 'off'.

                  - Open the {Site Dir}\CommonOCC\OCCPayPalTemplate.pl with a text editor like notepad

                  - After line:
                  AddPostValues ('&', 'bn', 'ActinicCat_Cart_ST', $ALWAYS, $NOENCODE); # hard code the provider

                  - insert the following line:
                  AddPostValues ('&', 'rm', '2', $ALWAYS, $NOENCODE); # Set form send method to POST

                  - save the file and exit editor

                  'Upload' for your site and PayPal should now be properly configured.

                  Kind regards,
                  Bruce...does this set up do anything different to having a return URL specified as previously advised?

                  (Editted to say...in V8, btw)
                  Tracey

                  Comment


                    #39
                    Hi Tracey,

                    For v8 the preferred setup will be as per my post on #40, this is because there have been a few changes on PayPal's end and they have changed the way the call back is handled.

                    For v7 too the same change would apply. I am going to remove the post on top as that is a fudge to the solution.

                    Kind regards,
                    Bruce King
                    SellerDeck

                    Comment


                      #40
                      Originally posted by Bruce
                      - After line:
                      AddPostValues ('&', 'bn', 'ActinicCat_Cart_ST', $ALWAYS, $NOENCODE); # hard code the provider
                      I have just tried to find this line as our v8.5.1 site is still not emailing order confirmations to Paypal customers (or to us) and we are inundated with people checking that their order was successful.

                      However I am unable to fund the above line in our code, we have:

                      AddPostValues ('&', 'bn', 'SureSolutions.Actinic', $ALWAYS, $NOENCODE); # hard code the provider

                      Do I paste the extra line under there?
                      Thanks

                      JoBananas Body Jewellery - Body piercing jewellery, belly bars and ear stretching plugs

                      Comment


                        #41
                        David,

                        Do I paste the extra line under there?
                        Yes, copy the line you quoted and paste it right below the one you have.

                        Kind regards,
                        Bruce King
                        SellerDeck

                        Comment


                          #42
                          Bruce

                          If/when this change is made in the paypal template..do I need to edit the occupgrade.ini to prompt it to upload the change?
                          Tracey

                          Comment


                            #43
                            Not necessary. An upload should put the new file / parameters up.

                            Kind regards,
                            Bruce King
                            SellerDeck

                            Comment


                              #44
                              Bruce

                              We made this change yesterday and we are still not getting any confirmations from Paypal
                              Thanks

                              JoBananas Body Jewellery - Body piercing jewellery, belly bars and ear stretching plugs

                              Comment


                                #45
                                I am checking this for you...
                                Bruce King
                                SellerDeck

                                Comment

                                Working...
                                X