• Resolved Entangled

    (@entangled)


    The other Thread got marked Resolved, when in fact it ain’t resolved …

    Hello,

    OK, I reinstalled the Merchant One Plugin. The fields have changed to:

    Merchantone username
    Merchantone password

    However, when using the Plugin, I am still getting:

    The ccexp field is required REFID:3183223282

    All requires fields on the Order are filled it.

    Well, this is real odd:

    <label for=”authorizeaim-card-expiry”>Expiry (MM/YY) <span class=”required”>*</span></label>
    <input id=”authorizeaim-card-expiry” class=”input-text wc-credit-card-form-card-expiry” type=”text” autocomplete=”off” placeholder=”MM / YY” name=”authorizeaim-card-expiry” maxlength=”7″ />

    The other two fields are fine:

    input id=”merchantonegateway-card-number”
    input id=”merchantonegateway-card-cvc”

    Now where is it getting the authorizeaim-card-expiry from and why aren’t the other two fields changed to match?

    I did have another Authorized.net elimination Plugin running but I have disabled it within Woocommerce … same results.

    I have Deactivated it … and I get:

    input id=”merchantonegateway-card-expiry”

    At least now I got something to research. The other emulation Plugin I am using with the only thing changed is the the LiveURL:

    Authorize.net for WooCommerce 1.2

    Also, is it possible to add a Description field so it shows on the Checkout form?

    Thank you.

    https://wordpress.org/plugins/webmicro-merchantone-woo-addon/

