Announcement

Collapse
No announcement yet.

PayPal Cancel page

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

    PayPal Cancel page

    Does the Actinic - PayPal process support the 'return' and 'cancel_return' variables?

    If you provide these values, PayPal will return to specified pages after either a completed order, or a cancelled order.

    I would like to use these options as my site is new, and if anyone cancels an order I'd like them to go to a page where they can - if they wish - let me know why they cancelled their order. I will create that page, of course.

    Does Actinic 8 pass the variables to PayPal that provide this information? The PayPal notes on this are here: https://www.paypal.com/cgi-bin/websc...er_id=16777226

    Thanks.
    Kind regards,
    Phil Benjamin

    Want to de-stress as you use SellerDeck software?
    http://www.ursulajamesstore.com

    #2
    Hi there,

    I will check this and get back to you at the earliest.
    Regards,
    Sivakami.C

    Actinic Software
    www.actinic.co.uk
    www.actinic.com
    http://knowledge.actinic.com/

    Comment


      #3
      Hi Phil,

      Sorry for the delay. Yes, you can use these variables in your site but with a little hack. Please follow the instructions below:

      1. Open the PayPalTemplate.pl which is in the 'Site1' folder. (C:\Program Files\Actinic v7\ Sites\Site1\CommonOCC\CommonOCC\OCCPayPalTemplate.pl
      2. Find the following line:

      AddPostValues ('&', 'cancel_return', $::sCallBackURLBack, $ALWAYS, $REDIRECT);

      3. Change $::sCallBackURLBack to 'http://yourdomain/yourpath'
      4. Don't forget the single quotes, so it will look like:

      AddPostValues ('&', 'cancel_return', 'http://yourdomain/yourpath', $ALWAYS, $REDIRECT);
      (yourdomain/yourpath) is the domain and path of the desired page

      4. Save the file, then upload the site for the cancel url will point to the desired page.

      Note: (if the you do an upgrade, this change must be done again)

      I hope this helps.
      Regards,
      Sivakami.C

      Actinic Software
      www.actinic.co.uk
      www.actinic.com
      http://knowledge.actinic.com/

      Comment


        #4
        Thank you very much for that.

        This looks excellent and will be my first forage into the world of the cgi!

        I'll get back to you on how it turns out.
        Kind regards,
        Phil Benjamin

        Want to de-stress as you use SellerDeck software?
        http://www.ursulajamesstore.com

        Comment


          #5
          It works

          For those using PayPal, make this change and then if anyone cancels an order from the PayPal pages, they will return to a page of your choice.

          From there you can - if you wish - gather information on why they cancelled.

          You can test this from here: www.ursulajames.com/acatalog/index.html - just order something and cancel it once you get to the PayPal pages.

          Thanks for the help,
          Last edited by Paddington Bear; 19-Dec-2006, 01:23 AM. Reason: Incorrect URL
          Kind regards,
          Phil Benjamin

          Want to de-stress as you use SellerDeck software?
          http://www.ursulajamesstore.com

          Comment


            #6
            Update - does it still work?

            Hi there,

            As was correctly pointed out, when the software is upgraded the changes need to be remade.

            The bad news is it now doesn't work.

            I don't remember what version I was on when this did work but does anyone know if there is a reason why it shouldn't now work on v.9 of Business?

            I can't see the .pl files on my server - do they sit on the server or is the information amalgamated into another file?

            Any advice gratefully received.
            Kind regards,
            Phil Benjamin

            Want to de-stress as you use SellerDeck software?
            http://www.ursulajamesstore.com

            Comment


              #7
              The script files sit in the cgi-bin on your server. As part of the upgrade process, actinic creates a file telling you about the changes it has made and points you to its name and location. If you missed/ignored/didn't get it the first time, just redo the upgrade and it should tell you again. Import previous version snapshot into the existing version of the software to redo.

              Comment


                #8
                Clarity

                I'm sorry, I should have been clearer.

                I can see a load of .pl and .pm files in the CGI-BIN but not the OCCPayPalTemplate.pl file, so I can't find out why my changes are not working.

                (and I'm afraid I've recently rebuilt my PC so I haven't got the upgrade files anymore. I'm trying to redo the change.)
                Kind regards,
                Phil Benjamin

                Want to de-stress as you use SellerDeck software?
                http://www.ursulajamesstore.com

                Comment

                Working...
                X