#delgesu1745_api

1 messages ¡ Page 1 of 1 (latest)

modern knollBOT
#

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

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

proven hull
#

Hi! For this you'll need to reach out to Adalo directly.

sharp wasp
#

I looked over the stripe documentation and it seems like a checkout session of some sort needs to be created on the server side, so I wanted to see if there was any other ways of captuing card info that would required us to host any server side code.

#

Also, is it possible to just capture payment details that get stored in stripe using a token we send to stripe to add to the customer profile, or do we have to charge the payment form when collecting it?

proven hull
#

Also, is it possible to just capture payment details that get stored in stripe using a token we send to stripe to add to the customer profile, or do we have to charge the payment form when collecting it?

What sort of token would this be?

You can always collect and save the payment method to a customer first and then charge it later: https://docs.stripe.com/payments/save-and-reuse

sharp wasp
proven hull
#

The link I previously provided allows you to save a payment method to a customer with no charge. The link you provided, allows you to save a payment method whil charging a customer.

sharp wasp
#

Gotcha

sharp wasp
#

I know this is beyond the scope of your support role technically, but can the form method you recommended be rendered within this framework? This is an example of an Adalo component setup.

proven hull
sharp wasp
#

Yup, I was looking at this. So can I integrate this piece of the code directly into the index.js file?

#

Instead of using the separate file? In this section:

#

<Elements stripe={stripePromise} options={options}>
<SetupForm />
</Elements>

#

Where the <setupForm/> tag is

proven hull
#

Yeap it's possible.