#harry_api
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/1397905529548050525
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
hi
yes that's normal, in the latest API version, the Invoice no longer contains a payment_intent property.
instead, you need to do expand => ["latest_invoice.confirmation_secret"] to retrive the client secret
okay
Is that all that I would require for opening stripe elements on frontend usually I send them following
'payment_intent_id' ,
'stripe_client_secret',
'stripe_account_id' ,
'stripe_redirect_url',
'stripe_customer_id'
we are using stripe connect
the Payment Element itself only need the client secret. if you are using Direct Charge, then you should initialize Stripe.js with the connected account ID.
okay great thanks