Force Shipping and Billing Addresses to be the same?

My customer is using BrainTree on snipcart 2.0. Due to a tremendous amount of fraud, they have had to force shipping and billing addresses to be the same. The error code that comes back when someone enters different addresses is vague and causes confusion “Gateway Rejected: avs”.

Any suggestions on how to solve this? I think acceptable solutions would be:

  1. Force shipping and billing address to be the same.
  2. Customize the error message to be more meaningful.
  3. Add some text on the cart page that tells customers that the addresses must be the same.

Hi @arefsha,

There’s no built-in solution for this, but since the “use this address for shipping” checkbox is selected by default in the v2, you could hide it with CSS.

This will essentially for customers to continue with the same billing and shipping address.

Let me know if that helps,

Cheers!

Thanks for the suggestion! Here’s how I added text on the checkout page using scss

  #snipcart-billingaddress-form{
    .snip-cols{
      position: relative;
      &:before{
        content: 'Credit card zip code and shipping zip code must match.';
        position:absolute;
        z-index: 9999;
        bottom:0;
        left:0px;
        right:0px;
        background:$red;
        color: $white;
        font-size:rem-calc(16);
        padding:rem-calc(5 20);
      }
    }
  }
1 Like

Hi, is this still actual? Or is there other method in V3