#sam_api

1 messages ¡ Page 1 of 1 (latest)

inner valleyBOT
harsh heartBOT
#

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.

inner valleyBOT
#

👋 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.

spring storm
#

disable Secure 1 checkout
I'm not sure what you're referring to

#

Can you explain more to me?

#

Or share an example?

fallow thunder
#

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"],
spring storm
#

Ah, gotcha. Thanks for clarifying. That's controlled in your dashboard settings.

fallow thunder
#

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"]
    })
spring storm
#

Ah this is for subscriptions, so you might also want to disable this in your billing settings for the invoice payment methods

inner valleyBOT