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
hey Ray
Clients paypal account is set to requiring the telephone number, but the number is not being added to the database.
Cheers
Jamie
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.
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?
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.
You have to view source before copy and paste to see the actual XML returned by paypal.
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.
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
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.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.