Announcement

Collapse
No announcement yet.

How can I Intergate Idevaffiliate?

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

    How can I Intergate Idevaffiliate?

    Does anyone know how to integrate the Idevaffiliate software into actinic catalogue v9.

    The idev software needs me to either:

    attach this code to a paypal button.

    <input type="hidden" name="notify_url" value="http://www.notmythewebsite.com/idevaffiliate/paypal_ipn_buynow.php">
    <input type="hidden" name="custom" value="<?PHP echo $_SERVER['REMOTE_ADDR']; ?>">

    The problem i have with this, is the page I assume the button would be on seems to be created on the fly and so is the button. How could I add this code to this created button?

    Or I can put this line on the receipt page. (this seems on the face simpler)

    <img border="0" src="http://www.notmythewebsite/idevaffiliate/sale.php?profile=????&idev_saleamt=XXX&idev_ordernum=XXX" width="1" height="1">

    the xxx need to be replaced by actinic variables for amount and order number.

    I have tried to put it on the receipt page using the design, but I just didn't know how to or what the variables where so it didn't work, I don't know if I had put the code in the right place, and I'm certain the variables where wrong.


    I'm not a programmer, but I can follow instructions.

    So how do I put this code into my actinic site and what are the variables and syntax needed?

    Thankyou for any help you can give.




    *www.notmythewebsite.com replaces my own site so I don't advertise myself
    ???? replaces my affiliatenumber

    #2
    Try:

    TextOrderTotal

    TheOrderNumber

    Comment


      #3
      Originally posted by Arts-fine
      ...Or I can put this line on the receipt page. ...
      This will only work if the custoomer returns to your sitye after paying at Paypal.
      This is the file for the Paypal button:
      Act_OCCPayPalTemplate.html
      you'll find it in the CommonOCC folder, but I'm not sure if it will help you.

      Comment


        #4
        Thank you

        Thanks, the order number comes through perfectly but there is an error with the amount.

        I wondered if it is because also the words &idev_ordernum= are in red in the design window.

        atm the code look like this <img border="0" src="http://www.arts-fine.co.uk/idevaffiliate/sale.php?profile=?????&idev_saleamt=<actinic:variable name="TextOrderTotal" />&idev_ordernum=<actinic:variable name="TheOrderNumber" />" width="1" height="1">


        what have I done wrong? or is it just not the right variable?

        Once again thankyou for the help.

        Comment


          #5
          Thanks for the paypal info I'll give that a try. It seems far better to catch the payment early and not risk missing it after it's gone through.

          Comment


            #6
            You could consider adding to your final checkout page.

            Comment


              #7
              Okay the paypal button thing won't work because the pay pal buttons in actinic are secure (which is a good thing), and the Idev code on the buttons stops it working.

              I still can't find the variable that will give a price in the order possess, also if I put the code on a page before the receipt there is no order number generated only a {00000123456 (sample)}

              Any idea what variable will give the sales total?

              Comment


                #8
                remember that actinic returns an order value in pence so you may need to play with the code to get it working correctly. you could also try putting it on the psp bounce page which has the paypal button on.

                Comment


                  #9
                  also remember that putting it on any page other than the reciept means that an affiliate sale will be registered even if the shopper does not complete the transaction. An easy way for an affiliate to make money without you making a sale IMO

                  Comment


                    #10
                    Idev allows me to manually confirm all Commissions, So any affiliate who's commissions appeared to constantly repeated on themselves with the same ordernumber, I could drop. (you have to assume customers will do that kind of thing now and again)

                    I've been experimenting and replacing the variable with just a straight number. It's still returning an error. So maybe I'm doing something else wrong.

                    thanks for all the help and advice.

                    Comment


                      #11
                      if you look at the google analytics thread it may give you a few ideas as its code uses the same variables. It always takes some playing to get working but I'm sure it will work in the end

                      Comment


                        #12
                        try. Numericordertotal and see if that works. There is a full lost of variables in the help files

                        Comment


                          #13
                          Wahooo!

                          Thanks it finally works but the customer has to return to the receipt page.

                          <img border="0" src="http://www.arts-fine.co.uk/idevaffiliate/sale.php?profile=????&idev_saleamt=<actinic:variable name="NumericOrderTotal" />&idev_ordernum=<actinic:variable name="TheOrderNumber" />" width="1" height="1">

                          Is there anyway to automatically send customers back to that page after they pay?
                          EDIT: looks like there is a way to send them back. What page should I send them to, it seems the receipt page is a cgi. So would just sending them back to the website home page work?

                          *????? replaces my affiliate numbers

                          Comment


                            #14
                            you need to configure your psp to use the receipt page in the psp control panel

                            Comment


                              #15
                              Okay stupid question, what's the address http of the receipt page?

                              (really I am a total noob at this kind of thing, I just have ambitions beyond my talent)

                              Comment

                              Working...
                              X