web interface questions

Discussion in 'Optigold ISP' started by brandonl, Nov 28, 2005.

  1. #1
    These questions have to do with using the web interface. To give more information, i have built a sort of proxy to OG using php and xml parser, so i pass fields to the fmpro using a post instead of using the default html pages that come with OG.

    Most things work fine, but there are some funkiness with the scripts such as customer goes to edit account, and if they enter in a credit card, og switches the payment type to CC automatically. I would like to be able to have a customer enter this information but maybe add a pull down or checkbox with whether to switch the automatica payment type or not.

    Here are the questions I have so far

    1) how do we tell the og script for editing account info to not set the
    payment type to "credit card" automatically if there is a credit card
    number? what field do we pass to the script to tell it "none" or "credit
    card"?

    2) is there a list of fields we can pass to the og scripts so that modifying
    the web interface is easier to manage? Has anyone compiled a list of modifiable fields to be used with the web interface? This would be great since some of the fields are totally wacky for what they correspond to, ie the "address" field might be called "Broadband 1" or something like that.

    3) If a field is left blank, are we suppose to not pass that field to the og
    script(s)? it seems that if a field is blank a space is inserted, so for
    example when someone edits their account and leaves the override email
    address blank, a space is inserted into their account.

    4) when someone makes a 1 time payment, is there a way to tell the script(s) to not save the credit card info into their account and not set the payment type to credit card?
     
    brandonl, Nov 28, 2005 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    You can get at any of the data (you can find a data model under the support section of our website). But beyond that, custom development of a different web interface isn't something supported on our end.
     
    digitalpoint, Nov 28, 2005 IP
  3. brandonl

    brandonl Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    well can you tell me what field i pass to change "billing type"

    can i send "Billing Type" = "None" ? or is it something like "cBilling_Type"?
     
    brandonl, Nov 28, 2005 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    Yes... the field name is Billing Type in the MainMenu.fp5 file. It should be set to one of: None, Credit Card, Bank Debit, Virtual Check
     
    digitalpoint, Nov 28, 2005 IP