You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, we have a multi-channel setup, where every channel is connected to a different Stripe accounts with a dedicated payment method.
Orders can transition to Payment settled only on one channel. When trying to pay with another user on another channel, the order remains stuck in Arranging Payment. In the Stripe dashboard it seems a problem of failing webhook, even though API keys and Webhook secrets are registered in the same way for every channel.
On the main channel the plugin can set the payment intents without problems
[StripePlugin] Stripe payment intent id pi_3NSxzoFltThU8k2X1wYxXkhH added to order N6Y2V94WXU7HMBKY
and the weebhook in the Stripe dashboard returns ok.
In the other channels however the webhook request fails, with this response.
Could it be because different Stripe accounts webhooks are registered to the same endpoint https://api.myvendureinstance.com/payments/stripe in the server? 🤔
To Reproduce
Steps to reproduce the behavior:
Install vendure + payments-plugin + stripe
Create two channels
Add the ralative payment methods for each channel (with two diffrent stripe accounts on each payment handler)
setup the webhook on each stripe account
Expected behavior
we should receive payments on each channel/stripe account
Environment (please complete the following information):
@vendure/core version: 2.0.4
Nodejs version 18.16
Database postgres
The text was updated successfully, but these errors were encountered:
Have you also set up separate stripe payment methods within each of your channels? It seems that you’ve created all the stripe payment methods in a single channel, which could be causing the ‘USER_INPUT_ERROR: error.payment-method-not-found’ error message.
I haven't had time to add e2e tests and a fix yet, but I think the problem is on this line, where all payment methods are fetched, and we get the first one which has a Stripe handler configured.
The issue is that it fetches all payment methods, not the payment methods for the given ctx.channel. So in some channels it works, because it accidentally gets the right payment method
Hi, we have a multi-channel setup, where every channel is connected to a different Stripe accounts with a dedicated payment method.
Orders can transition to
Payment settled
only on one channel. When trying to pay with another user on another channel, the order remains stuck inArranging Payment
. In the Stripe dashboard it seems a problem of failing webhook, even though API keys and Webhook secrets are registered in the same way for every channel.On the main channel the plugin can set the payment intents without problems
[StripePlugin] Stripe payment intent id pi_3NSxzoFltThU8k2X1wYxXkhH added to order N6Y2V94WXU7HMBKY
and the weebhook in the Stripe dashboard returns ok.
In the other channels however the webhook request fails, with this response.
Could it be because different Stripe accounts webhooks are registered to the same endpoint
https://api.myvendureinstance.com/payments/stripe
in the server? 🤔To Reproduce
Steps to reproduce the behavior:
Expected behavior
we should receive payments on each channel/stripe account
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: