• Resolved lilbunny

    (@lilbunny)


    Hello,

    We are using Stripe payments on a donation form, and require first name, last name, email, cc number, exp. date and cvv. We would also like to be able to enable JUST zip code verification for Stripe payments to prevent fraud payment attempts. (We have radar enabled on the stripe account, and the zip code rule enabled.)

    It appears as though the only way to pass on the zip code to Stripe is if the full address is included at checkout, not just the zip code field. When only the zip code is added, it doesn’t get passed on to Stripe.

    Is there any way to modify the Stripe elements fields to ask for zip code? Or to have Stripe pull the zip code from Woocommerce field if that’s the only address line? We’d like to minimize the amount of friction at checkout by not having to include all address fields.

    If it’s not an overly complicated task, I’d be happy to pay for some custom code.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    @lilbunny Most payment gateways require customers to enter a full billing address in order to verify and approve payments. This is part of the fraud prevention measures of most gateways, including Stripe.

    Out of the box, there isn’t a way to stop the plugin from requiring this information. And any attempts to remove those fields from your checkout screen will likely result in transactions failing as –again– Stripe requires that information in order to be able to authorize transactions.

    Thread Starter lilbunny

    (@lilbunny)

    Hi Fernando,

    It sounds like you may not be familiar with Woocommerce plugins and Stripe Elements. We’ve been using Stripe/Woocommerce for years without any failed legitimate transactions using only:

    first/last name
    email
    cc number
    exp. date
    cvv

    If you look at the Stripe Elements example page it shows a setup where ZIP is also added, and NOT the full address. https://stripe.dev/elements-examples/
    (3rd from top, yellow pay button.)

    That is the setup we would like to use, but the woocommerce stripe plugin doesn’t seem to facilitate this setup correctly using the checkout field editor.

    I’m willing to pay a dev with experience to assist with the correct setup noted in the Stripe Elements example.

    https://github.com/stripe/elements-examples/#example-3
    Example 3:
    JavaScript
    CSS
    Example 3 shows a form that uses individual cardNumber, cardExpiry, and cardCvc Elements with a custom web font.
    The form also collects postal code outside of the payment form.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Enable Zip Code Verification Only – not full address’ is closed to new replies.