#Ιvan

1 messages · Page 1 of 1 (latest)

inner skyBOT
pseudo lantern
#

Hi there!

#

Can you share an example where you see the billing country and an example where you don't? Like by sharing the PaymentIntent ID (pi_xxx).

sweet sluice
#

yes wait

#

I can find it here pi_3MgY1TBvyoQdH1ij0xOp87Cc

#

I can't find it here pi_3Mi0S1BvyoQdH1ij1xnQTlLJ

#

actually i can find it in both but it's not the correct billing country in this one pi_3Mi0S1BvyoQdH1ij1xnQTlLJ

pseudo lantern
#

What do you mean by "it's not the correct biling country"?

sweet sluice
#

it shows as france for example

#

but it is not french it's saudi arabia

#

in that case

#

in the dashboard it shows it correctly

pseudo lantern
#

I'm confused. First you said "it's not correct", and now you are saing "in the dashboard it shows it correctly".
So can yo clarify exactly which part is correct and which part is not correct?

sweet sluice
#

when i am making the request with the api it shows france, on the dashboard it shows saudi arabia

#

I wanted to know if there is a way to get saudi arabia via api

pseudo lantern
#

when i am making the request with the api it shows france,
Where exactly do you see france in the API?

sweet sluice
#

in the charge billing details

#

charge.billing_details.address.country

#

I also tried checking from the invoice details but i can't find it also there

pseudo lantern
sweet sluice
#

I want to know the country used for the automatic tax calculation

#

that would be the address of the customer when he made the payment

pseudo lantern
sweet sluice
#

but if he doesn't have the address anymore or he changed the address I cannot get the address used in that transaction

#

for example

#

how can i get billing address for this one pi_3MQ5YdBvyoQdH1ij1Ugt3hZv

pseudo lantern
#

Give me a few minutes to look into this.

sweet sluice
#

ok i think i found a way to get most billing countries

#

via invoice details

pseudo lantern
#

Great, so is your issue solved?

sweet sluice
#

yeah i just have an issue with two payments

#

I'll do it manually for those

#

ty for your help

pseudo lantern
#

Happy to help 🙂