• Resolved prototypeix

    (@prototypeix)


    Hello 🙂

    Is there a way I can use a custom currency for the PayPal request? My store uses a credit system and WooCommerce has a custom currency (which is the credits). I have few products you can buy with money and when I configure PayPal, the request is being sent with the currency I use in WooCommerce:

    This is part of the PayPal request.





    "name": "50 Créditos",

    "description": "",

    "unit_amount": {

    "currency_code": "CREDITS",

    "value": 24

    },

    "quantity": 1

    }

    ],

    "amount": {

    "currency_code": "CREDITS",

    "value": 24,

    "breakdown": {

    "item_total": {

    "currency_code": "CREDITS",

    "value": 24

    },

    "shipping": {

    "currency_code": "CREDITS",

    "value": 0

    },

    "tax_total": {

    "currency_code": "CREDITS",

    "value": 0

    },

    My question is if there’s some way I can override the currency code I send to PayPal 🙂

    Thanks 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @prototypeix,

    Thanks for reaching out!

    Our plugin doesn’t include any built-in option/filter to modify the currency sent to PayPal, and customizing this behavior is not supported due to the PayPal API limitations.

    PayPal only supports standard currency codes (like USD, EUR), and custom ones like “CREDITS” aren’t accepted by their API.

    Thanks for understanding.

    Thread Starter prototypeix

    (@prototypeix)

    Is there a way I can modify the plugin to change what is sent to PayPal API to always send as EUR?

    thanks

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @prototypeix,

    Thanks for the follow-up.

    Unfortunately, there’s no built-in way to force the plugin to always send a standard currency like EUR instead. This would require a custom solution beyond the scope of the plugin.

    Let us know if you have any other questions.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom currency’ is closed to new replies.