How to query buyer balance

Discussion in 'General PHP' started by charleskay, Nov 6, 2017.

  1. charleskay

    charleskay New Member

    Joined:
    Oct 2, 2017
    Messages:
    5
    Likes Received:
    0
    Hello,
    My site is a buy it now only website. Now I want the buyer to be alerted if they dont have the item amount in their balance before they are able to buy. Now instead of them buying and paying later. Like I would like to check their balance first and if they dont have up to that amount, an error alert would be shown.
    How do I go about it?
     
  2. skyhigh

    skyhigh Member

    Joined:
    Sep 28, 2010
    Messages:
    446
    Likes Received:
    8
    its all coding bit diff but possible
     
  3. nay27uk

    nay27uk Super Moderator Staff Member

    Joined:
    Nov 24, 2009
    Messages:
    5,572
    Likes Received:
    546
    Their account balance is not used for paying for the items that they buy, it is used only to pay you, the site owner, for any fees that you charge and have in place.
     
  4. skyhigh

    skyhigh Member

    Joined:
    Sep 28, 2010
    Messages:
    446
    Likes Received:
    8
    it also used to bid
     
    charleskay likes this.
  5. charleskay

    charleskay New Member

    Joined:
    Oct 2, 2017
    Messages:
    5
    Likes Received:
    0
    Yes, I just discosvered now as I was able to query the balance. Any idea how to make them pay for items using their account balance?
     
  6. skyhigh

    skyhigh Member

    Joined:
    Sep 28, 2010
    Messages:
    446
    Likes Received:
    8
    javascript script to hide the button, if balance is higher than bid price show button if low disable button
     
  7. skyhigh

    skyhigh Member

    Joined:
    Sep 28, 2010
    Messages:
    446
    Likes Received:
    8
    javascript script to hide the button, if balance is higher than bid price show button if low disable button
     

Share This Page