• Resolved PoliteShrimp

    (@terminator_5505)


    Lets say I have two WooCommerce installations under the same domain

    https://www.example.com/store/

    https://www.example.com/en/store/

    I’m using the same API key for one stripe account on these two installations. I’ve added two webhooks to my stripe account

    https://www.example.com/store/?wc-api=wc_stripe

    https://www.example.com/en/store/?wc-api=wc_stripe
    Lets say someone made a purchase on https://www.example.com/store/ then will this cause any problem for the other installation https://www.example.com/en/store ?
    I want to know if this is a correct implementation or not ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor royho

    (@royho)

    Unfortunately I don’t have an answer for you here as this is not something we have tried ourselves. I would suggest you test it in test mode to see if it will hit both endpoints.

    Thread Starter PoliteShrimp

    (@terminator_5505)

    It will be difficult to test this on a local server and I don’t want to risk trying on the live website.

    Thomas Shellberg

    (@shellbeezy)

    Automattic Happiness Engineer

    You could use ngrok if you are testing locally: https://ngrok.com/

    Thread Starter PoliteShrimp

    (@terminator_5505)

    I’ve tested multiple webhooks simultaneously on the same stripe account with a local server and ngrok.
    apparently there is no problem in using multiple webhooks for multiple installations on the same account I was able to refund a payment from the dashboard for a specific woocommerce installation without affecting any other order with the same ID number on the other installation.
    Thank you for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multiple webhooks on the same stripe account’ is closed to new replies.