#sam_api
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.
- sam_best-practices, 2 days ago, 5 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/1235682368254115881
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
disable Secure 1 checkout
I'm not sure what you're referring to
Can you explain more to me?
Or share an example?
In the payment element component
I will share a pic
the two options above Card Number I dont require. as its default card payment method and i dont offer Link
ok i fixed it just specify this:
payment_method_types: ["card"],
Ah, gotcha. Thanks for clarifying. That's controlled in your dashboard settings.
I changed it in the API call, but I should change it there too I guess thanks
const subscription = await stripe.subscriptions.create({
customer: stripeCustomerId,
items: [
{
price: process.env.STRIPE_PRO_PLAN_API_ID,
},
],
payment_behavior: "default_incomplete",
payment_settings: {
save_default_payment_method: "on_subscription",
payment_method_types: ["card"],
},
expand: ["latest_invoice.payment_intent"]
})
Ah this is for subscriptions, so you might also want to disable this in your billing settings for the invoice payment methods