Announcement

Collapse
No announcement yet.

Payment VISA MASTER AMX DISCOVER Priority - MIVA9 using Authorize.net

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Payment VISA MASTER AMX DISCOVER Priority - MIVA9 using Authorize.net

    Hi MIVA members,

    Can any tell me how I can get the default payment to be VISA. It defaults to American Express. 80% of my customers use VISA/MasterCard.

    I would like the order of payment to be VISA, MASTERCARD, AMERICAN EXPRESS, and DISCOVER. This way most of the customers don't have to select VISA, since it will be the default. Anyone know how to do this? Please help.


    Thank you!
    KD

    #2
    Re: Payment VISA MASTER AMX DISCOVER Priority - MIVA9 using Authorize.net

    Here's my code on OSEL. I know it's also on another page but can't remember which. Can someone else chime in?

    Whichever payment option line includes the word CHECKED (in CAPS) becomes the default. You can also change the order by moving the lines around. Note that my list is customized at the end so we can take Purchase Orders but not COD.

    < div class="form_row">
    <br><label for="PaymentMethod" class="bold">Pay With:</label>
    <input type="radio" name="PaymentMethod" value="authnet:AmerExp"> American Express &nbsp;&nbsp;&nbsp;
    <input type="radio" name="PaymentMethod" value="authnet:Discover"> Discover &nbsp;&nbsp;&nbsp;
    <input type="radio" name="PaymentMethod" value="authnet:MasterCard"> MasterCard &nbsp;&nbsp;&nbsp;
    <input type="radio" name="PaymentMethod" value="authnet:Visa" CHECKED> Visa &nbsp;&nbsp;&nbsp;
    <input type="radio" name="PaymentMethod" value="paypalpro:PPAL_OSEL"> PayPal &nbsp;&nbsp;&nbsp;
    <!--<input type="radio" name="PaymentMethod" value="cod:cod"> COD &nbsp;&nbsp;&nbsp;
    <input type="radio" name="PaymentMethod" value="check:check"> Check (or Purchase Order) &nbsp;&nbsp;&nbsp;-->
    <input type="radio" name="PaymentMethod" value="check:check"> Purchase Order (Requires Pre-Approval)&nbsp;&nbsp;&nbsp;

    Last edited by Keitho; 07-13-15, 12:59 PM.
    Keith Oratz
    PrepareSmart, LLC - Emergency Preparedness Supplies and Professional Grade Search and Rescue Gear
    www.preparesmart.com

    Comment


      #3
      Re: Payment VISA MASTER AMX DISCOVER Priority - MIVA9 using Authorize.net

      Thanks for the response. It looks like my OSEL page looks a bit different. Doesn't look like the order matters with this one. Here is the original code. I know Emporium Plus has the option to reorder, but I am trying to do without the module. Any advice or tips? I am on MIVA9 CSSUI.


      <div class="column whole medium-half">
      <p class="h4 fields-heading uppercase">Please Select Your Payment Method</p>
      <mvt:assign name="l.settings:payment:method:image" value="''" />
      <mvt:foreach array="paymentmethods" iterator="method">



      <mvt:if expr="'am' CIN l.settings:method:code OR 'ax' CIN l.settings:method:code OR '003' CIN l.settings:method:code">
      <mvt:assign name="l.settings:payment:method:image" value="'../images/icons/logo_amex.png'" />


      <mvt:elseif expr="'vi' CIN l.settings:method:code OR '001' CIN l.settings:method:code">
      <mvt:assign name="l.settings:payment:method:image" value="'../images/icons/logo_visa.png'" />


      <mvt:elseif expr="'mc' CIN l.settings:method:code OR 'master' CIN l.settings:method:code OR '002' CIN l.settings:method:code">
      <mvt:assign name="l.settings:payment:method:image" value="'../images/icons/logo_mastercard.png'" />


      <mvt:elseif expr="'di' CIN l.settings:method:code OR '004' CIN l.settings:method:code">
      <mvt:assign name="l.settings:payment:method:image" value="'../images/icons/logo_discover.png'" />

      <mvt:elseif expr="'ach' CIN l.settings:method:code OR 'check' CIN l.settings:method:code">
      <mvt:assign name="l.settings:payment:method:image" value="'../images/icons/logo_check.png'" />


      <mvt:elseif expr="'paypal' CIN l.settings:method:code OR 'pp' CIN l.settings:method:code OR 'pal' CIN l.settings:method:code">
      <mvt:assign name="l.settings:payment:method:image" value="'../images/icons/logo_paypal.png'" />
      </mvt:if>




      <div class="column one-fourth payment-method-selectors">
      <mvt:if expr="pos1 EQ 1">
      <label for="l-&mvt:method:name;"><input type="radio" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;" checked="checked" id="l-&mvt:method:name;" /><img src="&mvt:payment:method:image;" alt="&mvt:method:name;" title="&mvt:method:name;" /></label>
      <mvt:else>
      <label for="l-&mvt:method:name;"><input type="radio" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;" id="l-&mvt:method:name;" /><img src="&mvt:payment:method:image;" alt="&mvt:method:name;" title="&mvt:method:name;" /></label>
      </mvt:if>
      </div>
      </mvt:foreach>
      </div>
      </div>

      Comment


        #4
        Re: Payment VISA MASTER AMX DISCOVER Priority - MIVA9 using Authorize.net

        Sorry, but I have nothing more to add. My store was moved up from 5.5 to 9 so you probably have much newer Templates. If you get no additional help here I'd contact Miva support.

        Good hunting!
        Keith Oratz
        PrepareSmart, LLC - Emergency Preparedness Supplies and Professional Grade Search and Rescue Gear
        www.preparesmart.com

        Comment


          #5
          Re: Payment VISA MASTER AMX DISCOVER Priority - MIVA9 using Authorize.net

          Thanks for your help :)

          Comment


            #6
            Re: Payment VISA MASTER AMX DISCOVER Priority - MIVA9 using Authorize.net

            Hi,

            If you have not been able to get the solution yet, you can try out with this method,

            Your current code section which looks like this:
            Code:
            <div class="column one-fourth payment-method-selectors">
                <mvt:if expr="pos1 EQ 1">
                    <label for="l-&mvt:method:name;"><input  type="radio" name="PaymentMethod"  value="&mvte:method:module;:&mvte:method:code;"  checked="checked" id="l-&mvt:method:name;" /><img  src="&mvt:payment:method:image;" alt="&mvt:method:name;"  title="&mvt:method:name;" /></label>
                <mvt:else>
                    <label for="l-&mvt:method:name;"><input  type="radio" name="PaymentMethod"  value="&mvte:method:module;:&mvte:method:code;"  id="l-&mvt:method:name;" /><img  src="&mvt:payment:method:image;" alt="&mvt:method:name;"  title="&mvt:method:name;" /></label>
                </mvt:if>
            </div>
            Needs to be updated, so it looks like this :
            Code:
            <div class="column one-fourth payment-method-selectors">
                <mvt:if expr="'vi' CIN l.settings:method:code OR '001' CIN l.settings:method:code">
                    <label for="l-&mvt:method:name;"><input  type="radio" name="PaymentMethod"  value="&mvte:method:module;:&mvte:method:code;"  checked="checked" id="l-&mvt:method:name;" /><img  src="&mvt:payment:method:image;" alt="&mvt:method:name;"  title="&mvt:method:name;" /></label>
                <mvt:else>
                    <label for="l-&mvt:method:name;"><input  type="radio" name="PaymentMethod"  value="&mvte:method:module;:&mvte:method:code;"  id="l-&mvt:method:name;" /><img  src="&mvt:payment:method:image;" alt="&mvt:method:name;"  title="&mvt:method:name;" /></label>
                </mvt:if>
            </div>
            This way, you'll have the Visa selected by-default. However, if you want to achieve the EXACT ordering as you mentioned above, this is gonna take a bit more effort than this. You'll have to re-organize the whole "paymentmethods" array yourself before rendering begins.
            Rajnish Sinha
            ---------------------
            https://twitter.com/rajnishsi

            Comment


              #7
              Re: Payment VISA MASTER AMX DISCOVER Priority - MIVA9 using Authorize.net

              Thank you rajnishsi. The VISA default is much better.

              Comment


                #8
                Re: Payment VISA MASTER AMX DISCOVER Priority - MIVA9 using Authorize.net

                Thank you rajnishsi and howsimple. This was a nice way to make Visa the default and help solve an issue with Check payment being the default in our store which was causing issues for people during checkout. (ftr: using Suivant Ready theme)
                Kristin Park

                Comment


                  #9
                  Re: Payment VISA MASTER AMX DISCOVER Priority - MIVA9 using Authorize.net

                  You are welcome :)

                  Comment

                  Working...
                  X