Thread: Buyer Info

Results 1 to 2 of 2
  1. #1
    Join Date
    May 2007
    Posts
    95
    Plugin Contributions
    0

    help question Buyer Info

    I need to send buyer info to the payment gateway. Basically just the First name and last name. How can I concatenate these two fields?

    PHP Code:
    zen_draw_hidden_field('first_name'$order->billing['firstname']) .
    zen_draw_hidden_field('last_name'$order->billing['lastname']) . 
    Is this code correct
    PHP Code:
    zen_draw_hidden_field('buyer'$order->billing['firstname']['lastname']) 
    Also how do I include space between first name and last name.

    I have another problem not so important though:
    I wrote a payment module for Eximbay
    In the admin section
    When I install the payment module I see 2 blank input boxes without any heading

    Here is the HTML source:
    [SCR]<td class="infoBoxContent"><b>Enable Exim Module</b><br>Do you want to accept Exim gateway payments?<br><br><input name="configuration[MODULE_PAYMENT_EXIM_STATUS]" value="True" checked="checked" id="true-configuration[module_payment_exim_status]" type="radio">
    <label for="true-configuration[module_payment_exim_status]" class="inputSelect">True</label><br>
    <input name="configuration[MODULE_PAYMENT_EXIM_STATUS]" value="False" id="false-configuration[module_payment_exim_status]" type="radio"> <label for="false-configuration[module_payment_exim_status]" class="inputSelect">False</label><br>
    <b>Payment Zone</b><br>If a zone is selected, only enable this payment method for that zone.<br><select rel="dropdown" name="configuration[MODULE_PAYMENT_EXIM_ZONE]"><option value="0">--none--</option><option value="1">Florida</option><option value="3" selected="selected">Singapore</option></select><br><br>
    <b>Sort order of display.</b><br>Sort order of display. Lowest is displayed first.<br><input name="configuration[MODULE_PAYMENT_EXIM_SORT_ORDER]" value="1" type="text"><br><br>
    <b>Merchant ID</b><br>EXIM Merchant ID<br><input name="configuration[MODULE_PAYMENT_EXIM_MERCHID]" type="text"><br><br>
    <b></b><input name="configuration[MODULE_PAYMENT_EXIM_SUCCESSURL]" type="text">
    <b></b><br><br><input name="configuration[MODULE_PAYMENT_EXIM_FAILURL]" type="text"><br><br><b>Set Order Status</b><br>Set the status of orders made with this payment module to this value<br><select rel="dropdown" name="configuration[MODULE_PAYMENT_EXIM_ORDER_STATUS_ID]"><option value="0">default</option><option value="1">Pending [1]</option><option value="2" selected="selected">Processing [2]</option><option value="3">Delivered [3]</option></select><br></td>[/SCR]

    The code that I highlighted in red is not defined in my configuration TABLE but still I get those values.
    How can i get rid of it. Although it does not create any problems, it would be nice if i could get rid of them

  2. #2
    Join Date
    May 2007
    Posts
    95
    Plugin Contributions
    0

    Default Re: Buyer Info

    Quote Originally Posted by Xaria View Post

    I have another problem not so important though:
    I wrote a payment module for Eximbay
    In the admin section
    When I install the payment module I see 2 blank input boxes without any heading

    Here is the HTML source:
    [scr]<td class="infoBoxContent"><b>Enable Exim Module</b><br>Do you want to accept Exim gateway payments?<br><br><input name="configuration[MODULE_PAYMENT_EXIM_STATUS]" value="True" checked="checked" id="true-configuration[module_payment_exim_status]" type="radio">
    <label for="true-configuration[module_payment_exim_status]" class="inputSelect">True</label><br>
    <input name="configuration[MODULE_PAYMENT_EXIM_STATUS]" value="False" id="false-configuration[module_payment_exim_status]" type="radio"> <label for="false-configuration[module_payment_exim_status]" class="inputSelect">False</label><br>
    <b>Payment Zone</b><br>If a zone is selected, only enable this payment method for that zone.<br><select rel="dropdown" name="configuration[MODULE_PAYMENT_EXIM_ZONE]"><option value="0">--none--</option><option value="1">Florida</option><option value="3" selected="selected">Singapore</option></select><br><br>
    <b>Sort order of display.</b><br>Sort order of display. Lowest is displayed first.<br><input name="configuration[MODULE_PAYMENT_EXIM_SORT_ORDER]" value="1" type="text"><br><br>
    <b>Merchant ID</b><br>EXIM Merchant ID<br><input name="configuration[MODULE_PAYMENT_EXIM_MERCHID]" type="text"><br><br>
    <b></b><input name="configuration[MODULE_PAYMENT_EXIM_SUCCESSURL]" type="text">
    <b></b><br><br><input name="configuration[MODULE_PAYMENT_EXIM_FAILURL]" type="text"><br><br><b>Set Order Status</b><br>Set the status of orders made with this payment module to this value<br><select rel="dropdown" name="configuration[MODULE_PAYMENT_EXIM_ORDER_STATUS_ID]"><option value="0">default</option><option value="1">Pending [1]</option><option value="2" selected="selected">Processing [2]</option><option value="3">Delivered [3]</option></select><br></td>[/scr]

    The code that I highlighted in red is not defined in my configuration TABLE but still I get those values.
    How can i get rid of it. Although it does not create any problems, it would be nice if i could get rid of them
    I figured this part, it was the remove function I was modifying a payment module and forgot to delete those fields from the function.

 

 

Similar Threads

  1. Buyer Request Chargeback!!!
    By cocoholo in forum General Questions
    Replies: 3
    Last Post: 6 Oct 2008, 07:58 AM
  2. Replies: 1
    Last Post: 16 Sep 2008, 07:10 PM
  3. Banning A Buyer
    By farrahscreations in forum General Questions
    Replies: 1
    Last Post: 12 Apr 2008, 06:10 AM
  4. Product configuration by buyer
    By steveh5200 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Jan 2007, 03:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg