close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

phone number not being added to db

Thread began 10/21/2015 6:10 am by Jamie | Last modified 10/22/2015 12:36 pm by Ray Borduin | 1797 views | 15 replies |

Jamie

phone number not being added to db

hey Ray

Clients paypal account is set to requiring the telephone number, but the number is not being added to the database.

Cheers

Jamie

Sign in to reply to this post

Ray BorduinWebAssist

It should be added if it is properly required in the paypal account. Can I see a copy of your pp_confirm.php page? I can use that to show you how to debug the problem.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jamie

here you go.

if sagepay is selected as a payment method, should that put the address details and phonenetc from the form into the db?

Sign in to reply to this post

Ray BorduinWebAssist

After line 24 write the result from paypal:

die($_SESSION["ECO_Get_Result"]);

Then view source and send me the result in the private area of a response.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jamie

see PM

Sign in to reply to this post

Ray BorduinWebAssist

You have to view source before copy and paste to see the actual XML returned by paypal.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jamie

oops. sorry

Sign in to reply to this post

Ray BorduinWebAssist

It looks like they have moved the contact phone outside of the payerinfo in the xml.

Update line 35 of pp_confirm from:

$PPVals["Phone_Number"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->ContactPhone");

to:

$PPVals["Phone_Number"] = WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ContactPhone");

and see if that fixes the problem.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jamie

ok, tried that and removed the die statement and no joy. added the die statement back in and xml in PM and have attached rhe pp_confirm page

Sign in to reply to this post

Ray BorduinWebAssist

I just tested and it appears that it would work. I tested and the phone number was being stored correctly. Try another test with the debug code I've added and see what you get.

Sign in to reply to this post
Did this help? Tips are appreciated...
loading

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...