#bulbasaur_api

1 messages ยท Page 1 of 1 (latest)

red flickerBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1410608326139449427

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

rocky carbon
#

๐Ÿ‘‹ happy to help

#

would you mind elaborating a bit, I'm not sure I have the full context

#

are you using Adaptive pricing?

main sorrel
#

I didn't opt into anything specifically

rocky carbon
#

this is only related to Adaptive pricing

#

and Checkout

#

if you're not using both then you can disregard

main sorrel
#

I'm using Checkout

#

currently hosted checkout, migrating to elements

#

but it seems, from what this is saying, that this is an api-level change to accomodate adaptive pricing, but not only applied to "adaptive pricing" customers or whatever?

#

Like I said, I checked my payment_intents table I've got locally and not a single payment has currency which isn't USD since May 2025, whereas before then it was quite regular

rocky carbon
#

then you are using Adaptive Pricing

#

I'm a bit confused

#

are you or aren't you using Adaptive Pricing?

main sorrel
#

I didn't opt into anything

#

how do I know if I am? ๐Ÿ˜„

#

I didn't know what adaptive pricing was until a few minutes ago

rocky carbon
#

Adaptive Pricing means that you offer your customers to pay in currencies other than the one you set by default (in your case usd)

#

would you mind sharing one of the old PIs where the currency is different than USD?

main sorrel
#

sure

#

pi_3RAZ8CJMweHcHQ3L1A5eCT6k

red flickerBOT
main sorrel
#

so any payment after May 2025 should have no "risk" of being another currency regardless, because if I turned adaptive pricing off it would just mean that I couldn't accept foreign currencies in the first place

rocky carbon
main sorrel
#

Ok, yeah it is enabled

#

So, just to double check, is what I said above correct?

so any payment after May 2025 should have no "risk" of being another currency regardless, because if I turned adaptive pricing off it would just mean that I couldn't accept foreign currencies in the first place

#

this is the main thing I want to confirm, whether or not I "can" remove my currency conversion code or not

rocky carbon
main sorrel
#

sorry, just for internal book keeping effectively, I was driling from the subscription -> balance transaction

#

which has some annoying edge cases

#

so I'd like to remove it if possible

rocky carbon
#

but the idea is that regardless of what currency the customer pays in the details on the checkout session would be in usd

main sorrel
#

ok right

rocky carbon
#

and then the real currency used for payment would be shared in the presentment_details

main sorrel
#

and does that apply to other entities like payment_intent / charge? Empirically, it seems to, but I didn't see any documentation about it.

golden plover
#

Hi, taking over as my teammate needs to step away. Let me catch up.

#

The adaptive pricing, in this case 'eur' would be the currency for the PaymentIntent, pi_3RAZ8CJMweHcHQ3L1A5eCT6k and the charge, ch_3RAZ8CJMweHcHQ3L1r40JkIL

main sorrel
golden plover
#

Do you have an example payment after May?

#

I need an example to confirm

main sorrel
#

I'll see if I can find one with presentment currency eur

golden plover
#

If you're saying you've turned off adaptive pricing, then it would not matter. It would be the currency from the price you passed.

main sorrel
golden plover