Announcement

Collapse
No announcement yet.

Realex Payment

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

    Realex Payment

    Hi all,

    Just in the process of integrating a shop using Realex [AIB's payment provider], It requires similar steps to the instructions for PROTX

    http://community.actinic.com/showthread.php?t=32199

    Realex let you download a patch from their resource centre. However The read me is not as clear as it might be. The first couple of steps guide you through updating Actinic to include the Realex in it's Payment provider drop down list, but the latest version of Actinic already has this, therefore these steps are unnecessary. Of course this might be fixed or made clearer in future.

    Hope this helps,

    Shane
    www.pride.ie

    #2
    I have this working now. Many thanks to the support team for their help!

    The return URL for PSPs that need it, is generally:

    http://www.yourwebsite.com/cgi-bin/os000001.pl

    For Realex to work properly with Actinic you need a fresh install of the latest Actinic v8.5.2 HMVA - do not, like i did, use the patch to upgrade the older version as all the files won't be replaced.

    Also you need to:

    Open:
    {path to Site directory}\CommonOCC\PostRealex.fil

    Insert your shared secret.

    Also in PostRealex.fil change "tony@satellite.ie" to: "tony at satellite.ie"

    you also need to insert your shared secret into the "OCCRealexScriptTemplate.pl"

    Make these changes in both the Program files Actinic folder and the site folder.

    You may need to change the "OCCUpgrade.ini" in the "OCCUpgrade" folder "[Version] Number=1235" to "[Version] Number=1236"

    That worked for me anyway.
    www.pride.ie

    Comment


      #3
      Hi,

      One last issue with Realex and I'm there!

      My test transactions are going through as "delayed payments" in the Realex system.

      Realex say you have to change the "AUTO_SETTLE_FLAG" from "0" to "1" to make the transactions automatically clear in the script that goes to their server.

      Now, I'm afraid of breaking the whole thing so I'm hoping someone can explain to me how to do this. I take it I need to edit the "OCCRealexScriptTemplate.pl"? ButI dont see an obvious auto settle flag, and if it's in there It's not in the same format as they give in their Dev Guide.

      Thanks,

      Shane
      www.pride.ie

      Comment


        #4
        The fix for this is to add the following line to "OCCRealexScriptTemplate.pl"

        AddPostValues ('?', 'AUTO_SETTLE_FLAG', '1', $ALWAYS, $NOENCODE);

        I think that's me sorted. i hope this thread helps others!

        Shane
        www.pride.ie

        Comment


          #5
          Originally posted by shaneod
          The fix for this is to add the following line to "OCCRealexScriptTemplate.pl"

          AddPostValues ('?', 'AUTO_SETTLE_FLAG', '1', $ALWAYS, $NOENCODE);

          I think that's me sorted. i hope this thread helps others!

          Shane
          Hi there,

          I received the same instruction from Realex and Actinic support.
          I tried all of them but my transactions still appear as 'delayed payments' in the Realex system.
          Do you have any further suggestions?

          Pablo

          Comment


            #6
            Did you make the change to the file in the Site folder and the Actinic folder?

            Where in the file did you add that line of code? If you can post the file here I'll have a look and see if it's the same as mine. [obviously block out your shared secret]

            You may need to change the "OCCUpgrade.ini" in the "OCCUpgrade" folder after making the change? Increase the version number by one. EG. Where it says "[Version] Number=1235" change it to "[Version] Number=1236"
            www.pride.ie

            Comment


              #7
              Hi,
              Did you figure out where the line of code:
              AddPostValues ('?', 'AUTO_SETTLE_FLAG', '1', $ALWAYS, $NOENCODE);

              goes? Is there a specific place in the OCCRealexScriptTemplate.pl that it needs to go?
              Thanks,
              Breda

              Comment


                #8
                Hi Breda,

                you need to add it to the end of the order details list:

                Code:
                # order details
                #
                AddPostValues ('?', 'TIMESTAMP', $timestamp, $ALWAYS, $NOENCODE);
                AddPostValues ('&', 'MERCHANT_ID', $sMerchantID, $ALWAYS, $NOENCODE);
                AddPostValues ('&', 'ACCOUNT', $account, $ALWAYS, $NOENCODE);
                AddPostValues ('&', 'ORDER_ID', $::sOrderNumber, $ALWAYS, $NOENCODE);
                AddPostValues ('&', 'CURRENCY', $::PriceFormatBlob{SINTLSYMBOLS}, $ALWAYS, $NOENCODE);
                AddPostValues ('&', 'AMOUNT', $::nOrderTotal, $ALWAYS, $NOENCODE);
                AddPostValues ('&', 'SIGTYPE', 1, $OPTION, $NOENCODE);
                AddPostValues ('&', 'MD5HASH', $sHash, $OPTION, $NOENCODE);
                AddPostValues ('&', 'ACT_POSTPROCESS', 1, $ALWAYS, $NOENCODE);
                AddPostValues ('&', 'ACTION', $sAuthString, $ALWAYS, $NOENCODE);
                AddPostValues ('&', 'SEQUENCE', $sSequence, $ALWAYS, $NOENCODE);
                AddPostValues ('?', 'AUTO_SETTLE_FLAG', '1', $ALWAYS, $NOENCODE);
                AddPostValues ('&', 'VAR_REF', $::InvoiceContact{EMAIL}, $ALWAYS, $NOENCODE);
                The "AddPostValues ('&', 'VAR_REF', $::InvoiceContact{EMAIL}, $ALWAYS, $NOENCODE);" line stores the customers email in your realex account as well.
                www.pride.ie

                Comment


                  #9
                  thanks for that.
                  B

                  Comment


                    #10
                    Originally posted by shaneod View Post
                    Also in PostRealex.fil change "tony@satellite.ie" to: "tony at satellite.ie"
                    Thats my email please take it out and change it to whatever your own email is
                    www.satellite.ie

                    Comment

                    Working...
                    X