#Dynamic Amount and Currency specification during one-time payments

1 messages · Page 1 of 1 (latest)

opal jacinth
#

I have a use-case where I need to charge user a one-time amount in a currency of my choice (This currency is derived from their Meta Ads Account Currency). Since this currency may vary from user to user, I need to be able to specify the amount as well as the currency during one-time payment.

How can I do this?

Currently, I can only add the amount dynamically and it takes up the currency from the one-time Product created.

acoustic monolithBOT
# opal jacinth I have a use-case where I need to charge user a one-time amount in a currency of...

You can’t override currency at payment time.

In Dodo:

  • Currency is tied to the Price/Product
  • Dynamic amount ≠ dynamic currency

Workarounds

  • Create one product with multiple prices (one per currency), then:
    • Select the correct price_id based on the user’s Meta Ads currency
  • Or dynamically create a price via API per currency and use it immediately

Not supported

  • Passing currency directly in checkout/session while reusing the same price

If you need fully dynamic pricing per user, the “create price on the fly” approach is the cleanest.