Announcement

Collapse
No announcement yet.

Nochex

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Nochex

    Hi

    I need to change the Nochex template so that it links to www.secure.nochex.com rather than www.nochex.com

    I have seen these threads here:
    http://community.actinic.com/showthr...ghlight=nochex
    http://community.actinic.com/showthr...ghlight=nochex

    so I assume its possible?

    I've looked at the Act_OCCNOCHEXTemplate.html file, but the example code given by nochex is:
    Code:
    <form method="POST" action="https://secure.nochex.com/">
    <input type="hidden" name="merchant_id" value="{Your Merchant ID}">
    <input type="hidden" name="amount" value="{Your Payment Amount}">
    <input type="hidden" name="description" value="{Your Order Description}">
    <input type="hidden" name="order_id" value="{Your Order ID}">
    <input type="submit" value="Pay by Nochex">
    </form>
    So, assuming I replace OCC_VALUES with the code above, how would I get the values of payment amount and description etc?

    I've searched for OCC_VALUES in the advanced guide but not found anything.

    I assume I can change things like "{Your Payment Amount}" for some NETQUOTEVAR: value, but which ones? The advanced guide mentions lots of INVOICEXXXXX but nothing that looks like a total etc.

    Thanks for any help given

    Pete

    #2
    Hi Pete,

    I would suggest you first check with Nochex if this service is available for use with Actinic. If they confirm, then the correct way to do this would be to change the URL on the OCCUpgrade\OCCUpgrade.ini file.

    Locate the file and open with notepad

    Scroll down till you see [OCCProvider:52]

    This is where defaults for nochex are defined, you will need to change the values for ProviderURL and DBProviderURL
    Ie.:
    ProviderURL='https://www.nochex.com/nochex.dll/checkout'
    to
    ProviderURL='https://secure.nochex.com/'
    The same needs to be done with DBProviderURL

    The version number at the beginning of this file should be incremented by 1, if currently at 1109 increment to 1110. Save the file then update the site and the new URL will be used. Other settings if left as they are within Actinic should pass the required information to Nochex.

    Please note, we have never tested this URL, so we can't gurantee it works. All usual disclaimers apply. If you find this is not working, please go back and undo changes, save and update your site.

    Kind regards,
    Bruce King
    SellerDeck

    Comment


      #3
      Hi

      Thanks for the info. I did what you suggested but it didnt fix the issue with our logo being shown. I managed to find a post on the Nochex forum that helped though and ended up adding a line (169) to OCCnochexScriptTemplate.pl:
      AddPostValues ('&', 'logo', 'http://www.pureskincare.co.uk/acatalog/logo1.gif', $ALWAYS, $NOENCODE);

      That now shows our logo but all of our orders are stuck at PSP Pending.

      Searched both forums without much success. Cant seem to relate what the Nochex people are saying to do, and the actinic forum threads seem to end up suggesting that its Nochex (or in most cases Paypal) page problem. Could be coz its 12.30 am, and i have been going at this change-over since 8am this morning......

      There seems to be an awfull amount of mods needed to do something that I would have thought was pretty standard.

      Has anyone else had these problems with Nochex? Surely we cant be the only people using them?

      What else do I need to mod to properly integrate my site with Nochex?

      Pete

      Comment


        #4
        I think what is more fustrating is that it seems that Nochex offer a test to see if their side is working:
        https://www.nochex.com/nochex.dll/apc/testapc

        But searching this forum nobody appears to know what the responder url of an actinic site should be

        pete

        Comment


          #5
          hmmm by viewing the source of the page just before the cart moves to the nochex page i can see:
          <INPUT TYPE=HIDDEN NAME="responderurl" VALUE="http://www.pureskincare.co.uk/cgi-bin/os000001.pl?
          PATH=%2e%2e%2facatalog%2f&SEQUENCE=3&
          ACTION=AUTHORIZE_52&CARTID=84Z68Z102Z97A1154210310B18444&ON=
          MU43QN10000014&TM=0&TO_EMAIL=care@pureskincare.co.uk&
          ACT_POSTPROCESS=1&">

          however when i enter that in the APC test page I get an error.

          Comment


            #6
            hmmm ok had the minimal required sleep and at it again.....

            decided to try http://www.pureskincare.co.uk/cgi-bin/os000001.pl
            as the repsonder URL

            and got:

            A test APC has been sent to: -

            http://www.pureskincare.co.uk/cgi-bin/os000001.pl

            With the following information: -

            transaction_id=36673
            transaction_date=30/07/2006 09:07:20
            order_id=999999
            amount=1.99
            from_email=test1@nochex.com
            to_email=test2@nochex.com
            security_key=21803
            but now I'm not sure where this leaves me.....

            The functionality is there but seemingly only if I use a part of what actinic is trying to use. The full

            Code:
            <INPUT TYPE=HIDDEN NAME="responderurl" VALUE="http://www.pureskincare.co.uk/cgi-bin/os000001.pl?PATH=%2e%2e%2facatalog%2f&SEQUENCE=3&ACTION=AUTHORIZE_52&CARTID=84Z68Z102Z97A1154205384B21485&ON=SS43QN10000015&TM=0&TO_EMAIL=care@pureskincare.co.uk&ACT_POSTPROCESS=1&">
            I still get the error.

            So do I assume that I need to mod the OCCnochexScriptTemplate.pl file so that it generates a responderurl that doesnt have
            Code:
            ?PATH=%2e%2e%2facatalog%2f&SEQUENCE=3&ACTION=AUTHORIZE_52&CARTID=84Z68Z102Z97A1154205384B21485&ON=SS43QN10000015&TM=0&TO_EMAIL=care@pureskincare.co.uk&ACT_POSTPROCESS=1&">
            Seems like a lot of undocumented work considering Nochex and Actinic are meant to be integrated?

            Pete

            Comment


              #7
              Ok I thought I had added this earlier........

              I modified the OCCnochexScriptTemplate.pl file so that the responderurl had the value 'http://www.pureskincare.co.uk/cgi-bin/os000001.pl' by doing:

              AddPostValues ('&', 'responderurl', 'http://www.pureskincare.co.uk/cgi-bin/os000001.pl', $ALWAYS, $NOENCODE);

              but that didnt work either.

              Comment


                #8
                Pete,

                You should not be making any changes to the script files, if you do we will not be able to support it. The only changes you need to make should be in the OCCUpgrade.ini file as I mentioned earlier. The intergration is written to create the responder URL without your intervention.

                As Bill suggested on the other post you started on the same topic, you need to tell them that you are now using Actinic, then all you need to do is to insert the Merchant ID into the 'Payment Service provider configuration' area that appears when you click the 'Configure method' button.

                Kind regards,
                Bruce King
                SellerDeck

                Comment


                  #9
                  Originally posted by Bruce
                  Pete,

                  You should not be making any changes to the script files, if you do we will not be able to support it. The only changes you need to make should be in the OCCUpgrade.ini file as I mentioned earlier. The intergration is written to create the responder URL without your intervention.

                  As Bill suggested on the other post you started on the same topic, you need to tell them that you are now using Actinic, then all you need to do is to insert the Merchant ID into the 'Payment Service provider configuration' area that appears when you click the 'Configure method' button.

                  Kind regards,
                  But the fact is that I have done what Bill suggested and it isnt working.

                  which leaves me trying to work out where the problem lies....

                  the latest is

                  Nochex have replied saying:
                  'I have checked our logs and it appears there is a problem with their
                  responder page. We are attempting to post the data to the url below but
                  there seems to be an error on it as it redirects to an error page :-
                  http://www.pureskincare.co.uk/cgi-bi...POSTPROCESS=1&

                  Can you get them to check their actinic configuration and contact Actinic if
                  the problem persists as our part is functioning correctly. We have many
                  merchants using the same setup whose transactions are working without
                  problems.'
                  Supanames (our host have said):
                  Our engineers have now added 62.105.93.97 which was nochex.com when
                  >> resolved. Please can you try this again and check whether this uses this
                  >> IP address or not. Our engibneers have added firewall rules many many
                  >> times and this is all we need to do on our end in terms of adding to the
                  >> firewall. This is a tried and tested procedure carried out daily and works
                  >> fine as long as your script connects to the resolved IP addresses
                  >> 62.105.93.97 or 62.105.93.102 on port 80.
                  >>
                  >> As we have added the address to the firewall rules we are unable to offer
                  >> any support on scripting/ 3rd party software issues and you will need to
                  >> resolve this through Nochex or Actinic.
                  and then:
                  Server side, we have made all the changes we can regarding your script,
                  unless there is another I.P. address you need our engineers to add for you.

                  There is no other server side reason (unless this script requires SSL in some
                  way, which is not supported by our servers)why this script should not now
                  function I'm afraid, and we recommend you go back to the software vendor
                  and ask them for further guidance.

                  If they give details of any further server side changes you need, we will be
                  happy to look into administer them for you, as long as it is safe for them to
                  be enabled on your server.
                  Actinic have replied saying:
                  Thank you for registering a query.

                  As far as I am aware the Nochex integration doesn't require any responder
                  URL. However the responder url would be like the following:

                  <INPUT TYPE=HIDDEN NAME="responderurl" VALUE="http://yourwebsiteurl.co.uk/cgi-bin/os000001.pl?
                  PATH=%2e%2e%2facatalog%2f&SEQUENCE=3&
                  ACTION=AUTHORIZE_52&CARTID=195Z38Z113Z152A1122638975B21479&
                  ON=AT809880001238&TM=0&TO_EMAIL=sales@qualitysilver.co.uk&
                  ACT_POSTPR
                  OCESS=1&">

                  Also please have a look at the following community thread for more
                  information on this.
                  http://community.actinic.com/showthr...+responder+url

                  I hope this helps.
                  Which leaves me wondering where to go now? Back to ? A different host? Paypal? all three?

                  Its interesting to note that the most helpfull seems to be Supanames who at least say if we can tell them whats needed they will try and do it! They also respond the fastest.

                  Pete

                  Comment


                    #10
                    Pete,

                    First - would you mind editing the post above to introduce some reasonable line breaks into your quotes? I had to scroll at max res 1780.

                    Second - if you have now entered a merchant ID in the configure method with Nochex highlighted, copy the original OCCNochex script template back into place to get rid of all the spurious and unecessary edits you made.

                    THEN, refresh again, and hopefully report success.
                    Bill
                    www.egyptianwonders.co.uk
                    Text directoryWorldwide Actinic(TM) shops
                    BC Ness Solutions Support services, custom software
                    Registered Microsoft™ Partner (ISV)
                    VoIP UK: 0131 208 0605
                    Located: Alexandria, EGYPT

                    Comment


                      #11
                      Originally posted by wjcampbe
                      Pete,

                      First - would you mind editing the post above to introduce some reasonable line breaks into your quotes? I had to scroll at max res 1780.

                      Second - if you have now entered a merchant ID in the configure method with Nochex highlighted, copy the original OCCNochex script template back into place to get rid of all the spurious and unecessary edits you made.

                      THEN, refresh again, and hopefully report success.
                      Sorry I didnt notice the width.

                      Thats a good idea though, maybe I havent put the original code back after trying things.

                      Pete

                      Comment


                        #12
                        Unless Nochex have do something different for a Merchant account vs a Standard account then this should work 'out of the box'. We have Nochex working fine by just adding the PSP as described in the standard documentation without any responder URL.

                        Comment


                          #13
                          Originally posted by Bruce
                          Hi Pete,

                          I would suggest you first check with Nochex if this service is available for use with Actinic. If they confirm, then the correct way to do this would be to change the URL on the OCCUpgrade\OCCUpgrade.ini file.

                          Locate the file and open with notepad

                          Scroll down till you see [OCCProvider:52]

                          This is where defaults for nochex are defined, you will need to change the values for ProviderURL and DBProviderURL
                          Ie.:

                          The same needs to be done with DBProviderURL

                          The version number at the beginning of this file should be incremented by 1, if currently at 1109 increment to 1110. Save the file then update the site and the new URL will be used. Other settings if left as they are within Actinic should pass the required information to Nochex.
                          So if we 'go back' to the original do we set the version number to 1109 or 1111?

                          That could be a stupid question depening on what the version number is used for!

                          Pete

                          Comment


                            #14
                            You always add one (or more) to the existing number - this tells Actinic a change has been made. When you restart Actinic after making this change (with Actinic closed), then a prompt will appear, and when you respond, Actinic will rebuild the OCC data that gets included in the website configuration (have you been missing this step?).
                            Bill
                            www.egyptianwonders.co.uk
                            Text directoryWorldwide Actinic(TM) shops
                            BC Ness Solutions Support services, custom software
                            Registered Microsoft™ Partner (ISV)
                            VoIP UK: 0131 208 0605
                            Located: Alexandria, EGYPT

                            Comment


                              #15
                              Originally posted by wjcampbe
                              Pete,

                              First - would you mind editing the post above to introduce some reasonable line breaks into your quotes? I had to scroll at max res 1780.

                              Second - if you have now entered a merchant ID in the configure method with Nochex highlighted, copy the original OCCNochex script template back into place to get rid of all the spurious and unecessary edits you made.

                              THEN, refresh again, and hopefully report success.
                              I wish I could report success but nope.

                              Took out all the changes to http://secure.nochex.com that Nochex recommended and replaced them with the original https://www.nochex.com/nochex.dd/checkout, took out the
                              AddPostValues ('&', 'logo', 'http://www.pureskincare.co.uk/acatalog/logo1.gif', $ALWAYS, $NOENCODE); neccessary to make the Nochex page look like part of our website.

                              It went through the Nochex part much faster, there has been a huge delay (I was assuming that was while Nochex tried to communicate to the script) but orders still stuck at pending

                              Comment

                              Working...
                              X