#Ninja man

1 messages · Page 1 of 1 (latest)

high crestBOT
hybrid zinc
#

Hi there

#

If you can provide an example that'd be great

#

Happy to look

compact ledge
#

what do you need

hybrid zinc
#

An example PaymentIntent ID would be good

#

Or a Checkout Session ID

compact ledge
#

"payment_intent": "pi_3MZcNAJRvug0th0T0tJ8eTQT",

#

Also, you will prob say everything looks fine. But no invoice ever is being sent. I have tried to buy my self too. I can setup a $1 test product for you to buy too

hybrid zinc
#

Let me look

#

Give me a sec

#

So the issue is your settings

#

You need to enable the Email customers about successful payments Dashboard setting to have Stripe send invoice summary emails to your customers. You can prevent Stripe from sending these emails by disabling the setting.

#

That setting is off in your account right now

compact ledge
#

are you sure? im pretty sure i enabled everything, but where can i find this specifc setting?

hybrid zinc
compact ledge
#

ahhh this one?

hybrid zinc
#

Yep

compact ledge
#

im 99% i turned that on before, very very very weird

#

I think i had it on for a while and it never worked so i turned it off. Maybe cause of this?

hybrid zinc
#

Yeah that doesn't apply for post payment invoices

#

You need that setting on

#

Otherwise you send the invoices yourself

compact ledge
#

So if i have Succesful payments turned on now, and this is my checkout session, will everything work?:

        const session = await stripe.checkout.sessions.create({
          line_items: [
            {
              price: lineItem,
              quantity: 1,
            },
          ],
          mode: "payment",
          automatic_tax: {
            enabled: true,
          },
          invoice_creation: { enabled: true },
          allow_promotion_codes: true,
          success_url: `${BASE_URL}/purchase-success`,
          cancel_url: `${BASE_URL}/checkout/`,
        })
hybrid zinc
#

Yep it looks good to me

compact ledge
#

ah jesus now i noticed... when i turned it on and refreshed the page, it was disabled again. Cause i never pressed the save button which i never did before either haha... Damn i think the UX could be better there actually, it's quite hidden down there

hybrid zinc
#

Ah yeah that's a good callout