Announcement

Collapse
No announcement yet.

Actinic v9 PayPal URLS deprecated

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

    Actinic v9 PayPal URLS deprecated

    I have a chap using Actinic v9 running a retirement hobby/business using PayPal.

    He does not wish to go to the expense of an upgrade.

    Paypal say that certain URLs were being deprecated and that they needed to be changed:

    Existing URL
    payflowpro.verisign.com
    cr-payflow.verisign.com
    payflow.verisign.com
    payments.verisign.com

    URL to move to
    payflowpro.paypal.com
    cr.cybercash.com
    payflowpro.paypal.com (include USER, VENDOR, PARTNER, and PWD parameters in all API requests)
    payflowlink.paypal.com

    Respectively
    I assumed the urls are specified in the PSP settings for Actinic?

    Is it possible to edit these to enter the new urls or does the client have no choice but to upgrade?

    Thanks

    Jonathan
    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    #2
    Take a look in OCCPaypalPro.pl in the CommonOCC folder.

    Comment


      #3
      Here are the patches to OCCPaypalPro.pl (Thank you Duncan...)

      Lines 17 - 18
      Code:
      $::PAYPAL_LIVE_SERVER = 'payflowpro.paypal.com';
      $::PAYPAL_TEST_SERVER = 'pilot-payflowpro.paypal.com';
      Lines 743 - 750:
      Code:
      	if ($Self->{TESTMODE} == $::TRUE)
      		{
      		$SSLConnection->SetHeaderValue("Host", "test-payflowpro.paypal.com");
      		}
      	else
      		{
      		$SSLConnection->SetHeaderValue("Host", "payflowpro.paypal.com");
      		}
      And it does seem to work - no warranty express or implied!

      I closed/opened Actinic, changed the cgi script number and refreshed through the Troubleshooting dialogue
      Jonathan Chappell
      Website Designer
      SellerDeck Website Designer
      Actinic to SellerDeck upgrades
      Graphicz Limited - www.graphicz.co.uk

      Comment


        #4
        A big thanks to Duncan & Graphicz for saving my life. I searched for days to find out what my PayPal website Payments Pro had stopped working in Actinic v9. Was in contact with my webhosts, sellerdeck and PayPal and none of them seemed to know about this!

        This solution sorted it out straight away. Only weird thing is that the bounce page back to the host site where a customer has to confirm the order now has no CSS styling. Probably a separate issue though.

        Comment


          #5
          Hi David

          I have had the issue of the bounce page not picking u[ the styles with a client's v12 site. I fixed it, then he upgraded to 12.0.6 and I had to fix it again.

          This assumes that you have SSL on login and checkout pages?

          The first fix maybe because your hosting company is moving to Cloud hosting and the traditional SSL port 443 no longer applies. Try this - no warranty express or implied and take a snapshot first!

          The following is a workaround SD support have found: -
          1. Go to your Site folder
          2. Go to ActinicPXML.pm
          3. Open in Notepad and find SERVER_PORT
          4.
          REPLACE:
          Code:
          if ($ENV{SERVER_PORT} == 443 &&
          $sReplace =~ /^http:/)
          {
          $sReplace =~ s/^http:/https:/;
          }
          WITH:
          Code:
          my ($bSSL) = (defined $ENV{HTTPS} && $ENV{HTTPS} =~ /on/i) ? $::TRUE : $::FALSE;
          if ($bSSL &&
          $sReplace =~ /^http:/)
          {
          $sReplace = $$::g_pSetupBlob{'SSL_CATALOG_URL'};
          }
          File | Save and Exit.
          Upload.

          SD have noted this down as a bug (SD-5036).

          The other thing I did with the client site was to change

          Code:
          <actinic:variable name="BaseHref" />
          to
          Code:
          <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Bounce%20Page%27%20OR%20%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27PSP%20Bounce%20Page%27">
          	<base href="https://www.yourdomainname/acatalog/">
          </actinic:block>
          <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%27Bounce%20Page%27%20OR%20%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%27PSP%20Bounce%20Page%27" >
          	<actinic:variable name="BaseHref" />
          </actinic:block>
          This might work.

          If you don't have SSL then I don't kow what the issue is.

          Good luck!
          Jonathan Chappell
          Website Designer
          SellerDeck Website Designer
          Actinic to SellerDeck upgrades
          Graphicz Limited - www.graphicz.co.uk

          Comment


            #6
            Hi
            Many thanks for this patch, i have been trying to sort the error for several days with little help from Paypal. I ammended the file and all is working.

            Comment


              #7
              Glad it helped.
              Jonathan Chappell
              Website Designer
              SellerDeck Website Designer
              Actinic to SellerDeck upgrades
              Graphicz Limited - www.graphicz.co.uk

              Comment

              Working...
              X