Skip to Content Skip to Menu

[SOLVED] PayPal Gateway - the transfer of the customer email does not work properly

10 years 1 month ago - 10 years 1 month ago #249523 by erichburkhard
I have installed Joomla 3.3.4 and CBSubs 3.0.0. I successfully connected the productive PayPal gateway to execute creditcard payments ...and it works 100%. However i have 2 questions:

1. If I 'connect' the productive PayPal service to my shop I have the problem that the customer email address will not be propagated (100%) correctly (in all situations) to the PayPal site (see also the detailed error report in the word attachment). I think it's an error (either in CBSubs or in the PayPal implementation - it was not possible for me to reach the paypal customer support to discuss this)

2. Is it possible to establish the option: 'Pay with a debit or credit card' as a default selection when the customer 'lands' on the PayPal shopping cart page? (because the option 'Pay with my PayPal account' is the default at the moment). See also word attachment

regards

Eric
Last edit: 10 years 1 month ago by krileon.

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

10 years 1 month ago - 10 years 1 month ago #249524 by erichburkhard
I have installed Joomla 3.3.4 and CBSubs 3.0.0. I successfully connected the productive PayPal gateway to execute creditcard payments ...and it works 100%. However i have 2 questions:

1. If I 'connect' the productive PayPal service to my shop I have the problem that the customer email address will not be propagated (100%) correctly (in all situations) to the PayPal site (see also the detailed error report in the word attachment). I think it's an error (either in CBSubs or in the PayPal implementation - it was not possible for me to reach the paypal customer support to discuss this)

2. Is it possible to establish the option: 'Pay with a debit or credit card' as a default selection when the customer 'lands' on the PayPal shopping cart page? (because the option 'Pay with my PayPal account' is the default at the moment). See also word attachment

regards

Eric


File Attachment:

File Name: Paypal-tra...ress.pdf
File Size:331 KB
Attachments:
Last edit: 10 years 1 month ago by erichburkhard. Reason: no attachmet visible

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8283
  • Karma: 1443
10 years 1 month ago #249542 by krileon
You can't send PayPal login credentials. PayPal won't allow it. The email address you're seeing under "Pay with my PayPal account" is just your browser caching the username login credential. The email address you're seeing under "Pay with a debit or credit card" is sent by CBSubs though as we're allowed to send the invoice email address (we also send name, address, etc..) if enabled under "Paypal specific settings" in your PayPal gateway. No, it's not possible at this time to have "Pay with a debit or credit card" pre-selected.


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.

10 years 1 month ago - 10 years 1 month ago #249575 by erichburkhard
Thanks for your answer. But what I do not completely understand is that the behaviour of the PayPal-Sandbox and the PayPal production seems to be not identical under the same test scenario. Compare the 2 following Scenarios A & B. Remark: I use always the same Joomla-instance (once the production Gateway (Scenario A) is enabled and once the sandbox Gateway (Scenario 'B'))

Scenario 'A') Joomla-Webshop with PayPal (production-gateway):
1. log in to Joomla-Webshop with user 'test1'
2. Pay an item
3. in PayPal (production) the email: 'ehb-consulting-gmbh@hotmail.com' is visible in the Option 'Pay with my PayPal account'


Scenario 'B') Joomla-Webshop with PayPal-test (sandbox-gateway):
1. log in to Joomla-Webshop with user 'test1'
2. Pay an item
3. in PayPal (sandbox) the email: 'test1.idp@hotmail.ch' is visible in the Option 'Pay with my PayPal account'

If the caching mechanism is responsible for the email which is visible under 'Pay with my PayPal account' why is the behaviour of Scenario 'A') not the same as the behaviour of Scenario 'B'), because I always log into my shop with the user 'test1'?

many thanks in advance
Last edit: 10 years 1 month ago by erichburkhard.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8283
  • Karma: 1443
10 years 1 month ago #249604 by krileon
Their API specifies an email field, which we populate with the customers email if enabled or don't send it at all if disabled. What PayPal does from there is up to PayPal.

The PayPal sandbox testing environment and PayPal developer environment are completely separate. So logging into the developer area has no affect on username input caching on the testing environment. However, on live PayPal they business account and the user account all login exactly the same so the inputs can and will cache (if your browser is set to do so). This is especially the case if you use a browser extension like LastPass to remember your passwords as it does input name lookup for domains.

You can test that it's caching by making a test purchase from a computer that has never logged into PayPal, a different browser that has yet to login to PayPal, turn off password auto-filling in browser settings, or try using private mode for your browser.

We send the "business" input as specified by their API, which is the email address receiving payment. When then send the "email" input as specified by their API if enabled, which is the customers email address. You can find this information and more about PayPal standard payment API below.

developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#id08A6HI0J0VU

Below is also a simple pre-population example.

www.paypal.com/cgi-bin/webscr?cmd=_pdn_xclick_prepopulate_outside

You can see what email CBSubs is sending to PayPal by right clicking the PayPal button in your basket and clicking Inspect Element. You can then review the form elements carefully and check their values.


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.

10 years 1 month ago #249766 by erichburkhard
OK I understand - THANKS for the comprehensive answer - regards

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

Moderators: beatnantkrileon
Powered by Kunena Forum