Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Built-in Shipping and Payment Modules / Transfer of customer tel.no. from Zencart to Paypal payment page

Transfer of customer tel.no. from Zencart to Paypal payment page

Locked
This thread is locked. New replies are disabled.
15 Jul 2009, 8:30 AM
#1
dukeofmodena avatar

dukeofmodena

New Zenner

Join Date:
Apr 2009
Location:
Neath, South Wales
Posts:
53
Plugin Contributions:
0

Post #1 by dukeofmodena

Hi All,
What must I do? (I have v. little experience with IT)
I'm using version 1.3.6 and I have a problem at checkout when the customer's telephone number is transferred from Zencart to the Paypal payment page - it gets shortened and is unrecognized by Paypal.
I've been on to Paypal who say I need to amend things in Zencart. Here's the gist of what they say -

Thank you for letting me know that. I have been able to create a fake order, and I see where the issue is arising. With international (non-US) phone numbers, you need to pass the full phone number in the Night_phone_b variable. Currently, your splitting it up in the night_phone_ a through c variables like you would with a US phone number. Please see night_phone at the bottom of the following page:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_Appx_websitestandard_htmlvariables

Here is what your checkout is currently passing:

<input type="hidden" name="night_phone_a" value="016" /> <input type="hidden" name="night_phone_b" value="397" /> <input type="hidden" name="night_phone_c" value="6193" />

Here is what it should pass:

<input type="hidden" name="night_phone_b" value="0163976193">

In this case, the error is being caused by the data your cart is passing to PayPal. I can not change this from our end. You would need to contact ZenCart support at http://www.zen-cart.com/forum/index.php

I would recommend posting on their forum and see if anyone can help you change from using all three phone variables to putting it all in the 'b' variable for international phone numbers.

Can anyone please tell me what to do here?
Thanks,
Neil

15 Jul 2009, 10:37 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

I believe that was fixed in v1.3.8 ... maybe even in 1.3.7.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

16 Jul 2009, 4:51 PM
#3
dukeofmodena avatar

dukeofmodena

New Zenner

Join Date:
Apr 2009
Location:
Neath, South Wales
Posts:
53
Plugin Contributions:
0

Post #3 by dukeofmodena

So am I stuck with it?
I had the same problems a couple of years ago with the telephone number thing and I'm sure that a guy at Paypal rectified it but this time they say that it's in Zencart and it's down to me.
I'm pretty clueless with IT...is there anyone who can lead me through what to do to correct this? I'm familiar with the admin panel etc but changing files?...:frusty:
Neil