#sushbat-country

1 messages · Page 1 of 1 (latest)

light harbor
#

is this about the PaymentElement component? let me check but I don't think that can be customised.

dark tangle
#

yes payment-element

#

we have compliance issues, so want to allow payments only from certain countries.. infact allow payments from most of the countries except 2 or 3

light harbor
#

there's not really a way to customise that input, but really the solution I would use is to use our Radar product to set up a block rule to block payments from those countries as it's better than only changing the frontend.

dark tangle
#

ok

#

however the country value doesn't need to match card country, right? because I was able to select a US test card and make payment by selecting india

light harbor
#

it doesn't have to match, no, it's the customer's billing address

#

and it's possible they for example live in Canada and that's where their billing address is, but they are using a card issued from a US bank

#

we ask for the country so we can localise the form correctly(i.e. ask for a postal code in the right format)

dark tangle
#

got it

#

one more question any way we can send reciept_email in test mode. . I have given in paymentIntent object but don't see any emails

light harbor
#

you can use the dashboard to view what the receipts would look like, but we don't send the emails themselves automatically in test mode

dark tangle
#

sure thanks for the info