close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Paypal Payment not passing phone number

Thread began 6/06/2012 1:33 am by paul307749 | Last modified 6/08/2012 3:54 am by paul307749 | 1172 views | 2 replies |

paul307749

Paypal Payment not passing phone number

Hi,

I'm using eCart 5.0.3 to manage a simple ecommerce website for a client and payments are working as expected, but the delivery telephone number is not being passed to PayPal.

I've taken a look at the code but can't see anything obvious, and digging through PayPal's documentation is a bit of a needle in a haystack situation.

I've attached the checkout and confirm files to see if anyone could shed any light on the problem.

Thanks in advance for any help :0)

Paul C

Attached Files
cart.zip
Sign in to reply to this post

Jason ByrnesWebAssist

paypal standard does not offer a way of accepting the phone number, this is a limitation to the paypal standard system.

you could pass the phone number into another field though such as the Address 2 field.


on the confirm page, find the following code:

php:
<input type="hidden" name="address2" id="address2" value="<?php echo((isset($_POST["shipping_street2"]))?$_POST["shipping_street2"]:""?>" />




and change it to:

php:
<input type="hidden" name="address2" id="address2" value="<?php echo((isset($_POST["shipping_street2"]))?$_POST["shipping_street2"]:""?>-<?php echo((isset($_POST["shipping_phone"]))?$_POST["shipping_phone"]:""?>" />
Sign in to reply to this post

paul307749

Thanks Jason, I'll give that a try and let you know if there are any problems.

Regards

Paul

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...