#piranhadk_24952

1 messages · Page 1 of 1 (latest)

agile quartzBOT
delicate crystal
#

without enabling the "Successful payments" in the customer email settings?
Why don't you want to enable this? Your use-case is exactly what this setting is for

scenic plume
#

Long story short, there are requirements that only invoices get sent a receipts. We have a platform where we charge on a customer level and an organization level. Only the organization is given an invoice and should recieve the recepit. Whereas the customer is charged using the legacy stripe.Charge.create and should not recieve the recepit.

delicate crystal
scenic plume
#

Hmmm gotcha gotcha. I noticed that the last line says "When sending invoices that have already been paid, there will be no reference to the payment in the email.". So even if the customer paid, will the recepit be shown? And will the email still say something along the lines of "Payment required / due"?

delicate crystal
#

Agh that won't work actually

#

You can only send send_invoice invoices

#

So it would work if you only create invoices with that type, but if you do charge_automatically ever it won't work

scenic plume
#

Gotcha, sounds good! Thanks for your help!

Also, real quick (I can create another thread if you want me to), when creating an invoice and customizing the description / "memo", are you able to use a hyperlink? So for example, something like this?

common_params = {'customer': "CUSTOMER_ID",
'collection_method': 'charge_automatically',
"description": "<a href="https://www.google.com">Google!</a>",
}

create_invoice_info = stripe.Invoice.create(**common_params)

delicate crystal
#

Hm I don't think that would work, but recommend you just try it

#

You can try out this in test mode yourself

scenic plume
#

Sounds good. Thanks again for your help!