#thorpy

1 messages · Page 1 of 1 (latest)

random impBOT
willow belfry
#

I think i may have found the answer, but its from an unofficial source, in that because i am in test mode, the orign will always be USA. Do we have any information to confirm what origin will be? i.e what do i need to code in order to keep orgin accurate to the customer?

bold timber
#

By origin, which field are you referring to? Can you give an example PaymentIntent Id?

willow belfry
#

and when i review the logs and the response body it shows "country: US", that is what i think the origin is working from...i think

bold timber
#

could you paste the card_xxx Id here?

willow belfry
#

the payment id?

#

card_1MF6LGCIU9G0HUD0HE4XsRq6

bold timber
#

Hmm Yes i think that's IP Address of when you make the payment

#

so it's kind of an automatic detection thing

willow belfry
#

ok and as online suggests, isit stating USA because i am in test mode?

#

as my IP is showing as my actual location.. which is accurate

bold timber
#

Hey sorry, I think the origin here is not the IP, apologize. I think it's where the card issuer from, in this case US because the test card 4242 is setup as an US card

willow belfry
#

ah ok, i will test the theory out when i switch to Live mode

#

thanks for your help mate