#laurenhawkes_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/1300436550626050048
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Using customer sessions - It seems this DOESNT support customerSessions,
Can you please provide more details about the issue you are facing ?
Seems it instead needs a "ephemeral key" passed with the PaymentIntent in order to display these. But i cannot find on the docs anything related to generating a "ephemeral key" except in the context of "issuing" which is not what I am trying to achieve ( that is physical cards i think?)
Yes, exactly
I dont know where to get this API from
This guide is a good starting point:
https://docs.stripe.com/payments/save-and-reuse?platform=react-native&mobile-ui=payment-element
to get this key
I invite you to follow this guide step by step!
This bit looks like it
Create an Ephemeral Key for the Customer
curl https://api.stripe.com/v1/ephemeral_keys
-u sk_test_51KZFiKC71szeEUpyZmIfvP2ARAHDFPWcDoUTg2Z7IFwTDlK1N8brFCEitZoeTLoHJCTNYwPS1OxAKAbnWYFZeHRw00g8vcAsfO:
-H "Stripe-Version: 2020-08-27"
-X "POST"
-d "customer"="{{CUSTOMER_ID}}" \
Is there a section for ephemeral_key on the API docs?
ie this doesnt exist
https://docs.stripe.com/api/ephemeral_keys
Good point, yes it's not documented...
Ok so i am not missing it ๐คฃ
Yes
ok perfect, thanks!
If not on the API docs, does that also mean that the SDK adapters won't include it also?
No it's included
Ok perfect - thank you ๐
Happy tohelp!