#john_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/1266131204269146144
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
Hi, you can start here: https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=stripe-hosted. We share step by step guidelines on both of the integrations you're looking for. If you only want to offer ACH and card payment methods only, you can control that by the Dashboard: https://dashboard.stripe.com/settings/payment_methods. However, we recommend that you use dynamic payment methods to maximize your conversion.
This is for accepting payments.
we just want to collect payment method information for later payments
Gotcha, this doc has examples of saving PMs for future payment methods across all of our major surfaces https://docs.stripe.com/payments/save-and-reuse
"Append the {CHECKOUT_SESSION_ID} template variable to the success_url"
where do I get the 'CHECKOUT_SESSION_ID' from?
is there a sample java application along with client code that can help with this?
{CHECKOUT_SESSION_ID} is actually the exact string you should add to your success URL
So instead of success_url=https://example.com you would pass success_url=https://example.com?session={CHECKOUT_SESSION_ID}
And then when we redirect to you after the checkout session we would replace it so that you would see success_url=https://example.com?session=cs_test_12345