amember_payments table > data field

Discussion in 'Customization & add-ons' started by len_nels1, Feb 10, 2011.

  1. len_nels1

    len_nels1 aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    13
    I need to know when a sale was the result of an affiliate. I believe the data resides in the amember_payments table within the data field.

    I see a string containing AFF_ID in there but don't want to make wrong assumptions about how to use the data? Can someone explain this?

    Thanks.
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    When user will signup through affiliate link, aMember will set amember_members.aff_id field. So all following orders of that user will be assigned to affiliate as well.

Share This Page