• Resolved amitramani

    (@amitramani)


    Hello
    I apologize in addition for this newbie question. I am receiving a lot of fraudulent transactions.

    When I contacted Stripe, I was told that I am not sending the Address Information. How do I enable that the Billing and Shipping Address be sent in to Stripe (to be used for AVS verification)?

    I did not see any setting under WooCommerce->Settings->Checkout->Stripe to send this information.

Viewing 11 replies - 1 through 11 (of 11 total)
  • akibasoul

    (@akibasoul)

    I’m not with Stripe BUT I have encountered your issue and have a fix! Under the Stripe settings, you need to disable Enable Stripe Checkout. Stripe Checkout doesn’t send that billing and shipping address over to Stripe.

    Thread Starter amitramani

    (@amitramani)

    @akibasoul
    Thank you for your response. I will try disabling Stripe Checkout and test to see if the Billing and Shipping address will be sent to Stripe!
    Thanks for that tip.

    Thomas Shellberg

    (@shellbeezy)

    Automattic Happiness Engineer

    I believe the billing address should still be sent to Stripe with Stripe Checkout enabled, but did you get any different result with Stripe Checkout disabled?

    Thread Starter amitramani

    (@amitramani)

    Hi @shellbeezy
    I have checked the logs from Stripe and I do not see the Billing or Shipping Address being sent in the POST request.
    I am still waiting for a transaction to occur after I disabled Stripe Checkout (yesterday). I will let you know what I find.

    Any other ideas? I can send you a log for further examination.

    Plugin Contributor royho

    (@royho)

    If you want to use Stripe Checkout and still want to pass the billing address to Stripe you can however that would mean the customer has to enter the address again within the modal popup. Because this can cause bad experience for the customer ( possible cart abandonment ), we opted to not pass the address by default. But as I stated “you can” but with a filter. Add the following to your child theme’s functions.php file add_filter( 'wc_stripe_checkout_require_billing_address', '__return_true' );

    Thread Starter amitramani

    (@amitramani)

    After I disabled Stripe Checkout, I did not receive any transactions. I had to enable Stripe Checkout again.

    I verified that once the Stripe Checkout is enabled, Billing or Shipping Address is not sent to Stripe.

    @royho any ideas why the transactions were failing once I disabled Stripe Checkout? I do not want to require the user to re-enter the Address.

    Are there any debug logs that I can enable/view to see why it might be failing?

    Plugin Contributor royho

    (@royho)

    @amitramani – hard to tell without any error messages. But try it in test mode with test API key/secret and see what you get.

    Thread Starter amitramani

    (@amitramani)

    @royho, do I have to set my Stripe account in test mode as well or just use the plugin settings to enable Test mode?

    Plugin Contributor royho

    (@royho)

    @amitramani the Stripe account needs to be in test mode as well.

    Sorry,

    Pretty old topic,

    but I’m also looking to get the shipping address into stripe. Where exactly should the data appears in the stripe dashboard? I don’t see it.

    Thanks,

    Hi Royho,

    Your filter:

    “add_filter( ‘wc_stripe_checkout_require_billing_address’, ‘__return_true’ );” worked very well for me.

    Would you know how to make it ask for just the zip code?

    thanks in advance

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How do I send Billing and Shipping Address to Stripe?’ is closed to new replies.