#Lucas974

1 messages · Page 1 of 1 (latest)

carmine badgerBOT
prime pollen
#

That is not currently available but is in development

round rapids
#

I already this working

#

how people can use this if it is not yet released

prime pollen
#

It is not generally available. I would ask the person who told you it was available how they got access to it in that case.

round rapids
#

I already use stripe-js checkout, does this mean in my file :

import { loadStripe } from '@stripe/stripe-js';

export default function handlePayment(event){
...
  const stripeLoadedPromise = loadStripe(import.meta.env.VITE_STRIPE_API_KEY);

  stripeLoadedPromise.then(stripe => {
    stripe.redirectToCheckout({
      lineItems:[{
        price: import.meta.env.VITE_STRIPE_PRODUCT_ID,
        quantity: 1
      }],
      mode: "payment",
      successUrl: `${url}`,
      cancelUrl: `${import.meta.env.VITE_URL_ROOT}/`,
      billingAddressCollection: 'required',
    })
    .then(response => {
      console.log(response.error);
    })
    .catch(error => {
      console.log(error);
    });
  });
}
#

I just need to add invoice_creation.enabled to true

#

??

prime pollen
#

That appears to be the case. I haven't tested it yet but will soon

round rapids
#

great!!

#

merci!