#martin_error
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1313110203046039623
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, let me help you with this.
hi! looks like it wouldn't be expected to get delivered, your livemode Connect endpoint doesn't listen to the checkout.session.completed event type.
oh, didn't realize I missed this
But shouldn't it still be possible to open the event in the workbench?
then I would have seen, that no webhook was sent
well the event lives on the connected account, not your account, maybe that's why it doesn't open there
the customer also lives in the connected account and I was able to open him in workbench, see related events and was able to open all other events except this one
I will send a screenshot, one second
clicking on the other events does load the data
checkout session completed is the only broken one
interesting. Ultimately that'll be because you're doing a test mode API request on an account that you only have a livemode connection to
which is possible when you use OAuth and older accounts, but causes a lot of confusion (e.g. https://docs.stripe.com/connect/webhooks#:~:text=but both live and test webhooks are sent to your production webhook URLs. This is because you can perform both live and test transactions )and I guess workbench can't handle it
technically you're "meant" to create a testmode Express account and do your testing that way, not using testmode access to a live account
you're also not "meant" to do a Direct Charge integration like this (creating Customer/CheckoutSession on the connected account) on Express accounts, due to their lack of a dashboard for refunds/chargebacks, but that's a separate issue
we are aware, that both test and live events are send to the same webhook and filter accordingly. In this case the user, payments and all associated events are in live mode. Also, I cannot find the error code in the linked doc.
Regarding directed charges and express accounts: From our side this is not a problem, because we are handling the support in our offering anyways and use the impersonation feature to access the normal dashboard. Does this have other downsides, we didn't encounter yet?
in this case the user, payments and all associated events are in live mode
ah that's true. Not sure then realy, I'd imagine it's something to do with that maybe or some bug in workbench
the login-as-to-their-dashboard approach is a bit of a grey area (and if that's what you're doing when opening workbench maybe that's part of it) but if it works it works I suppose! Those are main issues anyway, the dispute/refund liability, and also sometimes difficulty getting support from us/getting certain bugs since it's not a flow we're used to seeing, and some more obscure issues like certain settings being used that you can't control when it's an Express account(like if you create a Subscription it uses settings for which PaymentMethodTypes to display that I don't believe you can edit since it requires admin access to the settings , which you can't get with the impersonation thing, and there isn't an API for it yet). Might not be an issue if you know what to expect and you're not using products that have those issues like you're not using Subscriptions