Skip to Content Skip to Menu

CbSubs question

  • liaskas
  • liaskas
  • OFFLINE
  • Posts: 516
  • Thanks: 42
  • Karma: 3
  • Add-ons
3 months 1 week ago #343202 by liaskas
Replied by liaskas on topic CbSubs question
Here is a screenshot... so no confusion on what sends the email.
 

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 50403
  • Thanks: 8624
  • Karma: 1472
3 months 1 week ago - 3 months 1 week ago #343206 by krileon
Replied by krileon on topic CbSubs question
I'm not sure what to suggest. It seams to be working fine in my tests.

Configuration
 

Email (Text)
 

Email (HTML)
 

I didn't pay with PayPal so there is no country, but it isn't outputting the raw substitution string as you're experiencing.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 3 months 1 week ago by krileon.

Please Log in or Create an account to join the conversation.

  • liaskas
  • liaskas
  • OFFLINE
  • Posts: 516
  • Thanks: 42
  • Karma: 3
  • Add-ons
5 days 15 hours ago #343854 by liaskas
Replied by liaskas on topic CbSubs question
I am sorry to bring back an older thread but we have not managed to see it working.
 

<li>PayPal user country: [PAYER_COUNTRY]</li> -> Returns the country in the received mail. This works great!
<li>PayPal user name: [PAYER_NAME]</li> -> Returns "Nothing" in the received mail.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 50403
  • Thanks: 8624
  • Karma: 1472
4 days 19 hours ago #343858 by krileon
Replied by krileon on topic CbSubs question
Those substitutions aren't guaranteed to have a value. That's up to PayPal if they are provided or not. [PAYER_EMAIL] is likely more reliable there since PayPal by design is an email to email transaction platform. [ADDRESS_FIRST_NAME] and [ADDRESS_LAST_NAME] might also have a value, but that might just be the invoice address name they supplied at basket if PayPal didn't send that through.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • liaskas
  • liaskas
  • OFFLINE
  • Posts: 516
  • Thanks: 42
  • Karma: 3
  • Add-ons
4 days 17 hours ago #343862 by liaskas
Replied by liaskas on topic CbSubs question
Thank you for your reply Krileon but...
paypal always sends these values and they are stored for every payment in #__cbsubs_payments table columns first_name, last_name.
The field payer_name is always stored as null in #__cbsubs_payments as you can see at the db table screenshot.
 
So...
is there a case that we are dealing with the wrong mapping of [PAYER_NAME]?

 

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 50403
  • Thanks: 8624
  • Karma: 1472
4 days 17 hours ago #343865 by krileon
Replied by krileon on topic CbSubs question
[PAYER_NAME] is as you see in the database "payer_name". It wasn't passed by PayPal. They passed first name, last name, and payer_email. So all of the following should work fine.

[PAYER_EMAIL]
[ADDRESS_FIRST_NAME]
[ADDRESS_LAST_NAME]


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum