#kilian_unexpected
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/1265675648115146753
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello, what Stripe surface to you take payments with? Checkout? Elements? Invoices? etc.
PaymentElement from @stripe/react-stripe-js
We are using SetupIntents as well (mode: setup)
Gotcha, and are you creating the Payment Element first or the SetupIntent first?
Can you send me either your code for SetupIntent creation or your code for initiating the Payment Element, whichever comes first in your process?
Payment Element gets created first, its submit function then reates the SetupIntent
<Elements
stripe={stripePromise}
options={{
mode: 'setup',
currency: 'eur',
locale: 'de',
appearance: {
theme: 'flat',
rules: {
'.Input': {
backgroundColor: '#fff',
border: '0.5px solid #e0e0e0',
boxShadow: '0px 0px 29px rgba(0, 0, 0, 0.05)',
borderRadius: '50vh',
lineHeight: '60px',
padding: '0 15px',
fontSize: '18px',
},
},
},
}}>
<CheckoutForm />
</Elements>
Gotcha, and by activated, you mean that we show "Active" on this page specifically in live mode? https://dashboard.stripe.com/test/settings/payment_methods
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Correct (German but Aktiv => Active)
Can you send me the ID of a SetupIntent that you created? (si_1234)
I am not immediately sure what this could be but I have an idea of how to look in to it
There is no SI yet, it gets created when the user confirms the PaymentElement.
Since the Element never shows PayPal, that can't happen
Right, that was more of a way that I could get to your account logs from just before it. If you can send me your account ID I can take a look that way (acct_1234)
acct_1LuCsZCtMhNtiuzX Should be the correct one
Thank you
Ah, it looks like PayPal doesn't support setup_future_usage=off_session which is implied by setup mode here.
If you expand that paypal setting in your dashboard, do you see a recurring payments setting that you can turn on? I think it may only be visible in live mode
It is set to off. Should it be activated for off_session?
Okay, it is now Pending Confirmation. I assume that is on PayPal's Settings page?
From our doc it sounds like that is a thing you have to wait on. I do think having requested it should be sufficient for it to show up in test mode. Can you try again and see what happens?
https://docs.stripe.com/payments/paypal/set-up-future-payments
PayPal always showed up in Test Mode, the PayPal Test Mode settings page didn't even want an account
Whoops right. I am honestly not sure if there is a way to speed this up in prod for you. If you reach out to our support team they may be able to help you or at least confirm that it should activate after some wait time https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.