#benign-gorilla_api

1 messages ¡ Page 1 of 1 (latest)

dapper yachtBOT
#

👋 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/1394987613106208859

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

past glen
#

Can you describe your current flow with code and/or links to APIs you're using?

quaint oasis
past glen
#

I mean that /elements/sessions endpoint is internal/private so you shoudn't be using/relying on that at all

quaint oasis
past glen
#

Sorry, I really don't have the time to read those extensive diagrams

quaint oasis
#

sorry I have just seen your last

past glen
#

Overall I'm super confused about your integration, what exactly it is you're trying to do/build and where the problems lie. Seems like you're using the customer portal which doesn't really make sense I think in your context?

quaint oasis
#

We have a customer portal which allows end users to may payments into there accounts.

#

We gather there payment method data using a stripe elements session

past glen
#

Ah, ok. My bad I interpreted that as Stripe's customer portal

past glen
quaint oasis
#

at the point of the customer confirming they wish to make the payment we create the master record of the payment in our system on our server side and then create the payment intent. the payment intetnt is then passed back to our customer portal so that the customer portal can sent the call to complete the payment intent with the elements session

past glen
#

What is the problem you're having today?

quaint oasis
quaint oasis
past glen
#

OK, let's take a step back. What code do you use in your portal to initialise the Payment Element? Is this done before you create an intent with us?

past glen
quaint oasis
#

Yes the element session is created prior to the payment intent.

quaint oasis