#shibainuwow_unexpected

1 messages ¡ Page 1 of 1 (latest)

deft lanternBOT
#

👋 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/1373032982826188921

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

stiff flicker
#

Here's part of the code.

  async init() {
    const stripeInstance = await loadStripe(publicKey);
    if (!stripeInstance) throw new Error("Failed to load Stripe");

    this.stripe = stripeInstance;
    this.elements = this.stripe.elements({
      amount: amountInCents,
      mode: "subscription",
      currency: "usd",
    });
    this.element = this.elements.create("payment", this.paymentElementOptions);

    if (this.$el.firstElementChild) {
      this.element.mount(this.$el.firstElementChild as HTMLElement);
    } else {
      this.element.mount(this.$el);
    }
  },
solid vigil
#

Are you referring to Stripe Link the wallet?

stiff flicker
#

Yes

#

Continued from this thread

#

According to @silk glacier :

Link should be available in subscription mode as well as far as I know
Link supports subscriptions

#

Google wallet/Apple Pay both work in this view. But Link doesn't work in "subscription" mode.

solid vigil
#

Right, Link supports recurring payments, however, this is a deffered payment flow.

#

Can you provide a request or event ID of a successful request that was made where Link was not visible?

stiff flicker
#

Where would I find that?

#

Ah, I see some in the dashboard.

#

Let me quickly run through this and get a fresh request.

#

There are quite a lot of interactions.

#

I guess I'm not sure exactly what you're looking for. A subscription creation request?

solid vigil
#

That should work

#

Or the Payment Method creation request if you're saving them.

stiff flicker
#

Weird, not showing up in the logs.

#

Let me see if I can retrieve that from the subscription page.

#

Would a Payment Method ID work?

solid vigil
#

Yes

stiff flicker
#

Can't find the request ID

#

pm_1RP5rcAihjBw9lSFXMld7Dlr

#

Oh, here's a request ID for the subscription creation I just did: req_nTiXlj7HpgFqt7

#

Sorry, the dashboard wasn't refreshing.

solid vigil
#

No worries. I'm looking into it.

#

This is going to need a deeper investigation, I'm going to trigger a flow that will have our bot send you a DM to create a support ticket. So this can bee looked into further.