Announcement

Collapse
No announcement yet.

Realex auto redirect to receipt

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

    Realex auto redirect to receipt

    Hi, just wondering has anyone successfully modified the postrealex.fil script to automatically re direct the "payment successful" page back to to the receipt page ?
    www.satellite.ie

    #2
    +1 from me
    Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

    Comment


      #3
      Here is a solution kindly provided by Kirthi and the development team . I've tested it and it works

      (don't take my word for it though, you should buy something just to test )

      "perl solution

      make a backup copy of PostRealex.fil in {site}\CommonOCC folder
      * edit PostRealex.fil in {site}\CommonOCC folder
      at the bottom of the script you should see


      print <<EOM;

      Thank you - your order (number $orderid) has been accepted

      To view your receipt please click <a href=$receiptUrl>

      <b><u>HERE</u></b></a><br><br>

      EOM





      *replace this with



      print <<EOM;
      <script>parent.location.replace('$receiptUrl');</script>
      <noscript>
      Thank you - payment for your order (number $orderid) has been accepted
      To complete your order and view your receipt please click <a href=$receiptUrl>
      <b><u>HERE</u></b></a><br><br>
      </noscript>
      EOM




      save and update the web site
      test the behaviour after paying by realex
      If JavaScript is enabled then the user should be bounced to the Receipt page otherwise the message will be shown and the buyer will need to click the link.
      I have not been able to test this as our Realex test site is not working for me today. If it doesn't work for the customer they can revert to the backup copy of the file.

      Regards,

      Kirthi

      Technical Support"
      www.satellite.ie

      Comment


        #4
        Thanks for this - I can confirm it works.

        I asked Global Payments about it last week but they said it would need to be a Sellerdeck effort, and so it proved
        Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

        Comment


          #5
          To be fair to realex they did try to come up with a solution but I guess Selleredeck had the greater knowledege unsurprisingly. Glad it worked out for you. Perhaps sellerdeck could update the PSP script for new builds.


          Originally posted by guccij View Post
          Thanks for this - I can confirm it works.

          I asked Global Payments about it last week but they said it would need to be a Sellerdeck effort, and so it proved
          www.satellite.ie

          Comment


            #6
            As we now have a patch which makes Global/Realex compatible with v14.0.1 (yay), it would be lovely if whoever came up with this thread's auto return solution could do the same for the new patch.

            Pretty please
            Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

            Comment


              #7
              We're using SellerDeck v2013 and are just in the process of migrating over to RealEx as our payment gateway.

              Are the instructions listed above (in this post) all we need to do to get RealEx to correctly redirect to our receipt page?

              I've also come across this in the community. Is this relevant or is it just for earlier versions of SellerDeck?

              http://community.sellerdeck.com/show...6&postcount=19

              Would somebody mind advising us as to what we need to do?

              Comment


                #8
                Post 3 in this thread works.
                Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

                Comment


                  #9
                  Thanks Gucci,
                  Do I also need to add my RealEx issued "security key" to the line

                  my $secret = $........

                  too As per the other set of instructions that I quote?

                  Comment


                    #10
                    No. You literally follow the instructions in Kirthi's post shown above.
                    Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

                    Comment


                      #11
                      I have followed the instructions to the letter as advised in earlier posts.
                      This is the response I get from a test purchase using test payment details.

                      Any ideas as to where we are going wrong?
                      Attached Files

                      Comment


                        #12
                        Testing now with 2014 and the auto re direct seems to be working ok using payment method invoice on receipt.

                        Edit: just checked postrealex file and it looks like the fix has not in fact been applied so I will need to apply the patch from above again when we go live.


                        Originally posted by guccij View Post
                        As we now have a patch which makes Global/Realex compatible with v14.0.1 (yay), it would be lovely if whoever came up with this thread's auto return solution could do the same for the new patch.

                        Pretty please
                        www.satellite.ie

                        Comment


                          #13
                          It does work on v14 ...
                          Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

                          Comment


                            #14
                            Thanks, I'm assuming you mean it works without modification ? Perhaps its mofidied by a different method as my postrealex file in the new version is still showing the original (pre fix)

                            "print <<EOM;

                            Thank you - your order (number $orderid) has been accepted

                            To view your receipt please click <a href=$receiptUrl>

                            <b><u>HERE</u></b></a><br><br>

                            EOM

                            Originally posted by guccij View Post
                            It does work on v14 ...
                            www.satellite.ie

                            Comment


                              #15
                              See post #10 in this thread.
                              Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

                              Comment

                              Working...
                              X