#joel.cf
1 messages · Page 1 of 1 (latest)
How are you integrating/creating payments?
We're creating the payment intent with a previously created payment method in the frontend
via the javascript sdk
I believe we localise the receipts according the the preferred_locales of the associated Customer object, if there is one
We do not have a customer object in our cases
We're just providing the email in the receipt email field of the payment intent
Then I'm not sure there's a parameter to localise receipts on a per payment basis
I didn't find one in the dev docs
So the way to go would be to create a customer first with a language and then attach the customer to a payment intent instead of the email only?
Yes, exactly. You can drop the receipt_email parameter then as we'd automatically send the receipt to the email field on the Customer object