#pedro-churro_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/1305889582557958165
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
It's because the code is setting setup_future_usage: 'on_session' which a ton of PMs don't support: https://docs.stripe.com/payments/payment-methods/payment-method-support#additional-api-supportability
So those PMs are filtered out automatically as they don't meet the criteria of the request. Looks like it's set here: https://github.com/HiEventsDev/Hi.Events/blob/develop/backend/app/Services/Domain/Payment/Stripe/StripePaymentIntentCreationService.php#L69
Hi @weary knoll , thanks for the help!
That make sense. I will contact the Hi.Events developer and extend this question. Thank you
np!
In reality, on_session makes no sense. If anything, they should set it to off_session but then there'll still be certain PMs that are filtered out
It can be set at a per PM level, like cards only for example: https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card-setup_future_usage
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So yeah, maybe advise them of that or they can come here and speak to us for help ๐
Thank you! Is this also why it appears on the checkout screen "By continuing, you allow [company name] to charge future payments from your card in accordance with their terms"? Because this is something that I don't to appear as it is not my intention and I'm afraid it will scare off customers
Yes, exactly