#Rav3n - Invoice Emails

1 messages ยท Page 1 of 1 (latest)

pseudo pine
#

Hello! How can we help?

rustic juniper
#

Is it possible to add the "receipt_email" to an existing API key?

pseudo pine
#

What do you mean by add it to an "API key"?

#

receipt_email is a property you pass when making a request to the Stripe API to create or update a Payment Intent, it's not something associated with an API key.

rustic juniper
#

I've come in on the end of a project and only have a Key shown.

#

I have access to the Stripe account, but cant see how to add that "receipt_email" as a property.

pseudo pine
#

You should never share your secret key, even parts of it, with anyone.

#

Especially not in public.

rustic juniper
#

Apologies - thank you

pseudo pine
#

So do you have access to the code that's creating the Payment Intents?

rustic juniper
#

no, not sure where to begin really.

the tech that would have written these has left the company.
and I cant find the original code on stipe site, assumed it was created offline?

pseudo pine
#

The code would be on your end, in your server-side code. Do you have access to the code for your Stripe integration?

rustic juniper
#

Where should I be seeing this?

pseudo pine
#

Are you a developer?

rustic juniper
#

No, sys admin - then dev has left company.

raw geode
#

๐Ÿ‘‹ I'm just hopping in for @pseudo pine since they had to go

#

Let's back up for a second here - do you have an example of an Invoice that wasn't successfully sent to a customer?

rustic juniper
#

Yes, but receipt history showing

raw geode
#

Can you share the Invoice ID you're looking at?

rustic juniper
#

card_1Juy2sFdu4sLQAv7d8w57uEd

#

So I assume I need to create/modify the PaymentIntent as its missing the optional "email" field

raw geode
#

Okay, so whatever code your dev wrote is not passing us a receipt_email (see https://stripe.com/docs/api/charges/create#create_charge-receipt_email) when the Charge is created, so we have no way of knowing where to send to send the receipt. You need to find your code thats creating these Charges and make sure you're correct setting receipt_email

rustic juniper
#

Where do I find that code?

raw geode
#

That's not something I can answer since I have no idea how you've integrated with Stripe - in an ideal world, your dev would've left instructions on where to find this, and if no one that is currently at your company is able to find it you'll need to hire someone that would be able to help you find it

rustic juniper
#

Okay - Can I grab details of external support please?

#

ill get a few quotes organised before informing my team lead.

raw geode
#

What do you mean by details of external support? If you're referring to hiring developers who could help you, that would be something you'd have to search for - places like Upwork would be a good place to start

rustic juniper
#

Sorry, I meant is there a preferred list of freelancers?

#

would need Australian based

raw geode
#

We don't have a list of preferred freelancers (we usually don't give recommendations for specific third-parties)

#

It would be up to you to do the research based on your requirements ๐Ÿ‘

rustic juniper
#

Okay thanks for your time Karbi.
hopefully I can find the code - if not, third party it is.

#

Cheers.