• Resolved bbceg

    (@bbceg)


    Hello,

    I am exploring the possibility of paying different stripe accounts depending on a store location chosen by my customers before checkout.

    I have successfully managed to direct payment to the relevant Stripe account using wc_stripe_params, wc_stripe_payment_request_params and woocommerce_stripe_request_headers to set the necessary stripe keys and secrets.

    I’m wondering if it is possible to specify the webhook secret programmatically so that I can complete the picture.

    Any pointers in the right direction in terms of hooks etc. would be much appreciated.

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi there,

    Thanks for reaching out.

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.

    I can recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce and the Hooks (Actions/Filters) section in the WooCommerce Stripe’s support documentation.

    You can also visit the WooCommerce Facebook Community group or the #extensions and #developers channels of the WooCommerce Community Slack.

    We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

    Cheers.

    Thread Starter bbceg

    (@bbceg)

    Hi @rainfallnixfig

    Thanks for the swift response. I’ve done quite a lot of digging through the code and various hooks already and wonder if it might need a new hook. I’ll try the other channels and see if that might be possible.

    Hello,

    I am exploring the possibility of paying different stripe accounts depending on a store location chosen by my customers before checkout.

    You can create multiple stripe accounts (in case there are multiple sites as well) under one stripe dashboard. This way you can manage all the accounts under one login.

    To learn more you can refer to Stripe Multiple accounts documentation from stripedocs for more information.

    I’m wondering if it is possible to specify the webhook secret programmatically so that I can complete the picture.

    That would need a custom code workaround, custom code is not fully supported in our forums, I recommend checking out the resources shared earlier by Mirko to point you in the right direction.

    Best.

    Thread Starter bbceg

    (@bbceg)

    Thanks @ihereira

    As alluded to above, I am already successfully submitting payments to multiple stripe accounts, my current issue is that I cannot set the webhook secret and I don’t believe there is provision for this via the existing hooks/filters.

    Nevertheless, I will try the developers in Slack as that’s probably a more appropriate place for this discussion.

    Budimir

    (@budimirdq)

    Hi @bbceg
    Did you managed to find a solution? I have the same issue with no luck resolving it so far.

    Thread Starter bbceg

    (@bbceg)

    Hi @budimirdq

    The decision was made to stick to one account for now so I didn’t get any further. That includes not reaching out to the developers on Slack so you might want to give that a try.

    I’d be very interested to hear how you get on as multiple accounts would still be a better fit for my project.

    Budimir

    (@budimirdq)

    Thanks @bbceg
    Will let you know if I find a solution.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Specifying webhook secret programatically’ is closed to new replies.