#delgesu1745_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/1346680434385358869
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! For this you'll need to reach out to Adalo directly.
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?
How do you intend to collect payment method details? Are you planning on using Stripe Checkout (https://docs.stripe.com/payments/checkout) ?
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
The last method you link to looks like what I want to be able to do. Just not sure if I can setup something like this using an Adalo custom component or not. What is the difference between that method and this one: https://docs.stripe.com/payments/checkout/save-during-payment?payment-ui=embedded-form?
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.
Gotcha
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.
You can refer to this guide for React: https://docs.stripe.com/payments/save-and-reuse?client=react#collect-payment-details
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
Yeap it's possible.