Viewing 15 replies - 1 through 15 (of 30 total)
  • Plugin Author syednazrulhassan

    (@nazrulhassanmca)

    Yes its possible to add description to checkout fields

    Add following code in constructor

    $this->merchantone_description       = $this->get_option( 'merchantone_description');

    add following to form fields array

    'merchantone_description' => array(
    'title' => __( 'Description', 'woocommerce' ),
    'type' => 'textarea',
    'description' => __( 'This controls the description which the user sees during checkout.', 'woocommerce' ),
    'default' => __( 'merchantone_description', 'woocommerce' ),
    'desc_tip'      => true,
    ),

    Add following function to gateway class

    public function get_description() {
             return apply_filters( 'woocommerce_gateway_description',wpautop(wptexturize(trim($this->merchantone_description))), $this->id );
          }

    I dont know why you need to use authoriz.net emulator plugin if your provider is merchantone this is the plugin and it works fine for many people including the original guy who funded to make it release to community later

    Thanks
    Nazrul

    Thread Starter Entangled

    (@entangled)

    Nazrul,

    Thanks for the reply and the code. I’ll check it out.

    I need to use different Gateways along with MerchantOne to provide different payment options.

    I also have a couple of different Bitcoin plugins running. Again, to provide payment options.

    Let me know if you can get this working.

    Thanks again,

    Craig

    Plugin Author syednazrulhassan

    (@nazrulhassanmca)

    Hi Craig,

    Please tell me what help you need from me

    Thanks
    Nazrul

    Thread Starter Entangled

    (@entangled)

    Nazrul,

    Three things:

    1) make the MerchantOne Plugin work with any number of Authorize.net emulation Plugins. It appears that your Plugin is picking up the Expiration Date from another Plugin:

    <input id=”authorizeaim-card-expiry”

    As mentioned, the other two fields are fine:

    The other two fields are fine:

    input id=”merchantonegateway-card-number”
    input id=”merchantonegateway-card-cvc”

    2) Add a Description field so it appears on the Checkout page for the Customer to see and hopefully read.

    3) Make sure the Plugin works with the WooCommerce Advanced Order Numbering Plugin. I ran into an issue with the BitPay Plugin not work correctly with it, and the Developer fixed it.

    The Community would appreciate it.

    Craig

    Thread Starter Entangled

    (@entangled)

    Nazrul,

    What other Authorize.net emulator are you using? Here’s the one I am using:

    Authorize.net for WooCommerce 1.2

    (https://wordpress.org/plugins/os-woocommerce-authorizenet-aim/)

    It also has the Description field which is needed too.

    Thank you,

    Craig

    Plugin Author syednazrulhassan

    (@nazrulhassanmca)

    Hi Craig,

    I am using NMI and EPN emulations and they altogether with merchant one work well

    Nazrul

    Thread Starter Entangled

    (@entangled)

    Install this Plugin:

    Authorize.net for WooCommerce 1.2
    (https://wordpress.org/plugins/os-woocommerce-authorizenet-aim/)

    along with your MerchantOne Plugin, Activate / Enable them both and have your under (after) this one.

    Add something to you Cart and do a Checkout. Enter the CC info, you will get:

    The ccexp field is required REFID:3183223282

    Viewing the Source, you will see

    <input id=”authorizeaim-card-expiry”

    where the other two fields are fine:

    input id=”merchantonegateway-card-number”
    input id=”merchantonegateway-card-cvc”

    So why does the ccexp field say “authorizeaim-card-expiry” yet the other two say “merchantonegateway”?

    Thread Starter Entangled

    (@entangled)

    Doing some “testing”. If I Disable the Authorize.net plugin, I still get:

    <input id=”authorizeaim-card-expiry” class=”input-text wc-credit-card-form-card-expiry” type=”text” maxlength=”7″ name=”authorizeaim-card-expiry” placeholder=”MM / YY” autocomplete=”off”>

    If I Deactivate the Authorize.net plugin, I get:

    <input id=”merchantonegateway-card-expiry” class=”input-text wc-credit-card-form-card-expiry” type=”text” name=”merchantonegateway-card-expiry” placeholder=”MM / YY” autocomplete=”off”>

    Plugin Author syednazrulhassan

    (@nazrulhassanmca)

    It could be an issue with other plugin that you are using or cache related issue i ran all three together as my plugins dont use js so they work fine

    Plugin Author syednazrulhassan

    (@nazrulhassanmca)

    Craig

    Another interesting thing i like to tell you the plugin you listed above (https://wordpress.org/plugins/os-woocommerce-authorizenet-aim/) is not emolution its a AIM gateway for authorize,net and that is based on code from my plugin here (https://wordpress.org/plugins/authorizenet-woocommerce-lightweight-addon/) so they created a new plugin from my source code you can compare codes and find lot of parts similar

    So instead of using that why dont you use my plugin ? you will have to add description fields to each plugin as described above with appropriate codes

    And all of my plugins work well at same time

    Plugin Author syednazrulhassan

    (@nazrulhassanmca)

    Further i found out that the plugin (https://wordpress.org/plugins/os-woocommerce-authorizenet-aim/) you are talking about is changing the default look of all credit card forms provided by woocommerce http://awesomescreenshot.com/08b5xjh899

    to this http://awesomescreenshot.com/0ae5xjhi1a

    I reached up to issue that you were facing but its due to bad ethics followed by another plugin.

    Now Regarding :3) Make sure the Plugin works with the WooCommerce Advanced Order Numbering Plugin.”

    I read the thread that is from (https://wordpress.org/plugins/os-woocommerce-authorizenet-aim/) support forum just to be clear my all plugins have ready support for this

    Regarding description fields you can ask you developer to add it to your gateway code for merchant one

    Thanks

    Thread Starter Entangled

    (@entangled)

    Nazrul,

    OK. I have a couple of Merchant Accounts.

    With MerchantOne, I use your Plugin. For another, I use the Authorize.net Plugin and simple change the URL to point to their Authorize.net emulation server.

    I have no Developer. I am pretty good at hacking code, but, I would prefer that you add the Description field to the MerchantOne code so:

    1) everybody using the Plugin gets the benefit of the Description field
    2) the next time you update the code, I don’t have to worry about stepping on my update

    Can I take your code and simply change the URL to point to another Gateway(s)?

    Let me know what it will take to get further development done on your MerchantOne plugin.

    Craig

    Plugin Author syednazrulhassan

    (@nazrulhassanmca)

    Hi Craig,

    Regarding “simple change the URL to point to their Authorize.net emulation server”

    This doesn’t work on all emulations as all emulations as all emulation have different name value pair they are not identical to Original Authorize.net name value pair and url obviously is different in different gateways

    I have following plugins in emolution mode so i know what i am telling you.

    https://wordpress.org/plugins/webmicro-merchantone-woo-addon/ for Merchant One
    https://wordpress.org/plugins/webmicro-nmi-woo-addon/ for NMI
    https://wordpress.org/plugins/authorizenet-woocommerce-lightweight-addon/ WORKS WITH EPN(E processing Network)

    So i have seen that name values pair are different most of time so changing urls does not work every time

    By changing url of this plugin it will only work with other emolution mode if name value pair are same every time

    I will add the description field but if you like to donate and support community that would be good as we dont earn from plugin.

    Thanks
    Nazrul

    Thread Starter Entangled

    (@entangled)

    Nazrul,

    I have been using this Plugin for another Merchant Account gateway for years:

    Authorize.net for WooCommerce 1.2
    (https://wordpress.org/plugins/os-woocommerce-authorizenet-aim/)w

    It works fine by simply changing the URL to point to their Authorize.net emulation server. Their gateway is a true emulator.

    Your MerchantOne Plugin works fine if I don’t have the above Plugin Activated. Even if I have the above Plugin Disable within Woocommerce, your plugin still does:

    <input id=”authorizeaim-card-expiry”>

    As mentioned, when the above Plugin is Deactivated, your Plugin does:

    <input id=”merchantonegateway-card-expiry” class=”input-text wc-credit-card-form-card-expiry” type=”text” name=”merchantonegateway-card-expiry” placeholder=”MM / YY” autocomplete=”off”>

    So please explain why your Plugin does:

    <input id=”authorizeaim-card-expiry”>

    when the above plugin is Activated?

    Thank you,

    Craig

    Plugin Author syednazrulhassan

    (@nazrulhassanmca)

    No idea on that but there can be other code causing this conflict did you saw any code on my plugin like

    authorizeaim-card-expiry

    or

    authorizeaim

    Buy if you disable(uncheck from woocommerce settings checkout) a gateway there are some issues until you clear cache history and cookies

    However if you deactivate the plugin from plugin lists does it still adds

    <input id="authorizeaim-card-expiry">
Viewing 15 replies - 1 through 15 (of 30 total)

The topic ‘Conflict with another Authorize.net Emulator Plugin …’ is closed to new replies.