How to use custom API?

1
Hi guys,

I am having trouble finding where I have to place the custom api code in my site.
I want every sale on this page( https://www.cryptodailytrading.com/index.php/en/gunbot/pricing ) to be tracked, but the actually payment doesn't happen on that site.. It happens on a different site named coinpayments. Any way to make this work?

Kind regards
Responses (9)
  • Accepted Answer

    Tuesday, March 27 2018, 03:58 PM - #Permalink
    0
    but.. there's no "return" to your page to update some order status or something like that?
    or the user is just sent to the external site to pay, and that's it?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 27 2018, 04:30 PM - #Permalink
    0
    No..not really. Is that the only way? To have a returning page?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, March 28 2018, 10:09 AM - #Permalink
    0
    well, yes.. otherwise you can't track anything..! if you don't have any kind of "order confirmation" notification that is sent to your website, you have no way of knowing who has purchased something or not...
    do you know what I mean?
    the maximum thing you can do is to track the "button pressed" action, but that's not really a confirmation of someone paying. and that would require custom coding work anyway.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, April 01 2018, 01:17 PM - #Permalink
    0
    Alright, we are adding an after sale page like this to every product:
    https://www.cryptodailytrading.com/index.php/en/?option=com_content&view=article&id=2
    I'm hoping this'll do the trick? If so, any idea on how we can make sure that people don't just keep refreshing that link to get commissions?
    Is there a way to let the page only allow to run once, in case of a sale? Or that Affiliate Tracker only registers 1 sale, per X?
    Thank you for your help!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, April 03 2018, 10:50 AM - #Permalink
    0
    you need some internal check to make sure every sale is unique.
    what you need is a way to return to that page that you create, but with a unique sale ID or something that identifies that unique purchase.
    something like..

    index.php/en/?option=com_content&view=article&id=2&unique=AKBZ786876JDHJFD

    (I'm just making it up, but it would be something like that)
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 05 2018, 11:06 PM - #Permalink
    0
    Germinal Camps wrote:

    you need some internal check to make sure every sale is unique.
    what you need is a way to return to that page that you create, but with a unique sale ID or something that identifies that unique purchase.
    something like..

    index.php/en/?option=com_content&view=article&id=2&unique=AKBZ786876JDHJFD

    (I'm just making it up, but it would be something like that)


    And there is no way to include this in the custom api code? What language is that code?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 05 2018, 11:08 PM - #Permalink
    0
    yes of course, that's the point.
    you can include this in the API call using the "reference_id" field, and simply checking that no conversion has been made with that ID before, that's the purpose of this field.

    but the point is that ID is something that YOUR system needs to generate, not affiliate tracker. Do you understand what I mean? that would usually be the "order ID" in any e-commerce software.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 06 2018, 12:30 AM - #Permalink
    0
    Ah I see, it's much more clear now!
    We use 'coinpayments' for our transactions, and they provide a unique transaction ID each time.
    Any way to fetch this ID from their site and implement them into affiliate tracker?
    Thank you for taking the time to anser my stupid questions, amazing support!
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 06 2018, 10:35 AM - #Permalink
    0
    Hi,

    I get the sensation that you maybe don't fully understand what I'm describing..

    if your payment processor has this unique transaction ID, then you need this to be sent back to your website, to whatever page you will use to track the conversion. if this info is sent back to your website then you can track it with Affiliate Tracker.

    the problem is that you are asking me "Any way to fetch this ID from their site".. this does NOT depend on affiliate tracker, but from their site. it's "they" who are responsible to sending this info back to your website, and this way, affiliate tracker, which is installed in YOUR website, will be able to track it.

    do you understand what I mean?
    The reply is currently minimized Show
Your Reply