purchases-ios icon indicating copy to clipboard operation
purchases-ios copied to clipboard

Turkish currency appears wrong when {{ product.currency_symbol }} is used in Paywall v2

Open rocxteady opened this issue 10 months ago • 1 comments

Describe the bug Turkish currency appears wrong when {{ product.currency_symbol }} is used in Paywall v2. It does not seem as "₺". It appears as some weird icon. It might be an encoding issue. See the attachment.

  1. Environment
    1. Platform: iOS
    2. SDK version: 5.17.0
    3. StoreKit version:
      • [ ] StoreKit 1 (default on versions <5.0.0. Can be enabled in versions >=5.0.0 with .with(storeKitVersion: .storeKit1))
      • [x] StoreKit 2 (default on versions >=5.0.0)
    4. OS version: 18.3.1
    5. Xcode version: 16.2
    6. Device and/or simulator:
      • [x] Device
      • [x] Simulator
    7. Environment:
      • [x] Sandbox
      • [ ] TestFlight
      • [ ] Production
    8. How widespread is the issue. Percentage of devices affected.
      • 100%
  2. Debug logs that reproduce the issue. Complete logs with Purchases.logLevel = .verbose will help us debug this issue.
DEBUG: ℹ️ Configuring SDK using RevenueCat's UserDefaults suite.
DEBUG: 👤 Identifying App User ID
DEBUG: ℹ️ Debug logging enabled
DEBUG: ℹ️ SDK Version - 5.17.0
DEBUG: ℹ️ Bundle ID - com.ulassancak.lenora.apple.preview
DEBUG: ℹ️ System Version - Version 18.2 (Build 22C150)
DEBUG: ℹ️ Using a simulator. Ensure you have a StoreKit Config file set up before trying to fetch products or make purchases.
See https://errors.rev.cat/testing-in-simulator for more details.
DEBUG: 👤 No initial App User ID
DEBUG: ℹ️ Purchases is configured with informational response verification
DEBUG: ℹ️ Observing StoreKit.Transaction.updates
DEBUG: ℹ️ Purchases is configured with StoreKit version 2
DEBUG: ℹ️ Observing StoreKit.PurchaseIntent.intents
DEBUG: ℹ️ applicationWillEnterForeground
DEBUG: ℹ️ CustomerInfo cache is stale, updating from network in foreground.
DEBUG: ℹ️ Offerings cache is stale, updating from network in foreground
DEBUG: ℹ️ GetOfferingsOperation: Started
DEBUG: ℹ️ There are no requests currently running, starting request GET /v1/subscribers/$RCAnonymousID%3A7ab0391cf5e044c9952e321e34413b39/offerings
DEBUG: ℹ️ API request started: GET '/v1/subscribers/$RCAnonymousID%3A7ab0391cf5e044c9952e321e34413b39/offerings'
DEBUG: ℹ️ Network operation 'GetOfferingsOperation' found with the same cache key 'GetOfferingsOpe…'. Skipping request.
DEBUG: ℹ️ Network operation 'GetCustomerInfoOperation' found with the same cache key 'GetCustomerInfo…'. Skipping request.
DEBUG: ℹ️ API request completed: GET '/v1/subscribers/$RCAnonymousID%3A7ab0391cf5e044c9952e321e34413b39/offerings' (200)
DEBUG: ℹ️ No existing products cached, starting store products request for: ["credits_50", "credits_15", "base_premium_monthly", "credits_100"]
DEBUG: ℹ️ Found an existing request for products: ["credits_100", "credits_50", "base_premium_monthly", "credits_15"], appending to completion
DEBUG: ℹ️ GetOfferingsOperation: Finished
DEBUG: ℹ️ Serial request done: GET /v1/subscribers/$RCAnonymousID%3A7ab0391cf5e044c9952e321e34413b39/offerings, 0 requests left in the queue
DEBUG: ℹ️ GetCustomerInfoOperation: Started
DEBUG: ℹ️ There are no requests currently running, starting request GET /v1/subscribers/$RCAnonymousID%3A7ab0391cf5e044c9952e321e34413b39
DEBUG: ℹ️ API request started: GET '/v1/subscribers/$RCAnonymousID%3A7ab0391cf5e044c9952e321e34413b39'
DEBUG: 😻 Store products request received response
DEBUG: ℹ️ Store products request finished
DEBUG: 😻 Offerings updated from network.
DEBUG: ℹ️ API request completed: GET '/v1/subscribers/$RCAnonymousID%3A7ab0391cf5e044c9952e321e34413b39' (304)
DEBUG: ℹ️ Sending latest CustomerInfo to delegate.
DEBUG: 😻 CustomerInfo updated from network.
DEBUG: 😻 Offerings updated from network.
DEBUG: 😻 CustomerInfo updated from network.
DEBUG: ℹ️ GetCustomerInfoOperation: Finished
DEBUG: ℹ️ Serial request done: GET /v1/subscribers/$RCAnonymousID%3A7ab0391cf5e044c9952e321e34413b39, 0 requests left in the queue
DEBUG: ℹ️ PostPaywallEventsOperation: Started
DEBUG: ℹ️ There are no requests currently running, starting request POST /v1/events
DEBUG: ℹ️ API request started: POST '/v1/events'
DEBUG: ℹ️ API request completed: POST '/v1/events' (200)
DEBUG: ℹ️ PostPaywallEventsOperation: Finished
DEBUG: ℹ️ Serial request done: POST /v1/events, 0 requests left in the queue
  1. Steps to reproduce, with a description of expected vs. actual behavior

Make a localization with Turkish language using {{ product.currency_symbol }} variable somewhere in the paywall using v2.

  1. Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)

  2. Additional context Add any other context about the problem here.

Image

rocxteady avatar Feb 21 '25 20:02 rocxteady

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

RCGitBot avatar Feb 21 '25 20:02 RCGitBot

Hi @rocxteady, Is this still happening in the latest SDK version? It should be fixed by now but please let me know if you are still experiencing it.

nyeu avatar Oct 02 '25 10:10 nyeu

Closing due to inactivity, please reopen it if this is still an issue.

Best,

nyeu avatar Oct 17 '25 08:10 nyeu