Pages:
Actions
  • #1 by mikethebet on 21 Apr 2018
  • In my notification e-mails, one for winners and one for loser I have the following lines.

    Winner e-mail
    <p class="capitalize"><i>The stake on ["sel_name"] was £[hist_1_amountb].

    Loser e-mail
    <p class="capitalize"><i>The stake on ["sel_name"] was £[hist_1_amountb].

    When I have a winner, it sends
    The stake on selection was £0.
    When I have a loser, it sends
    The stake on selection was £5.

    Or whatever it was, and obviously, it puts the selections name where I have put selection.
    Anybody know why this happens and I don’t get the correct amount for a winner?
    Mike
  • #2 by MarkV on 22 Apr 2018
  • Hi Mike
    hist_1_backa should be the total amount of all back bets in the last settled market
    if the last settled market had no back bets, hist_1_backa would return 0

    try adding these conditions to the emailing trigger, one at a time and test:
    and selections trigger expression hist_count is greater than 0
    and selections trigger expression hist_1_backa is greater than 0 

  • #3 by mikethebet on 22 Apr 2018
  • Cheers
    Will give them a bash
    Mike
Pages:
Actions