Language Translation Not Sent to Paypal

14 years 8 months ago #104229 by carlosleon0615
Language Translation Not Sent to Paypal was created by carlosleon0615
Hi,

I updated my plans to use language translations. For example, this is what I set for a plan under the "Presentation" tab:

Name: PlanA_Title
Alias: PlanA_Alias
Description: PlanA_Description

Then I defined those "place-holder" strings in the language files:
"PlanA_Title" => "Monthly Subscription Plan after free trial"
"PlanA_Alias" => "Monthly Subscription"

They get correctly translated on the front-end. However, I'm having 2 issues:

1. In Paypal, the translation text for the plan title does NOT get passed. Instead, the "place-holder" string is. So, it reads:

PlanA_Title for xxx
instead of:
Monthly Subscription for xxx

I left the default setting in the "Payment basket item text" of the global settings (Settings -> Display -> Baskets):
[ITEMS_ALIASES] for [USERNAME]

I tried replacing [ITEMS_ALIASES] with [ITEM_ALIAS] and with [ITEM_NAME], but apparently those are invalid here.

2. As for the invoice, the [ITEM_ALIAS] does Not work when I use it in the "Payment item text:" under the Pricing tab of my plan:
[ITEM_ALIAS] on [SITENAME]
results in: "on MySiteName" (the [ITEM_ALIAS] was replaced with a blank)

Please help!

Carlos

Please Log in to join the conversation.

14 years 8 months ago #104271 by beat
Good catch, thanks:

Missing translations for payment processor strings in basket item_name.

By fixing, saw that the thank-you texts for the web display after payment pending or completed are also not translated: fixed too.

So all that will be fixed in shortly upcoming CBSubs 1.0.2. :)

#1144

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

14 years 8 months ago #104293 by carlosleon0615
Replied by carlosleon0615 on topic Re:Language Translation Not Sent to Paypal

By fixing, saw that the thank-you texts for the web display after payment pending or completed are also not translated: fixed too.

The Thank You texts are working correctly for me. This is, they are being translated correctly.

As I explained, I'm using custom "place-holder" strings on the most fields of the "Presentation" tab of every plan.

What works
The strings used in the following fields are being correctly tranlated (replaced by what is found in the language files):

- Name
- Description
- Price display of plan
- Thank-you text (payment completed)
- Thank-you text (payment pending) -> I haven't verified this one but I assume it's working since the "Thank you (payment Completed)" one is working


What does NOT work (not translated):
- Email on first activation
a) Thank-you email subject
b) Thank-you email body

- Emails on renewal/expiration/cancellation -> I haven't verified this but I assume they don't work either.

Refer (and answer if you can) to my post:
Re:Emails don't send the language translations

Not sure if works:
Alias (short-name) of plan. As I explained, the [ITEM_ALIAS] does Not work when I use it in the "Payment item text" under the Pricing tab of my plan. Thus, I'm not sure if it's being correctly translated.

Would you mind answering the following:
1. Did you verify that the "Thank You" texts work correctly or were you refering to something else?
2. Could you verify that emails are not working?
3. Could you verifl that [ITEM_ALIAS] doesn't work in the "Payment item text"?
4. I'm supposed to release/make live my website this weekend, will CBSubs 1.0.2 be ready as soon as this weekend? Otherwise, how can I manually fix the above (i.e. emails, the [ITEM_ALIAS], the [ITEM_NAME] being correctly passed to Paypal)?

Thanks,

Carlos

Post edited by: carlosleon0615, at: 2009/07/09 16:22

Please Log in to join the conversation.

14 years 8 months ago #104367 by beat
Thanks for the follow-up. Please keep coming the bug reports. :)

Quick answer to your 4 questions:

1. Translation code wasn't there, couldn't work
2. Didn't yet, but will do today
3. Same as 1.
4. Planing to release either 1.0.2 or a nightly, depending on time for needed reviews today or tomorrow.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

14 years 8 months ago #104427 by carlosleon0615
Replied by carlosleon0615 on topic Re:Language Translation Not Sent to Paypal
Thank you for your quick reply ans support Beat!

1. Translation code wasn't there, couldn't work

This WORKS for me. This is what I have in every plan:
I set the value of "Thank-you text (payment completed):" under the "Presentation" tab to: ThankYou_PaymentCompleted

I added that string to the CBSubs language files (English and Spanish in my case). After a user subscribes, what shows up on the screen is NOT "ThankYou_PaymentCompleted" but instead the translation I defined in the translation files. And it correctly shows in English and Spanish.

How do you explain the above works for me?
Or are you talking about something different?

So you know, my plans are set to have a free trial period, in case that makes a difference.

Regards,

Carlos

Please Log in to join the conversation.

14 years 8 months ago #104443 by carlosleon0615
Replied by carlosleon0615 on topic Re:Language Translation Not Sent to Paypal
The CBSubs Module does NOT get translated either!!
This is, none of the plan titles and some words: "expired", "Renew Now".

See screenshot :(

Do you think you'll be able to include the fix in CBSubs 1.0.2 as well?
I just can't wait any longer to make my site live.

Thanks,

Carlos

Post edited by: carlosleon0615, at: 2009/07/10 20:06
Attachments:

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.195 seconds

Facebook Twitter LinkedIn