#venu_error

1 messages ยท Page 1 of 1 (latest)

dim ingotBOT
reef garnetBOT
#

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.

dim ingotBOT
#

๐Ÿ‘‹ 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/1234728477739978855

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

reef garnetBOT
frosty pine
#

Can you share your code of your integration?

cold sedge
#

<ion-content>
<form id="payment-form" >

<div id="express-checkout-element">
</div>

<br />
<div id="payment-element" class="field">
</div>

<div id="error-message">
</div>
<button id="submit"(click)="validateCard()">
  <div class="spinner hidden" id="spinner"></div>
  <span id="button-text" >Pay now</span>
</button>

</form>
</ion-content>

frosty pine
#

Where did you see this integration from?

    const elements = this.stripe.elements(
      { clientSecret: this.clientSecret }
    );

I'd recommend ensuring one Element works before moving on to the next one.

#

Only when you get one element type to work, you'd then integrate with another

cold sedge
#

I'm refer same doc
this.stripe.confirmPayment({
elements: this.stripe.elements(
{ clientSecret: this.clientSecret }
),
confirmParams: {
return_url: 'https://example.com/return',
}
})
I have also tried this code

#

and when pass mount element from paymentElement() then error show in validateCard() confirmPaymentMethod

frosty pine
#
    const elements = this.stripe.elements(
      { clientSecret: this.clientSecret }
    );

Where did you see this from? Can you share the integration doc that you're following?

#

The elements in your code is a local variable. I'd recommend checking the quickstart guide here for Payment Element integration: https://docs.stripe.com/payments/quickstart?lang=node

Learn how to embed a custom Stripe payment form in your website or application. Build a checkout form with Elements to complete a payment using various payment methods.

cold sedge