#gabrielctavares

1 messages · Page 1 of 1 (latest)

rough wrenBOT
cosmic swan
#

Hi! Let me help you with this.

#

Could you please share the doc you're reading?

naive fable
#

"Interested in embedding Checkout?
We are exploring the possibility of embedding Checkout on your website. If you are interested in providing feedback and gaining early access, please contact us."

cosmic swan
naive fable
#
const { error } = await stripe.redirectToCheckout({
      customerEmail: this.autorizacaoController.usuario.email,
      mode: 'subscription',
      lineItems: [{ price: this.priceId, quantity: this.quantity }],
      successUrl: `${window.location.href}/success`,
      cancelUrl: `${window.location.href}/`,
    });

this my code

cosmic swan
#

Yes, please use the Stripe Checkout integration, you will get a Checkout URL and you will need to redirect the customer yourself.

naive fable
#

ok

rough wrenBOT
cosmic swan
#

Happy to help!