#zhi-checkout-paymentintent
1 messages · Page 1 of 1 (latest)
I can give me a few more if needed
they all have the same problem.
can't reverse to find the checkout sessions
you're making the call on the wrong account
the Checkout Session is on a connected account but you're listing on the platform
you're missing the Stripe-Account header https://stripe.com/docs/connect/authentication#authentication-via-the-stripe-account-header
Hi @bright wharf I'm taking over this thread
🙂
The PaymentIntent object doesn't have a attribute for accountID.
Can you tell me what you want to achieve? so that I can advise a solution accordingly.
from the webhook callback, I need to check if the payment intent is coming from checkout session or not
If you are using Connect webhook, you can get the account ID from the webhook event.
{
"id": "evt_undefined",
"livemode": true,
"object": "event",
"type": "customer.created",
** "account": "acct_ABC",**
"pending_webhooks": 2,
"created": 1349654313,
"data": {...}
}