#bapipanda_39339

1 messages · Page 1 of 1 (latest)

atomic windBOT
sullen walrus
#

Hi, let me help you with this.

ruby egret
#

Hi any one help me to how to change date format MM ,DD,YY to DD,MM,YYYY in payment receipt pdf .. see below mark pdf

sullen walrus
#

Could you please share the PaymentIntent ID pi_xxx?

ruby egret
#

ok
pi_3O3EoaL2fhd8w8tC1FI6eAhT

#

@sullen walrus please check

sullen walrus
#

But you can't freely edit the format

ruby egret
#

OK let me check it

#

can you give example how to set preferred_locales for individual customer

#

@sullen walrus

sullen walrus
#

preferred_locales: ['de'] for example

ruby egret
#

Ok that mean if create any PaymentIntent through this [de] customer then date format will show according to [de] in the payment receipt

#

@sullen walrus am i right?

sullen walrus
#

Yes. I am not sure what locale will give you the exact format you're looking for. I assume you're using "au" so the Oct 20, 2023 is the default.

#

In general I would recommend you to stick to your local format.

ruby egret
#

Ok sure ....
i will try with this format ..

spring girder
#

@sullen walrus which locale options are available? Would would we use "en-au" or something else? Fun fact, in Australia the correct format would be 30 Oct, 2023 and not what you've stated as the default for au

sullen walrus
#

I don't know what's the default for Australia. Formats like en-AU are also supported.

spring girder
#

Great. Thanks

sullen walrus
#

Happy to help.