#iainb_code
1 messages ¡ Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- iainb_code, 4 days ago, 23 messages
đ 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/1272943768081010740
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! Are you using the Payment Request Button or the Express Checkout Element on the web?
Ah, that's the Payment Element. Can you link me to the guide you're using to implement that? There are a few different approaches.
Hmmm, we've already implemented it. We have an Elements component with Payment form as a child.
The PaymentElement component has an applePay option containing our recurringPaymentRequest details
where we define the ApplePayLineItems
This is after we call stripe().subscriptions.create
Right, but I need to know how you're initializing the Payment Element. Are you providing it with a client secret from a Payment Intent, or are you using another approach?
Ah ok, standby
We're using loadStripe with the stripePublishableKey
hmmm. hold on.
The Elements component contains a clientSecret
and a "stripe" prop which contains a reference to the loadStripe()
Okay, so when initializing Elements with a client secret the currency from the Intent the client secret belongs to will be used.