New in Chargebee: Explore Reveal and understand your payment performance end-to-end.Try Now
Docschargebee docs
HomeBillingPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Payment Methods


  • Payment Methods Overview
  • Cards
  • Direct Debit
  • Bank Based Payments
  • Wallets
  • Vouchers
  • Articles and FAQ

Payment Gateways and Configuration


  • Payment Gateways Overview
  • Chargebee Test Gateway
  • Stripe
  • PayPal Payment Services
  • Chargebee Pay
  • Adyen
  • Authorize.net
  • Bambora (formerly Beanstream)
  • Bank of America
  • BluePay
  • BlueSnap
  • Braintree
  • Checkout.com
  • CyberSource
  • dLocal
  • EBANX
  • Ecentric
  • Elavon
  • E-xact Direct Integration
  • eWay Rapid
  • Global Payments
  • GoCardless
  • J.P. Morgan Mobility Payment Solutions
  • Metrics Global
  • Mollie
  • Moneris
  • Network Merchants Incorporated (NMI)
  • Nuvei
  • Orbital (Chase Paymentech)
  • Pay.com
  • Paymill
  • Paystack
  • Pin Payments
  • QuickBooks Payments
  • Razorpay
  • Sage Pay
  • Solidgate
  • Tempus
  • Twikey
  • Windcave
  • Worldline Online Payments(formerly Ingenico)
  • Worldpay
  • Articles and FAQ

Level 2/3 Data Support


  • Level 2/3 Data Support

Payment Optimization Engine


  • Overview
  • Defaults
  • Advanced Setup
  • Payment Method Display Rules
  • Verification Rules
  • Routing Rules

Dunning


  • Dunning
  • Articles and FAQ

Offline Checkout


  • Offline Checkout
  • Articles and FAQ

Transaction Sync & Invoice Mapping


  • Transaction Sync and Invoice Mapping

Fraud Management


  • Fraud Management

Error Handling


  • Errors with Root Cause and Troubleshooting

Payment Lifecycle Logs


  • Payment Intents
  • Transactions
  • Gateway Activity Logs
  • Gateway Webhook Logs
  • Articles and FAQ

Others


  • Reach (Merchant of Record)
  • Bulk Deletion of Payment Methods
  • Custom Payment Methods
  • Payment Initiator Parameter
  • PSD2 and Strong Customer Authentication
  • RBI e-Mandate
  • RBI Tokenization Regulations
  • Chargeback Management
  • Transaction Descriptors
  • Payment Preferences
  • Visa Trial Rules
  • Mastercard Trial Rules
  • Co-badged Card Compliance
  • Articles and FAQ
  1. Payments
  2. Payment Gateways and Configuration
  3. Articles and FAQ
  4. PayPal
  1. Payments
  2. Payment Gateways and Configuration
  3. Articles and FAQ
  4. PayPal

PayPal SDK Validation Error: 'Invalid query value for currency'

Problem Statement

When using PayPal as a payment method via Chargebee Payment Components or Chargebee Checkout, you may encounter the following error for certain currencies:

SDK Validation error: 'Invalid query value for currency: <CURRENCY_CODE>'

For example, merchants attempting to accept payments in TRY (Turkish Lira) will see:

SDK Validation error: 'Invalid query value for currency: TRY'

Solution

This error occurs because PayPal does not support all currencies. The PayPal SDK rejects the transaction at the client level before it even reaches PayPal's servers when the currency is not on its supported list.

TRY (Turkish Lira) is not supported by PayPal. This is a PayPal platform limitation and cannot be resolved from the Chargebee side.

How to fix this

  1. Check PayPal's supported currencies: Refer to PayPal's supported currencies documentation to verify which currencies are accepted.

  2. Use a supported currency: Configure your Chargebee site or checkout to use a currency that PayPal supports (e.g., USD, EUR, GBP).

  3. Use a different payment gateway for unsupported currencies: If your business requires collecting payments in a currency PayPal does not support, configure a different payment gateway in Chargebee for that currency using Smart Routing.

Note

This limitation applies to PayPal when used via Chargebee Payment Components, Chargebee Hosted Pages, and API-based integrations.

Related Articles

Error 10755 - This transaction cannot be processed due to an unsupported currency. What's going on?
Where can I find error codes and error messages on PayPal?
What are the Paypal Payment services available in Chargebee?
An error occurred while redirecting to PayPal

Was this article helpful?