• i want to enable/add zip code to check out page for validation of zipcode when user is filling credit card details.iam using authorize.net sandbox account and my sandbox api is not working in authorize.net cim as api for sand box are per-defined.also i am unsure whether it would be right to custom code at our end for enabling zip code coz iam not very expert at it.also iam unable to get triggered admin_notice error code while error in transaction so that i could know what is going on.and how to use avs if iam unable to use my own sandbox api key.so iam very confused and i need assistance for the same?if there is any alternate plugin for authorize.net cim where zipcode feature is enabled,kindly do let me know as our payment gateway is authorize.net only.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Yogesh Kumar Raghav

    (@hitman2019)

    any suggestions?

    Plugin Author cardpaysolutions

    (@cardpaysolutions)

    Hello. Our plugin does takes the zip code from the billing address and submit it with the transaction for AVS.

    Thread Starter Yogesh Kumar Raghav

    (@hitman2019)

    but how to enable that?will you please assist on that coz my sandbox api is not working ?can you please brief a bit like how to achieve that?

    Thread Starter Yogesh Kumar Raghav

    (@hitman2019)

    i like that zip code featured enabled as text box below credit credit cvv no,on this basis order should process if the zip code is valid usa zip code and its details matches with details on customer credit card..this is what i want sir.
    if there is an existing CIM plugin for the same,kindly do let me know

    Plugin Author cardpaysolutions

    (@cardpaysolutions)

    Hello. There is nothing to enable in our plugin for the AVS data to be submitted to Authorize.Net. That happens automatically for every transaction. Our plugin uses one universal sandbox account, so there is no way for you to connect to your own sandbox unless you want to modify the plugin yourself. When you turn sandbox off and connect your own live Authorize.Net account, you can set the AVS accept/reject rules in the Authorize.Net account and the rules will be applied.

    Thread Starter Yogesh Kumar Raghav

    (@hitman2019)

    so i cant get this feature on check out option for credit card like if user want to manually enter zip code and on basis of zip code transaction approves or declines like that????also cant i use my own sandbox credentials in it coz when i tried using my sandbox’s api login & transaction key ,its showing payment gateway error,y so?
    iam manually providing api values in codes instead ur sandbox api credentials but than its not working???

    Plugin Author cardpaysolutions

    (@cardpaysolutions)

    The zip code is part of the billing address on the checkout screen. We won’t be moving that to the credit card section if that is what you are asking. Although, I have been trying to tell you that the functionality that you are asking for is already there. Our plugin submits AVS data from the billing address and when using a live account you can adjust the settings in your Authorize.Net account to accept or reject however you want based on the AVS response.

    The current design of our plugin does not allow you to use your own sandbox account. I apologize if that is causing a problem for you, but we do not plan to change that at this time.

    Thread Starter Yogesh Kumar Raghav

    (@hitman2019)

    may i know one thing?like if i have to use my own sandbox api instead than how cud i implement the same?
    also how you validate customer credit card details so that i could use the same in my own custom code?can you give this much of brief idea?

    Plugin Author cardpaysolutions

    (@cardpaysolutions)

    If you really want to use your own sandbox account, you would have to modify the following file:

    /includes/class-wc-cardpay-authnet-api.php

    You would update the credentials with your own on lines 132, 133, 269, and 270.

    Not sure what you mean about validating customer credit card. We are using the standard WooCommerce payment form and I think they include the jquery.payment library that formats and validates the card data. We do not do any additional validation.

    Thread Starter Yogesh Kumar Raghav

    (@hitman2019)

    sir,
    i already updated the credentials and created a manual field for zip code but iam not sure how to validate zipcode on front end while check out only for usa customers..like if i have to validate that the billing address zipcode is only of usa countries then only checkout will proceed otherwise there would should be an error…this is what i want on front end

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Adding zip code to credit card check out page’ is closed to new replies.