Announcement

Collapse
No announcement yet.

Three instances of PGP

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

    Three instances of PGP

    I have a client with 3 separate merchant accounts with HSBC for £,$ and €. Is it possible to have 3 instances of any PGP each with a separate ID ?
    Richard Gosler
    Phoenix Digital Media Ltd
    Dorset, UK

    #2
    I can't see how this can be done as you can only enter one set of merchant details in the interface. Also, the primary currency on the site is the one that the customer pays in anyway, the 2nd currency is only for display purposes. If you want customers to able pay in a chosen currency then I'm afraid that you would have to have different sites for each currency.
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      Hi Tracey,

      This seems to be a fairly common request. There was one a few days ago where someone wanted two instances of the same PSP so he could add a surcharge to one for credit cards and use the other one for debit cards.

      Can you ask the developers if it's possible to 'redirect' one of the payment methods to use another one's definition. i.e. somewhere in database (or elsewhere) I would assume there's a table that says 'PROTX' uses configuration file A, 'secpay' file B, etc.

      If users could change this to say that 'Secpay' (for example) used the protx configuration file then there could be two instances of the same PSP in use at the same time.

      The question for the developers is whether this can be done or it's hard coded into the application.

      Mike
      -----------------------------------------

      First Tackle - Fly Fishing and Game Angling

      -----------------------------------------

      Comment


        #4
        Hi Mike,

        If it is possible then I think it would be in the 'c:\program files\actinic v9\OCCUpgrade\OCCUpgrade.ini' file, however, I'm not sure what the implications are of copying one PSPs details to another ones, ie whether you would use the same ClassIDs for instance.

        Let me check with development to see if it's possible.
        ********************
        Tracey
        SellerDeck

        Comment


          #5
          Hi Tracey,

          The ini file looks promising.

          It also looks as if you could create a 'new' PSP by adding it to the inital definition and copying the setup data to a new OCC-id.

          i.e create a 'new' psp called PROTX2, give it an unassigned occprovider number and then copy the protx definition to create a new one with that number.

          I'm not going to try it myself, but anyone who wants to try and can do so or wait until the developers come back.

          Mike

          PS. The file format to make this more understandable is:

          [Version]
          Number=1527

          [OCC-ID]
          Netbanx=1
          Secure Trading=3
          WorldPay=4
          SECPay=9
          Web-Merchant=10
          Skypay=21
          PROTX=22
          PayPal Website Payments=900
          Nochex=52
          HSBC Secure ePayments=51
          Metacharge=54
          Realex Payments=56
          PayPal Website Payments Pro=58
          Total Web Solutions=59
          PayOffline=60
          Secure Hosting(UPG)=25
          PayPal Express Checkout=901
          Actinic Payments Ecommerce=950
          Actinic Payments CNP/MOTO=951

          [OCCProvider:1]
          ID=1
          ProviderName='Netbanx'
          TestModeAvailable=1
          PreAuthorizedAllowed=0
          AuthorizedAllowed=1
          ClassID='{AC090015-43EE-11D2-9520-080000511272}'
          ClassIDManager='{AC090017-43EE-11D2-9520-080000511272}'
          PlugInScriptName='OCCScriptTemplate.pl'
          ProviderURL='https://www.netbanx.com/cgi-bin/actinic/'
          RemoteProcessScript='precode.pl'
          DBPlugInScriptName='OCCScriptTemplate.pl'
          DBProviderURL='https://www.netbanx.com/cgi-bin/actinic/'
          DBRemoteProcessScript='precode.pl'
          Debugging=?1
          TechnicalFailAllowed=0
          FinancialFailAllowed=0
          OnlyAuthorize=?0
          TemplateName='Act_OCCNetbanxTemplate.html'
          SiteSubDirectory='CommonOCC'
          MaxURLLength=-1
          AvailableOffline=1
          AvailableOnline=1
          AccountRegistrationURL='http://www.actinic.co.uk/psp/netbanx/index.htm'

          .
          .
          .
          .
          etc
          PPS. This might only work in the case of multiple instances with the same merchant account. It all depends on where actinic stores the merchant account number. if it stores it in the occ files then you might need to create new instances of these files if you want to do this with multiple merchant accounts.
          -----------------------------------------

          First Tackle - Fly Fishing and Game Angling

          -----------------------------------------

          Comment


            #6
            OK, this looks like it is possible to create a new PSP entry but not fully tested as we don't have multiple PSP accounts. If someone wants to try it and confirm it works it would be very useful.

            - close Actinic
            - browse to 'c:\program files\actinic v9\OCCUpgrade\' folder
            - locate 'OCCUpgrade.ini' and take a backup of it
            - open it in notepad
            - at the top of the file you will see:

            Code:
            [Version]
            Number=1527
            (the version number is different in different versions of the software so yours might be different to the above)

            - increment the version number by 1 (so the above would become '1528')
            - then under the '[OCC-ID]' part add a new entry, for example:

            HSBC Secure ePayments=51 (this is the original entry)
            HSBC Secure ePayments 2=1051 (this is the new one)

            - then search for the [OCCProvider:xx] details for the PSP you want to duplicate ('xx' would equate to '51' using HSBC as the example)
            - copy and paste the details and change the id to the one you created above and the 'ProviderName' to the same as you created for example:

            Code:
            [OCCProvider:1051]
            ID=1051
            ProviderName='HSBC Secure ePayments 2'
            TestModeAvailable=1
            PreAuthorizedAllowed=1
            AuthorizedAllowed=1
            ClassID='{AC090055-2C97-11D3-97D6-080000511272}'
            ClassIDManager='{AC090055-2C97-11D3-97D6-080000511272}'
            PlugInScriptName='OCCHSBCScriptTemplate.pl'
            ProviderURL='https://secure.actinicsecure.com/cgi-bin/'
            RemoteProcessScript='is_main.pl'
            DBPlugInScriptName='OCCHSBCScriptTemplate.pl'
            DBProviderURL='https://secure.actinicsecure.com/cgi-bin/'
            DBRemoteProcessScript='is_main.pl'
            Debugging=?1
            TechnicalFailAllowed=0
            FinancialFailAllowed=0
            OnlyAuthorize=?0
            TemplateName='Act_OCCHSBCTemplate.html'
            SiteSubDirectory='CommonOCC'
            MaxURLLength=-1
            AvailableOffline=1
            AvailableOnline=1
            AccountRegistrationURL='http://www.actinic.co.uk/psp/HSBC/index.htm'
            - then locate the '[OCCProviderAttributes]' and copy the attributes for the original provider ID, paste them at the end of the list (just before [OCCCurrencies]) and change the IDs to the new one, e.g.

            Code:
            ProviderID=1051
            AttributeName='ADF01'
            Required=1
            AttributeType='VALUE'
            AttributeValue=?''
            ProviderID=1051
            AttributeName='ADF01_0'
            Required=1
            AttributeType='LABEL'
            AttributeValue='StorefrontID'
            ProviderID=1051
            AttributeName='ADF02'
            Required=1
            AttributeType='VALUE'
            AttributeValue=?''
            ProviderID=1051
            AttributeName='ADF02_0'
            Required=1
            AttributeType='LABEL'
            AttributeValue='CPI Hash'
            ProviderID=1051
            AttributeName='ADF02_1'
            Required=1
            AttributeType='ENCRYPT'
            AttributeValue='1024'
            ProviderID=1051
            AttributeName='LOGIN'
            Required=1
            AttributeType='BOOL'
            AttributeValue='NO'
            - then do the same for the [OCCCurrencies] for your provider.

            - close and save the file
            - open Actinic and you should get a message saying that the PSP upgrade was successful (I've noticed that it sometimes seems to get stuck behind the splash screen but you should be able to click on it to bring it to the front). This copies the relevant files to the 'site/CommonOCC' folder and adds any changes to the database.
            - when you go into 'Business Settings | Payment & Security' you should be able to select your new PSP option from the drop-down list.

            PPS. This might only work in the case of multiple instances with the same merchant account. It all depends on where actinic stores the merchant account number. if it stores it in the occ files then you might need to create new instances of these files if you want to do this with multiple merchant accounts.
            The new PSP entry will get it's own fields in the database so you could have two merchant accounts.

            Note that if you want to create two Protx accounts then you will also have to create a new 'OCCPROTXScriptTemplate.pl' in the 'c:\program files\actinic v9\OCCUpgrade\CommonOCC' folder so you can enter the encryption key for the 2nd account and make sure that you set the new name that you call it in the 'PlugInScriptName=' and 'DBPlugInScriptName=' when copying over the OCCProvider details.

            I'm still not sure if this will work on one site for different currencies as I mentioned previously, the primary currency on the site is the one that the customer pays in, the 2nd currency is only for display purposes.
            ********************
            Tracey
            SellerDeck

            Comment

            Working...
            X