#peruviansauce_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1252342358205268081
đ Have more to share? Add details, code, screenshots, videos, etc. below.
We're essentially trying to recreate the "Dedicate" functionality of this page - https://shaaretorah.shulcloud.com/payment.php where we would pass this input information into the payment page for us to retrieve later via the API into our platform
Hello, looking in to this. I am not sure if it is possible to have more cusotm fields but I will get back to you
Unfortunately I am not seeing a way to get more than three at the moment. So I think you may need to collect this info outside of your Checkout Session for now unfortunately. If you write in to our support, they can put in a feature request to support more fields but as far as I can tell this is not possible today.
Thanks for checking. We could implement a workaround where we ask these questions prior to checkout and pass them in to the checkout metadata. Is that possible?
Yep, that makes sense as a workaround to me
How do we pass information into the checkout page's metadata?
Sorry, I'm just able to find anything for this online
there is a metadata param on the session create endpoint https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ah, we're using payment links for connect users. I assume we would have to build the checkout page ourselves if we wanted to use this?
My apologies, you can also add metadata to PaymentLinks. I don't know if the metadata automatically gets copied to the Checkout Session though unfortunately.
Also if it helps, you can specify to add the metadata to the payment intent or subscription that the checkout session creates if that would work for your usecase
https://docs.stripe.com/api/payment_links/payment_links/object#payment_link_object-payment_intent_data-metadata
https://docs.stripe.com/api/payment_links/payment_links/object#payment_link_object-subscription_data-metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.